Update rate header descriptions and sandbox extension

This commit is contained in:
Abby Menting 2021-08-23 17:36:11 -07:00
parent 878c6f83c7
commit 3d58562255
1 changed files with 80 additions and 72 deletions

View File

@ -51,17 +51,18 @@
"responses": {
"200": {
"description": "Success.",
"x-amazon-spds-sandbox-behaviors": [
{
"request": {
"parameters": {
"body": {
"value": {
"FeesEstimateRequest": {
"MarketplaceId": "ATVPDKIKX0DER",
"IsAmazonFulfilled": false,
"PriceToEstimateFees": {
"ListingPrice": {
"x-amzn-api-sandbox": {
"static": [
{
"request": {
"parameters": {
"body": {
"value": {
"FeesEstimateRequest": {
"MarketplaceId": "ATVPDKIKX0DER",
"IsAmazonFulfilled": false,
"PriceToEstimateFees": {
"ListingPrice": {
"CurrencyCode": "USD",
"Amount": 10
},
@ -129,8 +130,9 @@
}
}
}
}
],
}
]
},
"schema": {
"$ref": "#/definitions/GetMyFeesEstimateResponse"
},
@ -147,30 +149,32 @@
},
"400": {
"description": "Request has missing or invalid parameters and cannot be parsed.",
"x-amazon-spds-sandbox-behaviors": [
{
"request": {
"parameters": {
"body": {
"value": {
"FeesEstimateRequest": {
"MarketplaceId": "WRNGMRKTPLCE"
"x-amzn-api-sandbox": {
"static": [
{
"request": {
"parameters": {
"body": {
"value": {
"FeesEstimateRequest": {
"MarketplaceId": "WRNGMRKTPLCE"
}
}
}
}
}
},
"response": {
"errors": [
{
"code": "InvalidInput",
"message": "Incorrect Marketplace identifier.",
"details": ""
}
]
"response": {
"errors": [
{
"code": "InvalidInput",
"message": "Incorrect Marketplace identifier.",
"details": ""
}
]
}
}
}
],
]
},
"schema": {
"$ref": "#/definitions/GetMyFeesEstimateResponse"
},
@ -192,7 +196,7 @@
},
"headers": {
"x-amzn-RateLimit-Limit": {
"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.",
"type": "string"
},
"x-amzn-RequestId": {
@ -236,7 +240,7 @@
},
"headers": {
"x-amzn-RateLimit-Limit": {
"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.",
"type": "string"
},
"x-amzn-RequestId": {
@ -252,7 +256,7 @@
},
"headers": {
"x-amzn-RateLimit-Limit": {
"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.",
"type": "string"
},
"x-amzn-RequestId": {
@ -268,7 +272,7 @@
},
"headers": {
"x-amzn-RateLimit-Limit": {
"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.",
"type": "string"
},
"x-amzn-RequestId": {
@ -308,17 +312,18 @@
"responses": {
"200": {
"description": "Success.",
"x-amazon-spds-sandbox-behaviors": [
{
"request": {
"parameters": {
"body": {
"value": {
"FeesEstimateRequest": {
"MarketplaceId": "ATVPDKIKX0DER",
"IsAmazonFulfilled": false,
"PriceToEstimateFees": {
"ListingPrice": {
"x-amzn-api-sandbox": {
"static": [
{
"request": {
"parameters": {
"body": {
"value": {
"FeesEstimateRequest": {
"MarketplaceId": "ATVPDKIKX0DER",
"IsAmazonFulfilled": false,
"PriceToEstimateFees": {
"ListingPrice": {
"CurrencyCode": "USD",
"Amount": 10
},
@ -386,8 +391,9 @@
}
}
}
}
],
}
]
},
"schema": {
"$ref": "#/definitions/GetMyFeesEstimateResponse"
},
@ -404,30 +410,32 @@
},
"400": {
"description": "Request has missing or invalid parameters and cannot be parsed.",
"x-amazon-spds-sandbox-behaviors": [
{
"request": {
"parameters": {
"body": {
"value": {
"FeesEstimateRequest": {
"MarketplaceId": "WRNGMRKTPLCE"
"x-amzn-api-sandbox": {
"static": [
{
"request": {
"parameters": {
"body": {
"value": {
"FeesEstimateRequest": {
"MarketplaceId": "WRNGMRKTPLCE"
}
}
}
}
}
},
"response": {
"errors": [
{
"code": "InvalidInput",
"message": "Incorrect Marketplace identifier.",
"details": ""
}
]
"response": {
"errors": [
{
"code": "InvalidInput",
"message": "Incorrect Marketplace identifier.",
"details": ""
}
]
}
}
}
],
]
},
"schema": {
"$ref": "#/definitions/GetMyFeesEstimateResponse"
},
@ -449,7 +457,7 @@
},
"headers": {
"x-amzn-RateLimit-Limit": {
"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.",
"type": "string"
},
"x-amzn-RequestId": {
@ -493,7 +501,7 @@
},
"headers": {
"x-amzn-RateLimit-Limit": {
"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.",
"type": "string"
},
"x-amzn-RequestId": {
@ -509,7 +517,7 @@
},
"headers": {
"x-amzn-RateLimit-Limit": {
"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.",
"type": "string"
},
"x-amzn-RequestId": {
@ -525,7 +533,7 @@
},
"headers": {
"x-amzn-RateLimit-Limit": {
"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.",
"type": "string"
},
"x-amzn-RequestId": {