From d0392a7bd8e57d81574f5193032dbe547ec445a3 Mon Sep 17 00:00:00 2001 From: Abby Menting Date: Mon, 23 Aug 2021 17:17:32 -0700 Subject: [PATCH] Update rate header description and sandbox extension --- .../fulfillmentOutbound_2020-07-01.json | 892 +++++++++--------- 1 file changed, 470 insertions(+), 422 deletions(-) diff --git a/models/fulfillment-outbound-api-model/fulfillmentOutbound_2020-07-01.json b/models/fulfillment-outbound-api-model/fulfillmentOutbound_2020-07-01.json index 33eb0df..bf2d6e4 100644 --- a/models/fulfillment-outbound-api-model/fulfillmentOutbound_2020-07-01.json +++ b/models/fulfillment-outbound-api-model/fulfillmentOutbound_2020-07-01.json @@ -112,17 +112,18 @@ "description": "Unique request reference identifier." } }, - "x-amazon-spds-sandbox-behaviors": [ - { - "request": { - "parameters": { - "body": { - "value": { - "marketplaceId": "ATVPDKIKX0DER", - "address": { - "name": "Amazon", - "addressLine1": "1234 Amazon Way", - "city": "Troy", + "x-amzn-api-sandbox": { + "static": [ + { + "request": { + "parameters": { + "body": { + "value": { + "marketplaceId": "ATVPDKIKX0DER", + "address": { + "name": "Amazon", + "addressLine1": "1234 Amazon Way", + "city": "Troy", "stateOrRegion": "MI", "countryCode": "US", "postalCode": "48084" @@ -206,8 +207,9 @@ ] } } - } - ] + } + ] + } }, "400": { "description": "Request has missing or invalid parameters and cannot be parsed.", @@ -224,17 +226,18 @@ "description": "Unique request reference identifier." } }, - "x-amazon-spds-sandbox-behaviors": [ - { - "request": { - "parameters": { - "body": { - "value": { - "marketplaceId": "ATVPDKIKX0DER", - "address": { - "name": "Amazon", - "addressLine1": "1234 Amazon Way", - "city": "Troy", + "x-amzn-api-sandbox": { + "static": [ + { + "request": { + "parameters": { + "body": { + "value": { + "marketplaceId": "ATVPDKIKX0DER", + "address": { + "name": "Amazon", + "addressLine1": "1234 Amazon Way", + "city": "Troy", "stateOrRegion": "MI", "postalCode": "48084" }, @@ -252,17 +255,18 @@ } } }, - "response": { - "errors": [ - { - "code": "InvalidInput", - "message": "The request must contain the parameter Address.CountryCode.", - "details": "" - } - ] + "response": { + "errors": [ + { + "code": "InvalidInput", + "message": "The request must contain the parameter Address.CountryCode.", + "details": "" + } + ] + } } - } - ] + ] + } }, "401": { "description": "The request's Authorization header is not formatted correctly or does not contain a valid token.", @@ -272,7 +276,7 @@ "headers": { "x-amzn-RateLimit-Limit": { "type": "string", - "description": "Your rate limit (requests per second) for this operation." + "description": "Your rate limit (requests per second) for this operation.\n_Note:_ For this status code, the rate limit header is deprecated and no longer returned." }, "x-amzn-RequestId": { "type": "string", @@ -316,7 +320,7 @@ "headers": { "x-amzn-RateLimit-Limit": { "type": "string", - "description": "Your rate limit (requests per second) for this operation." + "description": "Your rate limit (requests per second) for this operation.\n_Note:_ For this status code, the rate limit header is deprecated and no longer returned." }, "x-amzn-RequestId": { "type": "string", @@ -332,7 +336,7 @@ "headers": { "x-amzn-RateLimit-Limit": { "type": "string", - "description": "Your rate limit (requests per second) for this operation." + "description": "Your rate limit (requests per second) for this operation.\n_Note:_ For this status code, the rate limit header is deprecated and no longer returned." }, "x-amzn-RequestId": { "type": "string", @@ -348,7 +352,7 @@ "headers": { "x-amzn-RateLimit-Limit": { "type": "string", - "description": "Your rate limit (requests per second) for this operation." + "description": "Your rate limit (requests per second) for this operation.\n_Note:_ For this status code, the rate limit header is deprecated and no longer returned." }, "x-amzn-RequestId": { "type": "string", @@ -458,17 +462,18 @@ "description": "Unique request reference identifier." } }, - "x-amazon-spds-sandbox-behaviors": [ - { - "request": { - "parameters": { - "queryStartDate": { - "value": "2020-01-01T19:46:45Z" + "x-amzn-api-sandbox": { + "static": [ + { + "request": { + "parameters": { + "queryStartDate": { + "value": "2020-01-01T19:46:45Z" + } } - } - }, - "response": { - "payload": { + }, + "response": { + "payload": { "fulfillmentOrders": [ { "sellerFulfillmentOrderId": "902-6018020-0202003", @@ -839,10 +844,11 @@ "statusUpdatedDate": "2020-02-06T20:15:11Z" } ] + } } } - } - ] + ] + } }, "400": { "description": "Request has missing or invalid parameters and cannot be parsed.", @@ -859,26 +865,28 @@ "description": "Unique request reference identifier." } }, - "x-amazon-spds-sandbox-behaviors": [ - { - "request": { - "parameters": { - "queryStartDate": { - "value": "fdfdsfds" + "x-amzn-api-sandbox": { + "static": [ + { + "request": { + "parameters": { + "queryStartDate": { + "value": "fdfdsfds" + } } + }, + "response": { + "errors": [ + { + "code": "InvalidInput", + "message": "timestamp must follow ISO8601", + "details": "" + } + ] } - }, - "response": { - "errors": [ - { - "code": "InvalidInput", - "message": "timestamp must follow ISO8601", - "details": "" - } - ] } - } - ] + ] + } }, "401": { "description": "The request's Authorization header is not formatted correctly or does not contain a valid token.", @@ -888,7 +896,7 @@ "headers": { "x-amzn-RateLimit-Limit": { "type": "string", - "description": "Your rate limit (requests per second) for this operation." + "description": "Your rate limit (requests per second) for this operation.\n_Note:_ For this status code, the rate limit header is deprecated and no longer returned." }, "x-amzn-RequestId": { "type": "string", @@ -932,7 +940,7 @@ "headers": { "x-amzn-RateLimit-Limit": { "type": "string", - "description": "Your rate limit (requests per second) for this operation." + "description": "Your rate limit (requests per second) for this operation.\n_Note:_ For this status code, the rate limit header is deprecated and no longer returned." }, "x-amzn-RequestId": { "type": "string", @@ -948,7 +956,7 @@ "headers": { "x-amzn-RateLimit-Limit": { "type": "string", - "description": "Your rate limit (requests per second) for this operation." + "description": "Your rate limit (requests per second) for this operation.\n_Note:_ For this status code, the rate limit header is deprecated and no longer returned." }, "x-amzn-RequestId": { "type": "string", @@ -964,7 +972,7 @@ "headers": { "x-amzn-RateLimit-Limit": { "type": "string", - "description": "Your rate limit (requests per second) for this operation." + "description": "Your rate limit (requests per second) for this operation.\n_Note:_ For this status code, the rate limit header is deprecated and no longer returned." }, "x-amzn-RequestId": { "type": "string", @@ -1006,17 +1014,18 @@ "description": "Unique request reference identifier." } }, - "x-amazon-spds-sandbox-behaviors": [ - { - "request": { - "parameters": { - "body": { - "value": { - "marketplaceId": "ATVPDKIKX0DER", - "sellerFulfillmentOrderId": "FBATestOrder-11", - "displayableOrderId": "TestOrder-FBAOutbound", - "displayableOrderDate": "2020-01-09T19:46:45.809Z", - "displayableOrderComment": "TestOrder", + "x-amzn-api-sandbox": { + "static": [ + { + "request": { + "parameters": { + "body": { + "value": { + "marketplaceId": "ATVPDKIKX0DER", + "sellerFulfillmentOrderId": "FBATestOrder-11", + "displayableOrderId": "TestOrder-FBAOutbound", + "displayableOrderDate": "2020-01-09T19:46:45.809Z", + "displayableOrderComment": "TestOrder", "shippingSpeedCategory": "Standard", "destinationAddress": { "name": "Amazon", @@ -1064,13 +1073,14 @@ "quantity": 1 } ] + } } } - } - }, - "response": {} - } - ] + }, + "response": {} + } + ] + } }, "400": { "description": "Request has missing or invalid parameters and cannot be parsed.", @@ -1087,17 +1097,18 @@ "description": "Unique request reference identifier." } }, - "x-amazon-spds-sandbox-behaviors": [ - { - "request": { - "parameters": { - "body": { - "value": { - "marketplaceId": "ATVPDKIKX0DER", - "sellerFulfillmentOrderId": "FBATestOrder-1", - "displayableOrderId": "TestOrder-FBAOutbound", - "displayableOrderDate": "2020-01-09T19:46:45.809Z", - "displayableOrderComment": "TestOrder", + "x-amzn-api-sandbox": { + "static": [ + { + "request": { + "parameters": { + "body": { + "value": { + "marketplaceId": "ATVPDKIKX0DER", + "sellerFulfillmentOrderId": "FBATestOrder-1", + "displayableOrderId": "TestOrder-FBAOutbound", + "displayableOrderDate": "2020-01-09T19:46:45.809Z", + "displayableOrderComment": "TestOrder", "shippingSpeedCategory": "Standard", "destinationAddress": { "name": "Amazon", @@ -1227,7 +1238,8 @@ ] } } - ] + ] + } }, "401": { "description": "The request's Authorization header is not formatted correctly or does not contain a valid token.", @@ -1237,7 +1249,7 @@ "headers": { "x-amzn-RateLimit-Limit": { "type": "string", - "description": "Your rate limit (requests per second) for this operation." + "description": "Your rate limit (requests per second) for this operation.\n_Note:_ For this status code, the rate limit header is deprecated and no longer returned." }, "x-amzn-RequestId": { "type": "string", @@ -1281,7 +1293,7 @@ "headers": { "x-amzn-RateLimit-Limit": { "type": "string", - "description": "Your rate limit (requests per second) for this operation." + "description": "Your rate limit (requests per second) for this operation.\n_Note:_ For this status code, the rate limit header is deprecated and no longer returned." }, "x-amzn-RequestId": { "type": "string", @@ -1297,7 +1309,7 @@ "headers": { "x-amzn-RateLimit-Limit": { "type": "string", - "description": "Your rate limit (requests per second) for this operation." + "description": "Your rate limit (requests per second) for this operation.\n_Note:_ For this status code, the rate limit header is deprecated and no longer returned." }, "x-amzn-RequestId": { "type": "string", @@ -1313,7 +1325,7 @@ "headers": { "x-amzn-RateLimit-Limit": { "type": "string", - "description": "Your rate limit (requests per second) for this operation." + "description": "Your rate limit (requests per second) for this operation.\n_Note:_ For this status code, the rate limit header is deprecated and no longer returned." }, "x-amzn-RequestId": { "type": "string", @@ -1400,17 +1412,18 @@ "description": "Unique request reference identifier." } }, - "x-amazon-spds-sandbox-behaviors": [ - { - "request": { - "parameters": { - "packageNumber": { - "value": 212794778 + "x-amzn-api-sandbox": { + "static": [ + { + "request": { + "parameters": { + "packageNumber": { + "value": 212794778 + } } - } - }, - "response": { - "payload": { + }, + "response": { + "payload": { "packageNumber": 212794778, "trackingNumber": "1Z50V7420354708051", "customerTrackingLink": "https%3A%2F%2Fwww.swiship.com%2Ftrack%3Fid%3D1Z50V7420354708051%0A", @@ -1441,10 +1454,11 @@ "eventDescription": "In transit to pickup location" } ] + } } } - } - ] + ] + } }, "400": { "description": "Request has missing or invalid parameters and cannot be parsed.", @@ -1461,26 +1475,28 @@ "description": "Unique request reference identifier." } }, - "x-amazon-spds-sandbox-behaviors": [ - { - "request": { - "parameters": { - "packageNumber": { - "value": 12222 + "x-amzn-api-sandbox": { + "static": [ + { + "request": { + "parameters": { + "packageNumber": { + "value": 12222 + } } + }, + "response": { + "errors": [ + { + "code": "InvalidInput", + "message": "null", + "details": "" + } + ] } - }, - "response": { - "errors": [ - { - "code": "InvalidInput", - "message": "null", - "details": "" - } - ] } - } - ] + ] + } }, "401": { "description": "The request's Authorization header is not formatted correctly or does not contain a valid token.", @@ -1490,7 +1506,7 @@ "headers": { "x-amzn-RateLimit-Limit": { "type": "string", - "description": "Your rate limit (requests per second) for this operation." + "description": "Your rate limit (requests per second) for this operation.\n_Note:_ For this status code, the rate limit header is deprecated and no longer returned." }, "x-amzn-RequestId": { "type": "string", @@ -1534,7 +1550,7 @@ "headers": { "x-amzn-RateLimit-Limit": { "type": "string", - "description": "Your rate limit (requests per second) for this operation." + "description": "Your rate limit (requests per second) for this operation.\n_Note:_ For this status code, the rate limit header is deprecated and no longer returned." }, "x-amzn-RequestId": { "type": "string", @@ -1550,7 +1566,7 @@ "headers": { "x-amzn-RateLimit-Limit": { "type": "string", - "description": "Your rate limit (requests per second) for this operation." + "description": "Your rate limit (requests per second) for this operation.\n_Note:_ For this status code, the rate limit header is deprecated and no longer returned." }, "x-amzn-RequestId": { "type": "string", @@ -1566,7 +1582,7 @@ "headers": { "x-amzn-RateLimit-Limit": { "type": "string", - "description": "Your rate limit (requests per second) for this operation." + "description": "Your rate limit (requests per second) for this operation.\n_Note:_ For this status code, the rate limit header is deprecated and no longer returned." }, "x-amzn-RequestId": { "type": "string", @@ -1684,17 +1700,18 @@ "description": "Unique request reference identifier." } }, - "x-amazon-spds-sandbox-behaviors": [ - { - "request": { - "parameters": { - "sellerSku": { - "value": "PSMM-TEST-SKU-Jan-21_19_39_23-0788" - }, - "marketplaceId": { - "value": "ATVPDKIKX0DER" + "x-amzn-api-sandbox": { + "static": [ + { + "request": { + "parameters": { + "sellerSku": { + "value": "PSMM-TEST-SKU-Jan-21_19_39_23-0788" + }, + "marketplaceId": { + "value": "ATVPDKIKX0DER" + } } - } }, "response": { "payload": { @@ -1750,8 +1767,9 @@ ] } } - } - ] + } + ] + } }, "400": { "description": "Request has missing or invalid parameters and cannot be parsed.", @@ -1768,26 +1786,28 @@ "description": "Unique request reference identifier." } }, - "x-amazon-spds-sandbox-behaviors": [ - { - "request": { - "parameters": { - "marketplaceId": { - "value": "ATVPDKIKX0DER" + "x-amzn-api-sandbox": { + "static": [ + { + "request": { + "parameters": { + "marketplaceId": { + "value": "ATVPDKIKX0DER" + } } + }, + "response": { + "errors": [ + { + "code": "InvalidInput", + "message": "The request must contain the parameter sellerSku.", + "details": "" + } + ] } - }, - "response": { - "errors": [ - { - "code": "InvalidInput", - "message": "The request must contain the parameter sellerSku.", - "details": "" - } - ] } - } - ] + ] + } }, "401": { "description": "The request's Authorization header is not formatted correctly or does not contain a valid token.", @@ -1797,7 +1817,7 @@ "headers": { "x-amzn-RateLimit-Limit": { "type": "string", - "description": "Your rate limit (requests per second) for this operation." + "description": "Your rate limit (requests per second) for this operation.\n_Note:_ For this status code, the rate limit header is deprecated and no longer returned." }, "x-amzn-RequestId": { "type": "string", @@ -1841,7 +1861,7 @@ "headers": { "x-amzn-RateLimit-Limit": { "type": "string", - "description": "Your rate limit (requests per second) for this operation." + "description": "Your rate limit (requests per second) for this operation.\n_Note:_ For this status code, the rate limit header is deprecated and no longer returned." }, "x-amzn-RequestId": { "type": "string", @@ -1857,7 +1877,7 @@ "headers": { "x-amzn-RateLimit-Limit": { "type": "string", - "description": "Your rate limit (requests per second) for this operation." + "description": "Your rate limit (requests per second) for this operation.\n_Note:_ For this status code, the rate limit header is deprecated and no longer returned." }, "x-amzn-RequestId": { "type": "string", @@ -1873,7 +1893,7 @@ "headers": { "x-amzn-RateLimit-Limit": { "type": "string", - "description": "Your rate limit (requests per second) for this operation." + "description": "Your rate limit (requests per second) for this operation.\n_Note:_ For this status code, the rate limit header is deprecated and no longer returned." }, "x-amzn-RequestId": { "type": "string", @@ -1958,17 +1978,18 @@ "description": "Unique request reference identifier." } }, - "x-amazon-spds-sandbox-behaviors": [ - { - "request": { - "parameters": { - "sellerFulfillmentOrderId": { - "value": "TestOrder-6" - }, - "body": { - "value": { - "items": [ - { + "x-amzn-api-sandbox": { + "static": [ + { + "request": { + "parameters": { + "sellerFulfillmentOrderId": { + "value": "TestOrder-6" + }, + "body": { + "value": { + "items": [ + { "sellerReturnItemId": "testReturn11", "sellerFulfillmentOrderItemId": "OrderItemID2", "amazonShipmentId": "D4yZjWZVN", @@ -2013,8 +2034,9 @@ ] } } - } - ] + } + ] + } }, "400": { "description": "Request has missing or invalid parameters and cannot be parsed.", @@ -2031,17 +2053,18 @@ "description": "Unique request reference identifier." } }, - "x-amazon-spds-sandbox-behaviors": [ - { - "request": { - "parameters": { - "sellerFulfillmentOrderId": { - "value": "FBATestOrder-11" - }, - "body": { - "value": { - "items": [ - { + "x-amzn-api-sandbox": { + "static": [ + { + "request": { + "parameters": { + "sellerFulfillmentOrderId": { + "value": "FBATestOrder-11" + }, + "body": { + "value": { + "items": [ + { "sellerReturnItemId": "testReturn11", "sellerFulfillmentOrderItemId": "OrderItemID2", "amazonShipmentId": "Dr0dZBZWN", @@ -2053,17 +2076,18 @@ } } }, - "response": { - "errors": [ - { - "code": "InvalidInput", - "message": "No inventory available for Items.SellerFulfillmentOrderItemId: FBATestOrder-11.", - "details": "" - } - ] + "response": { + "errors": [ + { + "code": "InvalidInput", + "message": "No inventory available for Items.SellerFulfillmentOrderItemId: FBATestOrder-11.", + "details": "" + } + ] + } } - } - ] + ] + } }, "401": { "description": "The request's Authorization header is not formatted correctly or does not contain a valid token.", @@ -2073,7 +2097,7 @@ "headers": { "x-amzn-RateLimit-Limit": { "type": "string", - "description": "Your rate limit (requests per second) for this operation." + "description": "Your rate limit (requests per second) for this operation.\n_Note:_ For this status code, the rate limit header is deprecated and no longer returned." }, "x-amzn-RequestId": { "type": "string", @@ -2089,7 +2113,7 @@ "headers": { "x-amzn-RateLimit-Limit": { "type": "string", - "description": "Your rate limit (requests per second) for this operation." + "description": "Your rate limit (requests per second) for this operation.\n_Note:_ For this status code, the rate limit header is deprecated and no longer returned." }, "x-amzn-RequestId": { "type": "string", @@ -2121,7 +2145,7 @@ "headers": { "x-amzn-RateLimit-Limit": { "type": "string", - "description": "Your rate limit (requests per second) for this operation." + "description": "Your rate limit (requests per second) for this operation.\n_Note:_ For this status code, the rate limit header is deprecated and no longer returned." }, "x-amzn-RequestId": { "type": "string", @@ -2137,7 +2161,7 @@ "headers": { "x-amzn-RateLimit-Limit": { "type": "string", - "description": "Your rate limit (requests per second) for this operation." + "description": "Your rate limit (requests per second) for this operation.\n_Note:_ For this status code, the rate limit header is deprecated and no longer returned." }, "x-amzn-RequestId": { "type": "string", @@ -2153,7 +2177,7 @@ "headers": { "x-amzn-RateLimit-Limit": { "type": "string", - "description": "Your rate limit (requests per second) for this operation." + "description": "Your rate limit (requests per second) for this operation.\n_Note:_ For this status code, the rate limit header is deprecated and no longer returned." }, "x-amzn-RequestId": { "type": "string", @@ -2287,17 +2311,18 @@ "description": "Unique request reference identifier." } }, - "x-amazon-spds-sandbox-behaviors": [ - { - "request": { - "parameters": { - "sellerFulfillmentOrderId": { - "value": "FBATestOrder-1" + "x-amzn-api-sandbox": { + "static": [ + { + "request": { + "parameters": { + "sellerFulfillmentOrderId": { + "value": "FBATestOrder-1" + } } - } - }, - "response": { - "payload": { + }, + "response": { + "payload": { "fulfillmentOrder": { "sellerFulfillmentOrderId": "FBATestOrder-1", "marketplaceId": "ATVPDKIKX0DER", @@ -2381,12 +2406,13 @@ ] } ], - "returnItems": [], - "returnAuthorizations": [] + "returnItems": [], + "returnAuthorizations": [] + } } } - } - ] + ] + } }, "400": { "description": "Request has missing or invalid parameters and cannot be parsed.", @@ -2403,26 +2429,28 @@ "description": "Unique request reference identifier." } }, - "x-amazon-spds-sandbox-behaviors": [ - { - "request": { - "parameters": { - "sellerFulfillmentOrderId": { - "value": "FBATestOrder-10" + "x-amzn-api-sandbox": { + "static": [ + { + "request": { + "parameters": { + "sellerFulfillmentOrderId": { + "value": "FBATestOrder-10" + } } + }, + "response": { + "errors": [ + { + "code": "InvalidInput", + "message": "Requested order 'FBATestOrder-10' not found", + "details": "" + } + ] } - }, - "response": { - "errors": [ - { - "code": "InvalidInput", - "message": "Requested order 'FBATestOrder-10' not found", - "details": "" - } - ] } - } - ] + ] + } }, "401": { "description": "The request's Authorization header is not formatted correctly or does not contain a valid token.", @@ -2432,7 +2460,7 @@ "headers": { "x-amzn-RateLimit-Limit": { "type": "string", - "description": "Your rate limit (requests per second) for this operation." + "description": "Your rate limit (requests per second) for this operation.\n_Note:_ For this status code, the rate limit header is deprecated and no longer returned." }, "x-amzn-RequestId": { "type": "string", @@ -2476,7 +2504,7 @@ "headers": { "x-amzn-RateLimit-Limit": { "type": "string", - "description": "Your rate limit (requests per second) for this operation." + "description": "Your rate limit (requests per second) for this operation.\n_Note:_ For this status code, the rate limit header is deprecated and no longer returned." }, "x-amzn-RequestId": { "type": "string", @@ -2492,7 +2520,7 @@ "headers": { "x-amzn-RateLimit-Limit": { "type": "string", - "description": "Your rate limit (requests per second) for this operation." + "description": "Your rate limit (requests per second) for this operation.\n_Note:_ For this status code, the rate limit header is deprecated and no longer returned." }, "x-amzn-RequestId": { "type": "string", @@ -2508,7 +2536,7 @@ "headers": { "x-amzn-RateLimit-Limit": { "type": "string", - "description": "Your rate limit (requests per second) for this operation." + "description": "Your rate limit (requests per second) for this operation.\n_Note:_ For this status code, the rate limit header is deprecated and no longer returned." }, "x-amzn-RequestId": { "type": "string", @@ -2558,17 +2586,18 @@ "description": "Unique request reference identifier." } }, - "x-amazon-spds-sandbox-behaviors": [ - { - "request": { - "parameters": { - "sellerFulfillmentOrderId": { - "value": "FBATestOrder-1" - }, - "body": { - "value": { - "marketplaceId": "ATVPDKIKX0DER", - "destinationAddress": { + "x-amzn-api-sandbox": { + "static": [ + { + "request": { + "parameters": { + "sellerFulfillmentOrderId": { + "value": "FBATestOrder-1" + }, + "body": { + "value": { + "marketplaceId": "ATVPDKIKX0DER", + "destinationAddress": { "name": "NameChangeTest", "addressLine1": "1234 Amazon Way", "addressLine2": "Suite 123", @@ -2584,13 +2613,14 @@ "quantity": 2 } ] + } } } - } - }, - "response": {} - } - ] + }, + "response": {} + } + ] + } }, "400": { "description": "Request has missing or invalid parameters and cannot be parsed.", @@ -2607,17 +2637,18 @@ "description": "Unique request reference identifier." } }, - "x-amazon-spds-sandbox-behaviors": [ - { - "request": { - "parameters": { - "sellerFulfillmentOrderId": { - "value": "FBATestOrder-3" - }, - "body": { - "value": { - "marketplaceId": "ATVPDKIKX0DER", - "destinationAddress": { + "x-amzn-api-sandbox": { + "static": [ + { + "request": { + "parameters": { + "sellerFulfillmentOrderId": { + "value": "FBATestOrder-3" + }, + "body": { + "value": { + "marketplaceId": "ATVPDKIKX0DER", + "destinationAddress": { "name": "NameChangeTest", "addressLine1": "1234 Amazon Way", "addressLine2": "Suite 123", @@ -2637,17 +2668,18 @@ } } }, - "response": { - "errors": [ - { - "code": "InvalidInput", - "message": "Value OrderNotUpdatable for parameter is invalid. Reason: 1 error:\nThis order is not updatable. Items in the order are already in working or completed shipments. \n.", - "details": "" - } - ] + "response": { + "errors": [ + { + "code": "InvalidInput", + "message": "Value OrderNotUpdatable for parameter is invalid. Reason: 1 error:\nThis order is not updatable. Items in the order are already in working or completed shipments. \n.", + "details": "" + } + ] + } } - } - ] + ] + } }, "401": { "description": "The request's Authorization header is not formatted correctly or does not contain a valid token.", @@ -2657,7 +2689,7 @@ "headers": { "x-amzn-RateLimit-Limit": { "type": "string", - "description": "Your rate limit (requests per second) for this operation." + "description": "Your rate limit (requests per second) for this operation.\n_Note:_ For this status code, the rate limit header is deprecated and no longer returned." }, "x-amzn-RequestId": { "type": "string", @@ -2701,7 +2733,7 @@ "headers": { "x-amzn-RateLimit-Limit": { "type": "string", - "description": "Your rate limit (requests per second) for this operation." + "description": "Your rate limit (requests per second) for this operation.\n_Note:_ For this status code, the rate limit header is deprecated and no longer returned." }, "x-amzn-RequestId": { "type": "string", @@ -2717,7 +2749,7 @@ "headers": { "x-amzn-RateLimit-Limit": { "type": "string", - "description": "Your rate limit (requests per second) for this operation." + "description": "Your rate limit (requests per second) for this operation.\n_Note:_ For this status code, the rate limit header is deprecated and no longer returned." }, "x-amzn-RequestId": { "type": "string", @@ -2733,7 +2765,7 @@ "headers": { "x-amzn-RateLimit-Limit": { "type": "string", - "description": "Your rate limit (requests per second) for this operation." + "description": "Your rate limit (requests per second) for this operation.\n_Note:_ For this status code, the rate limit header is deprecated and no longer returned." }, "x-amzn-RequestId": { "type": "string", @@ -2777,18 +2809,20 @@ "description": "Unique request reference identifier." } }, - "x-amazon-spds-sandbox-behaviors": [ - { - "request": { - "parameters": { - "sellerFulfillmentOrderId": { - "value": "TestOrder-7" + "x-amzn-api-sandbox": { + "static": [ + { + "request": { + "parameters": { + "sellerFulfillmentOrderId": { + "value": "TestOrder-7" + } } - } - }, - "response": {} - } - ] + }, + "response": {} + } + ] + } }, "400": { "description": "Request has missing or invalid parameters and cannot be parsed.", @@ -2805,26 +2839,28 @@ "description": "Unique request reference identifier." } }, - "x-amazon-spds-sandbox-behaviors": [ - { - "request": { - "parameters": { - "sellerFulfillmentOrderId": { - "value": "FBATestOrder-11" + "x-amzn-api-sandbox": { + "static": [ + { + "request": { + "parameters": { + "sellerFulfillmentOrderId": { + "value": "FBATestOrder-11" + } } + }, + "response": { + "errors": [ + { + "code": "InvalidInput", + "message": "Value FBATestOrder-11 for parameter SellerFulfillmentOrderId is invalid. Reason: DuplicateCancelRequest.", + "details": "" + } + ] } - }, - "response": { - "errors": [ - { - "code": "InvalidInput", - "message": "Value FBATestOrder-11 for parameter SellerFulfillmentOrderId is invalid. Reason: DuplicateCancelRequest.", - "details": "" - } - ] } - } - ] + ] + } }, "401": { "description": "The request's Authorization header is not formatted correctly or does not contain a valid token.", @@ -2834,7 +2870,7 @@ "headers": { "x-amzn-RateLimit-Limit": { "type": "string", - "description": "Your rate limit (requests per second) for this operation." + "description": "Your rate limit (requests per second) for this operation.\n_Note:_ For this status code, the rate limit header is deprecated and no longer returned." }, "x-amzn-RequestId": { "type": "string", @@ -2878,7 +2914,7 @@ "headers": { "x-amzn-RateLimit-Limit": { "type": "string", - "description": "Your rate limit (requests per second) for this operation." + "description": "Your rate limit (requests per second) for this operation.\n_Note:_ For this status code, the rate limit header is deprecated and no longer returned." }, "x-amzn-RequestId": { "type": "string", @@ -2894,7 +2930,7 @@ "headers": { "x-amzn-RateLimit-Limit": { "type": "string", - "description": "Your rate limit (requests per second) for this operation." + "description": "Your rate limit (requests per second) for this operation.\n_Note:_ For this status code, the rate limit header is deprecated and no longer returned." }, "x-amzn-RequestId": { "type": "string", @@ -2910,7 +2946,7 @@ "headers": { "x-amzn-RateLimit-Limit": { "type": "string", - "description": "Your rate limit (requests per second) for this operation." + "description": "Your rate limit (requests per second) for this operation.\n_Note:_ For this status code, the rate limit header is deprecated and no longer returned." }, "x-amzn-RequestId": { "type": "string", @@ -2970,29 +3006,31 @@ "description": "Unique request reference identifier." } }, - "x-amazon-spds-sandbox-behaviors": [ - { - "request": { - "parameters": {} - }, - "response": { - "payload": { - "features": [ - { - "featureName": "BLANK_BOX", - "featureDescription": "Provides the ability to ship in non-Amazon branded packaging (blank boxes).", + "x-amzn-api-sandbox": { + "static": [ + { + "request": { + "parameters": {} + }, + "response": { + "payload": { + "features": [ + { + "featureName": "BLANK_BOX", + "featureDescription": "Provides the ability to ship in non-Amazon branded packaging (blank boxes).", "sellerEligible": true - }, - { - "featureName": "PSLIP", - "featureDescription": "Provides the ability to insert customized packing slips with messages.", - "sellerEligible": true - } - ] + }, + { + "featureName": "PSLIP", + "featureDescription": "Provides the ability to insert customized packing slips with messages.", + "sellerEligible": true + } + ] + } } } - } - ] + ] + } }, "400": { "description": "Request has missing or invalid parameters and cannot be parsed.", @@ -3009,26 +3047,28 @@ "description": "Unique request reference identifier." } }, - "x-amazon-spds-sandbox-behaviors": [ - { - "request": { - "parameters": { - "marketplaceId": { - "value": "INVALID_MARKETPLACE" + "x-amzn-api-sandbox": { + "static": [ + { + "request": { + "parameters": { + "marketplaceId": { + "value": "INVALID_MARKETPLACE" + } } + }, + "response": { + "errors": [ + { + "code": "InvalidInput", + "message": "The request must contain a valid marketplace.", + "details": "" + } + ] } - }, - "response": { - "errors": [ - { - "code": "InvalidInput", - "message": "The request must contain a valid marketplace.", - "details": "" - } - ] } - } - ] + ] + } }, "401": { "description": "The request's Authorization header is not formatted correctly or does not contain a valid token.", @@ -3038,7 +3078,7 @@ "headers": { "x-amzn-RateLimit-Limit": { "type": "string", - "description": "Your rate limit (requests per second) for this operation." + "description": "Your rate limit (requests per second) for this operation.\n_Note:_ For this status code, the rate limit header is deprecated and no longer returned." }, "x-amzn-RequestId": { "type": "string", @@ -3082,7 +3122,7 @@ "headers": { "x-amzn-RateLimit-Limit": { "type": "string", - "description": "Your rate limit (requests per second) for this operation." + "description": "Your rate limit (requests per second) for this operation.\n_Note:_ For this status code, the rate limit header is deprecated and no longer returned." }, "x-amzn-RequestId": { "type": "string", @@ -3098,7 +3138,7 @@ "headers": { "x-amzn-RateLimit-Limit": { "type": "string", - "description": "Your rate limit (requests per second) for this operation." + "description": "Your rate limit (requests per second) for this operation.\n_Note:_ For this status code, the rate limit header is deprecated and no longer returned." }, "x-amzn-RequestId": { "type": "string", @@ -3114,7 +3154,7 @@ "headers": { "x-amzn-RateLimit-Limit": { "type": "string", - "description": "Your rate limit (requests per second) for this operation." + "description": "Your rate limit (requests per second) for this operation.\n_Note:_ For this status code, the rate limit header is deprecated and no longer returned." }, "x-amzn-RequestId": { "type": "string", @@ -3202,17 +3242,18 @@ "description": "Unique request reference identifier." } }, - "x-amazon-spds-sandbox-behaviors": [ - { - "request": { - "parameters": { - "featureName": { - "value": "TEST_FEATURE" + "x-amzn-api-sandbox": { + "static": [ + { + "request": { + "parameters": { + "featureName": { + "value": "TEST_FEATURE" + } } - } - }, - "response": { - "payload": { + }, + "response": { + "payload": { "featureName": "TEST_FEATURE", "nextToken": null, "featureSkus": [ @@ -3239,10 +3280,11 @@ ] } ] + } } } - } - ] + ] + } }, "400": { "description": "Request has missing or invalid parameters and cannot be parsed.", @@ -3259,26 +3301,28 @@ "description": "Unique request reference identifier." } }, - "x-amazon-spds-sandbox-behaviors": [ - { - "request": { - "parameters": { - "featureName": { - "value": "INVALID_FEATURE" + "x-amzn-api-sandbox": { + "static": [ + { + "request": { + "parameters": { + "featureName": { + "value": "INVALID_FEATURE" + } } + }, + "response": { + "errors": [ + { + "code": "InvalidInput", + "message": "The request must contain a valid Feature", + "details": "" + } + ] } - }, - "response": { - "errors": [ - { - "code": "InvalidInput", - "message": "The request must contain a valid Feature", - "details": "" - } - ] } - } - ] + ] + } }, "401": { "description": "The request's Authorization header is not formatted correctly or does not contain a valid token.", @@ -3288,7 +3332,7 @@ "headers": { "x-amzn-RateLimit-Limit": { "type": "string", - "description": "Your rate limit (requests per second) for this operation." + "description": "Your rate limit (requests per second) for this operation.\n_Note:_ For this status code, the rate limit header is deprecated and no longer returned." }, "x-amzn-RequestId": { "type": "string", @@ -3332,7 +3376,7 @@ "headers": { "x-amzn-RateLimit-Limit": { "type": "string", - "description": "Your rate limit (requests per second) for this operation." + "description": "Your rate limit (requests per second) for this operation.\n_Note:_ For this status code, the rate limit header is deprecated and no longer returned." }, "x-amzn-RequestId": { "type": "string", @@ -3348,7 +3392,7 @@ "headers": { "x-amzn-RateLimit-Limit": { "type": "string", - "description": "Your rate limit (requests per second) for this operation." + "description": "Your rate limit (requests per second) for this operation.\n_Note:_ For this status code, the rate limit header is deprecated and no longer returned." }, "x-amzn-RequestId": { "type": "string", @@ -3364,7 +3408,7 @@ "headers": { "x-amzn-RateLimit-Limit": { "type": "string", - "description": "Your rate limit (requests per second) for this operation." + "description": "Your rate limit (requests per second) for this operation.\n_Note:_ For this status code, the rate limit header is deprecated and no longer returned." }, "x-amzn-RequestId": { "type": "string", @@ -3435,17 +3479,18 @@ "description": "Unique request reference identifier." } }, - "x-amazon-spds-sandbox-behaviors": [ - { - "request": { - "parameters": { - "featureName": { - "value": "BLANK_BOX" - }, - "sellerSku": { - "value": "TEST_SKU" + "x-amzn-api-sandbox": { + "static": [ + { + "request": { + "parameters": { + "featureName": { + "value": "BLANK_BOX" + }, + "sellerSku": { + "value": "TEST_SKU" + } } - } }, "response": { "payload": { @@ -3485,7 +3530,8 @@ } } } - ] + ] + } }, "400": { "description": "Request has missing or invalid parameters and cannot be parsed.", @@ -3502,26 +3548,28 @@ "description": "Unique request reference identifier." } }, - "x-amazon-spds-sandbox-behaviors": [ - { - "request": { - "parameters": { - "marketplaceId": { - "value": "INVALID_MARKETPLACE" + "x-amzn-api-sandbox": { + "static": [ + { + "request": { + "parameters": { + "marketplaceId": { + "value": "INVALID_MARKETPLACE" + } } + }, + "response": { + "errors": [ + { + "code": "InvalidInput", + "message": "The request must contain a valid marketplace", + "details": "" + } + ] } - }, - "response": { - "errors": [ - { - "code": "InvalidInput", - "message": "The request must contain a valid marketplace", - "details": "" - } - ] } - } - ] + ] + } }, "401": { "description": "The request's Authorization header is not formatted correctly or does not contain a valid token.", @@ -3531,7 +3579,7 @@ "headers": { "x-amzn-RateLimit-Limit": { "type": "string", - "description": "Your rate limit (requests per second) for this operation." + "description": "Your rate limit (requests per second) for this operation.\n_Note:_ For this status code, the rate limit header is deprecated and no longer returned." }, "x-amzn-RequestId": { "type": "string", @@ -3575,7 +3623,7 @@ "headers": { "x-amzn-RateLimit-Limit": { "type": "string", - "description": "Your rate limit (requests per second) for this operation." + "description": "Your rate limit (requests per second) for this operation.\n_Note:_ For this status code, the rate limit header is deprecated and no longer returned." }, "x-amzn-RequestId": { "type": "string", @@ -3591,7 +3639,7 @@ "headers": { "x-amzn-RateLimit-Limit": { "type": "string", - "description": "Your rate limit (requests per second) for this operation." + "description": "Your rate limit (requests per second) for this operation.\n_Note:_ For this status code, the rate limit header is deprecated and no longer returned." }, "x-amzn-RequestId": { "type": "string", @@ -3607,7 +3655,7 @@ "headers": { "x-amzn-RateLimit-Limit": { "type": "string", - "description": "Your rate limit (requests per second) for this operation." + "description": "Your rate limit (requests per second) for this operation.\n_Note:_ For this status code, the rate limit header is deprecated and no longer returned." }, "x-amzn-RequestId": { "type": "string",