From 976b67f2cfbf49230d1588020cc2df04fd1699b9 Mon Sep 17 00:00:00 2001 From: Sal Ricciardi Date: Wed, 3 Feb 2021 12:05:17 -0800 Subject: [PATCH] Update productFeesV0 model --- .../product-fees-api-model/productFeesV0.json | 87 +++++++++++++++++-- 1 file changed, 82 insertions(+), 5 deletions(-) diff --git a/models/product-fees-api-model/productFeesV0.json b/models/product-fees-api-model/productFeesV0.json index c81343a..e5b0e9d 100644 --- a/models/product-fees-api-model/productFeesV0.json +++ b/models/product-fees-api-model/productFeesV0.json @@ -29,7 +29,7 @@ "tags": [ "fees" ], - "description": "Returns the estimated fees for the item indicated by the specified seller SKU in the marketplace specified in the request body.\n\nYou can call getMyFeesEstimateForSKU for an item on behalf of a seller before the seller sets the item's price. They can then take estimated fees into account. With each fees estimate request, you must include an original identifier. This identifier is included in the fees estimate so you can correlate a fees estimate with the original request.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 1 | 1 |\n\nFor more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.", + "description": "Returns the estimated fees for the item indicated by the specified seller SKU in the marketplace specified in the request body.\n\nYou can call getMyFeesEstimateForSKU for an item on behalf of a seller before the seller sets the item's price. They can then take estimated fees into account. With each fees estimate request, you must include an original identifier. This identifier is included in the fees estimate so you can correlate a fees estimate with the original request.\n\n**Usage Plans:**\n\n| Plan type | Rate (requests per second) | Burst |\n| ---- | ---- | ---- |\n|Default| 1 | 1 |\n|Selling partner specific| Variable | Variable |\n\nThe x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.", "operationId": "getMyFeesEstimateForSKU", "parameters": [ { @@ -135,6 +135,10 @@ "$ref": "#/definitions/GetMyFeesEstimateResponse" }, "headers": { + "x-amzn-RateLimit-Limit": { + "description": "Your rate limit (requests per second) for this operation.", + "type": "string" + }, "x-amzn-RequestId": { "type": "string", "description": "Unique request reference identifier." @@ -171,6 +175,10 @@ "$ref": "#/definitions/GetMyFeesEstimateResponse" }, "headers": { + "x-amzn-RateLimit-Limit": { + "description": "Your rate limit (requests per second) for this operation.", + "type": "string" + }, "x-amzn-RequestId": { "type": "string", "description": "Unique request reference identifier." @@ -183,6 +191,10 @@ "$ref": "#/definitions/GetMyFeesEstimateResponse" }, "headers": { + "x-amzn-RateLimit-Limit": { + "description": "Your rate limit (requests per second) for this operation.", + "type": "string" + }, "x-amzn-RequestId": { "type": "string", "description": "Unique request reference identifier." @@ -219,6 +231,10 @@ "$ref": "#/definitions/GetMyFeesEstimateResponse" }, "headers": { + "x-amzn-RateLimit-Limit": { + "description": "Your rate limit (requests per second) for this operation.", + "type": "string" + }, "x-amzn-RequestId": { "type": "string", "description": "Unique request reference identifier." @@ -231,6 +247,10 @@ "$ref": "#/definitions/GetMyFeesEstimateResponse" }, "headers": { + "x-amzn-RateLimit-Limit": { + "description": "Your rate limit (requests per second) for this operation.", + "type": "string" + }, "x-amzn-RequestId": { "type": "string", "description": "Unique request reference identifier." @@ -243,6 +263,10 @@ "$ref": "#/definitions/GetMyFeesEstimateResponse" }, "headers": { + "x-amzn-RateLimit-Limit": { + "description": "Your rate limit (requests per second) for this operation.", + "type": "string" + }, "x-amzn-RequestId": { "type": "string", "description": "Unique request reference identifier." @@ -258,7 +282,7 @@ "tags": [ "fees" ], - "description": "Returns the estimated fees for the item indicated by the specified Asin in the marketplace specified in the request body.\n\nYou can call getMyFeesEstimateForASIN for an item on behalf of a seller before the seller sets the item's price. They can then take estimated fees into account. With each product fees request, you must include an original identifier. This identifier is included in the fees estimate so you can correlate a fees estimate with the original request.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 1 | 1 |\n\nFor more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.", + "description": "Returns the estimated fees for the item indicated by the specified Asin in the marketplace specified in the request body.\n\nYou can call getMyFeesEstimateForASIN for an item on behalf of a seller before the seller sets the item's price. They can then take estimated fees into account. With each product fees request, you must include an original identifier. This identifier is included in the fees estimate so you can correlate a fees estimate with the original request.\n\n**Usage Plans:**\n\n| Plan type | Rate (requests per second) | Burst |\n| ---- | ---- | ---- |\n|Default| 1 | 1 |\n|Selling partner specific| Variable | Variable |\n\nThe x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.", "operationId": "getMyFeesEstimateForASIN", "parameters": [ { @@ -364,6 +388,10 @@ "$ref": "#/definitions/GetMyFeesEstimateResponse" }, "headers": { + "x-amzn-RateLimit-Limit": { + "description": "Your rate limit (requests per second) for this operation.", + "type": "string" + }, "x-amzn-RequestId": { "type": "string", "description": "Unique request reference identifier." @@ -400,6 +428,10 @@ "$ref": "#/definitions/GetMyFeesEstimateResponse" }, "headers": { + "x-amzn-RateLimit-Limit": { + "description": "Your rate limit (requests per second) for this operation.", + "type": "string" + }, "x-amzn-RequestId": { "type": "string", "description": "Unique request reference identifier." @@ -412,6 +444,10 @@ "$ref": "#/definitions/GetMyFeesEstimateResponse" }, "headers": { + "x-amzn-RateLimit-Limit": { + "description": "Your rate limit (requests per second) for this operation.", + "type": "string" + }, "x-amzn-RequestId": { "type": "string", "description": "Unique request reference identifier." @@ -448,6 +484,10 @@ "$ref": "#/definitions/GetMyFeesEstimateResponse" }, "headers": { + "x-amzn-RateLimit-Limit": { + "description": "Your rate limit (requests per second) for this operation.", + "type": "string" + }, "x-amzn-RequestId": { "type": "string", "description": "Unique request reference identifier." @@ -460,6 +500,10 @@ "$ref": "#/definitions/GetMyFeesEstimateResponse" }, "headers": { + "x-amzn-RateLimit-Limit": { + "description": "Your rate limit (requests per second) for this operation.", + "type": "string" + }, "x-amzn-RequestId": { "type": "string", "description": "Unique request reference identifier." @@ -472,6 +516,10 @@ "$ref": "#/definitions/GetMyFeesEstimateResponse" }, "headers": { + "x-amzn-RateLimit-Limit": { + "description": "Your rate limit (requests per second) for this operation.", + "type": "string" + }, "x-amzn-RequestId": { "type": "string", "description": "Unique request reference identifier." @@ -510,8 +558,11 @@ "$ref": "#/definitions/PriceToEstimateFees" }, "Identifier": { - "description": "The product price on which the fee estimate is based.", + "description": "A unique identifier provided by the caller to track this request.", "type": "string" + }, + "OptionalFulfillmentProgram": { + "$ref": "#/definitions/OptionalFulfillmentProgram" } } }, @@ -630,6 +681,9 @@ "SellerInputIdentifier": { "description": "A unique identifier provided by the caller to track this request.", "type": "string" + }, + "OptionalFulfillmentProgram": { + "$ref": "#/definitions/OptionalFulfillmentProgram" } } }, @@ -662,7 +716,7 @@ ], "properties": { "TimeOfFeesEstimation": { - "description": "The time for which the fees were estimated. This defaults to the time the request is made.", + "description": "The time at which the fees were estimated. This defaults to the time the request is made.", "type": "string", "format": "date-time" }, @@ -701,7 +755,7 @@ "type": "string" }, "Message": { - "description": "A message that describes the error condition in a human-readable form.", + "description": "A message that describes the error condition.", "type": "string" }, "Detail": { @@ -796,6 +850,29 @@ "type": "number" } } + }, + "OptionalFulfillmentProgram": { + "type": "string", + "description": "An optional enrollment program for which to return the estimated fees when the offer is fulfilled by Amazon (IsAmazonFulfilled is set to true).", + "enum": [ + "FBA_CORE", + "FBA_SNL", + "FBA_EFN" + ], + "x-docgen-enum-table-extension": [ + { + "value": "FBA_CORE", + "description": "Returns the standard Amazon fulfillment fees for the offer. This is the default." + }, + { + "value": "FBA_SNL", + "description": "Returns the Small and Light fees for the offer. The FBA Small and Light program offers reduced fulfillment costs on qualified items." + }, + { + "value": "FBA_EFN", + "description": "Returns the cross-border European Fulfillment Network fees across EU countries for the offer." + } + ] } } }