diff --git a/json/ManagementService-v3.json b/json/ManagementService-v3.json index 529bd27..0f398d0 100644 --- a/json/ManagementService-v3.json +++ b/json/ManagementService-v3.json @@ -14712,6 +14712,14 @@ "requestBody" : { "content" : { "application/json" : { + "examples" : { + "post-terminals-terminalId-reassign-merchant" : { + "$ref" : "#/components/examples/post-terminals-terminalId-reassign-post-terminals-terminalId-reassign-merchant" + }, + "post-terminals-terminalId-reassign-store" : { + "$ref" : "#/components/examples/post-terminals-terminalId-reassign-post-terminals-terminalId-reassign-store" + } + }, "schema" : { "$ref" : "#/components/schemas/TerminalReassignmentRequest" } @@ -28974,6 +28982,21 @@ "status" : 422, "detail" : "Terminal IDs are empty" } + }, + "post-terminals-terminalId-reassign-post-terminals-terminalId-reassign-merchant" : { + "summary" : "Reassign a terminal to your merchant account", + "description" : "Example request to reassign terminal to your merchant account", + "value" : { + "merchantId" : "YOUR_MERCHANT_ID", + "inventory" : false + } + }, + "post-terminals-terminalId-reassign-post-terminals-terminalId-reassign-store" : { + "summary" : "Reassign a terminal to your store", + "description" : "Example request to reassign terminal to your store", + "value" : { + "storeId" : "YOUR_STORE_ID" + } } } } diff --git a/yaml/ManagementService-v3.yaml b/yaml/ManagementService-v3.yaml index 8d85035..b0d2a08 100644 --- a/yaml/ManagementService-v3.yaml +++ b/yaml/ManagementService-v3.yaml @@ -9616,6 +9616,11 @@ paths: requestBody: content: application/json: + examples: + post-terminals-terminalId-reassign-merchant: + $ref: '#/components/examples/post-terminals-terminalId-reassign-post-terminals-terminalId-reassign-merchant' + post-terminals-terminalId-reassign-store: + $ref: '#/components/examples/post-terminals-terminalId-reassign-post-terminals-terminalId-reassign-store' schema: $ref: '#/components/schemas/TerminalReassignmentRequest' parameters: @@ -21410,3 +21415,14 @@ components: title: Terminal ID verification failed. status: 422 detail: Terminal IDs are empty + post-terminals-terminalId-reassign-post-terminals-terminalId-reassign-merchant: + summary: Reassign a terminal to your merchant account + description: Example request to reassign terminal to your merchant account + value: + merchantId: YOUR_MERCHANT_ID + inventory: false + post-terminals-terminalId-reassign-post-terminals-terminalId-reassign-store: + summary: Reassign a terminal to your store + description: Example request to reassign terminal to your store + value: + storeId: YOUR_STORE_ID