UNPKG

node-red-contrib-rollun-aws-sp-api

Version:

Node-RED nodes to access AWS Selling Partner API

1,203 lines (1,202 loc) 93.3 kB
{ "swagger": "2.0", "info": { "description": "The Selling Partner API for Fulfillment Inbound lets you create applications that create and update inbound shipments of inventory to Amazon's fulfillment network.", "version": "v0", "title": "Selling Partner API for Fulfillment Inbound", "contact": { "name": "Selling Partner API Developer Support", "url": "https://sellercentral.amazon.com/gp/mws/contactus.html" }, "license": { "name": "Apache License 2.0", "url": "http://www.apache.org/licenses/LICENSE-2.0" } }, "host": "sellingpartnerapi-na.amazon.com", "schemes": [ "https" ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "paths": { "/fba/inbound/v0/prepInstructions": { "get": { "tags": [ "fbaInbound" ], "description": "Returns labeling requirements and item preparation instructions to help prepare items for shipment to Amazon's fulfillment network.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 30 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).", "operationId": "getPrepInstructions", "parameters": [ { "name": "ShipToCountryCode", "in": "query", "description": "The country code of the country to which the items will be shipped. Note that labeling requirements and item preparation instructions can vary by country.", "required": true, "type": "string", "format": "[A-Z]{2}" }, { "name": "SellerSKUList", "in": "query", "description": "A list of SellerSKU values. Used to identify items for which you want labeling requirements and item preparation instructions for shipment to Amazon's fulfillment network. The SellerSKU is qualified by the Seller ID, which is included with every call to the Seller Partner API.\n\nNote: Include seller SKUs that you have used to list items on Amazon's retail website. If you include a seller SKU that you have never used to list an item on Amazon's retail website, the seller SKU is returned in the InvalidSKUList property in the response.", "required": false, "type": "array", "items": { "type": "string" }, "maxItems": 50 }, { "name": "ASINList", "in": "query", "description": "A list of ASIN values. Used to identify items for which you want item preparation instructions to help with item sourcing decisions.\n\nNote: ASINs must be included in the product catalog for at least one of the marketplaces that the seller participates in. Any ASIN that is not included in the product catalog for at least one of the marketplaces that the seller participates in is returned in the InvalidASINList property in the response. You can find out which marketplaces a seller participates in by calling the getMarketplaceParticipations operation in the Selling Partner API for Sellers.", "required": false, "type": "array", "items": { "type": "string" }, "maxItems": 50 } ], "responses": { "200": { "description": "Success.", "schema": { "$ref": "#/definitions/GetPrepInstructionsResponse" }, "headers": { "x-amzn-RateLimit-Limit": { "type": "string", "description": "Your rate limit (requests per second) for this operation." }, "x-amzn-RequestId": { "type": "string", "description": "Unique request reference identifier." } }, "x-amzn-api-sandbox": { "static": [ { "request": { "parameters": { "ShipToCountryCode": { "value": "US" }, "ASINList": { "value": [ "ASIN1" ] } } }, "response": { "payload": { "SKUPrepInstructionsList": [ { "SellerSKU": "SellerSKU", "ASIN": "ASIN1", "BarcodeInstruction": "RequiresFNSKULabel", "PrepGuidance": "ConsultHelpDocuments", "PrepInstructionList": [ "Polybagging" ], "AmazonPrepFeesDetailsList": [ { "PrepInstruction": "Polybagging", "FeePerUnit": { "CurrencyCode": "USD", "Value": 10 } } ] } ], "InvalidSKUList": [ { "SellerSKU": "SellerSKU", "ErrorReason": "DoesNotExist" } ], "ASINPrepInstructionsList": [ { "ASIN": "ASIN1", "BarcodeInstruction": "RequiresFNSKULabel", "PrepGuidance": "ConsultHelpDocuments", "PrepInstructionList": [ "Polybagging" ] } ], "InvalidASINList": [ { "ASIN": "ASIN1", "ErrorReason": "DoesNotExist" } ] } } } ] } }, "400": { "description": "Request has missing or invalid parameters and cannot be parsed.", "schema": { "$ref": "#/definitions/GetPrepInstructionsResponse" }, "headers": { "x-amzn-RateLimit-Limit": { "type": "string", "description": "Your rate limit (requests per second) for this operation." }, "x-amzn-RequestId": { "type": "string", "description": "Unique request reference identifier." } }, "x-amzn-api-sandbox": { "static": [ { "request": { "parameters": { "ShipToCountryCode": { "value": "US" }, "ASINList": { "value": [ "BADASIN" ] } } }, "response": { "errors": [ { "code": "Invalid Input", "message": "Data is invalid. Please check." } ] } } ] } }, "401": { "description": "The request's Authorization header is not formatted correctly or does not contain a valid token.", "schema": { "$ref": "#/definitions/GetPrepInstructionsResponse" }, "headers": { "x-amzn-RequestId": { "type": "string", "description": "Unique request reference identifier." } } }, "403": { "description": "Indicates that access to the resource is forbidden. Possible reasons include Access Denied, Unauthorized, Expired Token, or Invalid Signature.", "schema": { "$ref": "#/definitions/GetPrepInstructionsResponse" }, "headers": { "x-amzn-RequestId": { "type": "string", "description": "Unique request reference identifier." } } }, "404": { "description": "The specified resource does not exist.", "schema": { "$ref": "#/definitions/GetPrepInstructionsResponse" }, "headers": { "x-amzn-RateLimit-Limit": { "type": "string", "description": "Your rate limit (requests per second) for this operation." }, "x-amzn-RequestId": { "type": "string", "description": "Unique request reference identifier." } } }, "429": { "description": "The frequency of requests was greater than allowed.", "schema": { "$ref": "#/definitions/GetPrepInstructionsResponse" }, "headers": { "x-amzn-RequestId": { "type": "string", "description": "Unique request reference identifier." } } }, "500": { "description": "An unexpected condition occurred that prevented the server from fulfilling the request.", "schema": { "$ref": "#/definitions/GetPrepInstructionsResponse" }, "headers": { "x-amzn-RequestId": { "type": "string", "description": "Unique request reference identifier." } } }, "503": { "description": "Temporary overloading or maintenance of the server.", "schema": { "$ref": "#/definitions/GetPrepInstructionsResponse" }, "headers": { "x-amzn-RequestId": { "type": "string", "description": "Unique request reference identifier." } } } } } }, "/fba/inbound/v0/shipments/{shipmentId}/labels": { "get": { "tags": [ "fbaInbound" ], "description": "Returns package/pallet labels for faster and more accurate shipment processing at the Amazon fulfillment center.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 30 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).", "operationId": "getLabels", "parameters": [ { "name": "shipmentId", "in": "path", "description": "A shipment identifier originally returned by the createInboundShipmentPlan operation.", "required": true, "type": "string" }, { "name": "PageType", "in": "query", "description": "The page type to use to print the labels. Submitting a PageType value that is not supported in your marketplace returns an error.", "required": true, "type": "string", "enum": [ "PackageLabel_Letter_2", "PackageLabel_Letter_4", "PackageLabel_Letter_6", "PackageLabel_Letter_6_CarrierLeft", "PackageLabel_A4_2", "PackageLabel_A4_4", "PackageLabel_Plain_Paper", "PackageLabel_Plain_Paper_CarrierBottom", "PackageLabel_Thermal", "PackageLabel_Thermal_Unified", "PackageLabel_Thermal_NonPCP", "PackageLabel_Thermal_No_Carrier_Rotation" ], "x-docgen-enum-table-extension": [ { "value": "PackageLabel_Letter_2", "description": "Two labels per US Letter label sheet. This is the only valid value for Amazon-partnered shipments in the US that use United Parcel Service (UPS) as the carrier. Supported in Canada and the US." }, { "value": "PackageLabel_Letter_4", "description": "Four labels per US Letter label sheet. This is the only valid value for non-Amazon-partnered shipments in the US. Supported in Canada and the US." }, { "value": "PackageLabel_Letter_6", "description": "Six labels per US Letter label sheet. This is the only valid value for non-Amazon-partnered shipments in the US. Supported in Canada and the US." }, { "value": "PackageLabel_Letter_6_CarrierLeft", "description": "PackageLabel_Letter_6_CarrierLeft" }, { "value": "PackageLabel_A4_2", "description": "Two labels per A4 label sheet." }, { "value": "PackageLabel_A4_4", "description": "Four labels per A4 label sheet." }, { "value": "PackageLabel_Plain_Paper", "description": "One label per sheet of US Letter paper. Only for non-Amazon-partnered shipments. " }, { "value": "PackageLabel_Plain_Paper_CarrierBottom", "description": "PackageLabel_Plain_Paper_CarrierBottom" }, { "value": "PackageLabel_Thermal", "description": "For use of a thermal printer. Supports Amazon-partnered shipments with UPS." }, { "value": "PackageLabel_Thermal_Unified", "description": "For use of a thermal printer. Supports shipments with ATS." }, { "value": "PackageLabel_Thermal_NonPCP", "description": "For use of a thermal printer. Supports non-Amazon-partnered shipments." }, { "value": "PackageLabel_Thermal_No_Carrier_Rotation", "description": "For use of a thermal printer. Supports Amazon-partnered shipments with DHL." } ] }, { "name": "LabelType", "in": "query", "description": "The type of labels requested. ", "required": true, "type": "string", "enum": [ "BARCODE_2D", "UNIQUE", "PALLET" ], "x-docgen-enum-table-extension": [ { "value": "BARCODE_2D", "description": "This option is provided only for shipments where 2D Barcodes will be applied to all packages. Amazon strongly recommends using the UNIQUE option to get package labels instead of the BARCODE_2D option." }, { "value": "UNIQUE", "description": "Document data for printing unique shipping labels and carrier labels for an inbound shipment." }, { "value": "PALLET", "description": "Document data for printing pallet labels for a Less Than Truckload/Full Truckload (LTL/FTL) inbound shipment." } ] }, { "name": "NumberOfPackages", "in": "query", "description": "The number of packages in the shipment.", "required": false, "type": "integer" }, { "name": "PackageLabelsToPrint", "in": "query", "description": "A list of identifiers that specify packages for which you want package labels printed.\n\nIf you provide box content information with the [FBA Inbound Shipment Carton Information Feed](https://developer-docs.amazon.com/sp-api/docs/fulfillment-by-amazon-feed-type-values#fba-inbound-shipment-carton-information-feed), then `PackageLabelsToPrint` must match the `CartonId` values you provide through that feed. If you provide box content information with the Fulfillment Inbound API v2024-03-20, then `PackageLabelsToPrint` must match the `boxID` values from the [`listShipmentBoxes`](https://developer-docs.amazon.com/sp-api/docs/fulfillment-inbound-api-v2024-03-20-reference#listshipmentboxes) response. If these values do not match as required, the operation returns the `IncorrectPackageIdentifier` error code.", "required": false, "type": "array", "items": { "type": "string" } }, { "name": "NumberOfPallets", "in": "query", "description": "The number of pallets in the shipment. This returns four identical labels for each pallet.", "required": false, "type": "integer" }, { "name": "PageSize", "description": "The page size for paginating through the total packages' labels. This is a required parameter for Non-Partnered LTL Shipments. Max value:1000.", "in": "query", "required": false, "type": "integer" }, { "name": "PageStartIndex", "description": "The page start index for paginating through the total packages' labels. This is a required parameter for Non-Partnered LTL Shipments.", "in": "query", "required": false, "type": "integer" } ], "responses": { "200": { "description": "Success.", "schema": { "$ref": "#/definitions/GetLabelsResponse" }, "headers": { "x-amzn-RateLimit-Limit": { "type": "string", "description": "Your rate limit (requests per second) for this operation." }, "x-amzn-RequestId": { "type": "string", "description": "Unique request reference identifier." } }, "x-amzn-api-sandbox": { "static": [ { "request": { "parameters": { "shipmentId": { "value": "348975493" }, "PageType": { "value": "PackageLabel_Letter_2" }, "LabelType": { "value": "BARCODE_2D" } } }, "response": { "payload": { "DownloadURL": "http://www.labels.url.com" } } } ] } }, "400": { "description": "Request has missing or invalid parameters and cannot be parsed.", "schema": { "$ref": "#/definitions/GetLabelsResponse" }, "headers": { "x-amzn-RateLimit-Limit": { "type": "string", "description": "Your rate limit (requests per second) for this operation." }, "x-amzn-RequestId": { "type": "string", "description": "Unique request reference identifier." } }, "x-amzn-api-sandbox": { "static": [ { "request": { "parameters": { "shipmentId": { "value": "BADVALUE" }, "PageType": { "value": "PackageLabel_Letter_2" }, "LabelType": { "value": "BARCODE_2D" } } }, "response": { "errors": [ { "code": "Invalid Input", "message": "Data is invalid. Please check." } ] } } ] } }, "401": { "description": "The request's Authorization header is not formatted correctly or does not contain a valid token.", "schema": { "$ref": "#/definitions/GetLabelsResponse" }, "headers": { "x-amzn-RequestId": { "type": "string", "description": "Unique request reference identifier." } } }, "403": { "description": "Indicates that access to the resource is forbidden. Possible reasons include Access Denied, Unauthorized, Expired Token, or Invalid Signature.", "schema": { "$ref": "#/definitions/GetLabelsResponse" }, "headers": { "x-amzn-RequestId": { "type": "string", "description": "Unique request reference identifier." } } }, "404": { "description": "The specified resource does not exist.", "schema": { "$ref": "#/definitions/GetLabelsResponse" }, "headers": { "x-amzn-RateLimit-Limit": { "type": "string", "description": "Your rate limit (requests per second) for this operation." }, "x-amzn-RequestId": { "type": "string", "description": "Unique request reference identifier." } } }, "429": { "description": "The frequency of requests was greater than allowed.", "schema": { "$ref": "#/definitions/GetLabelsResponse" }, "headers": { "x-amzn-RequestId": { "type": "string", "description": "Unique request reference identifier." } } }, "500": { "description": "An unexpected condition occurred that prevented the server from fulfilling the request.", "schema": { "$ref": "#/definitions/GetLabelsResponse" }, "headers": { "x-amzn-RequestId": { "type": "string", "description": "Unique request reference identifier." } } }, "503": { "description": "Temporary overloading or maintenance of the server.", "schema": { "$ref": "#/definitions/GetLabelsResponse" }, "headers": { "x-amzn-RequestId": { "type": "string", "description": "Unique request reference identifier." } } } } } }, "/fba/inbound/v0/shipments/{shipmentId}/billOfLading": { "get": { "tags": [ "fbaInbound" ], "description": "Returns a bill of lading for a Less Than Truckload/Full Truckload (LTL/FTL) shipment. The getBillOfLading operation returns PDF document data for printing a bill of lading for an Amazon-partnered Less Than Truckload/Full Truckload (LTL/FTL) inbound shipment.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 30 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).", "operationId": "getBillOfLading", "parameters": [ { "name": "shipmentId", "in": "path", "description": "A shipment identifier originally returned by the createInboundShipmentPlan operation.", "required": true, "type": "string" } ], "responses": { "200": { "description": "Success.", "schema": { "$ref": "#/definitions/GetBillOfLadingResponse" }, "headers": { "x-amzn-RateLimit-Limit": { "type": "string", "description": "Your rate limit (requests per second) for this operation." }, "x-amzn-RequestId": { "type": "string", "description": "Unique request reference identifier." } }, "x-amzn-api-sandbox": { "static": [ { "request": { "parameters": { "shipmentId": { "value": "shipmentId" } } }, "response": { "payload": { "DownloadURL": "http://bill-of.lading.url.com" } } } ] } }, "400": { "description": "Request has missing or invalid parameters and cannot be parsed.", "schema": { "$ref": "#/definitions/GetBillOfLadingResponse" }, "headers": { "x-amzn-RateLimit-Limit": { "type": "string", "description": "Your rate limit (requests per second) for this operation." }, "x-amzn-RequestId": { "type": "string", "description": "Unique request reference identifier." } }, "x-amzn-api-sandbox": { "static": [ { "request": { "parameters": { "shipmentId": { "value": "badid1" } } }, "response": { "errors": [ { "code": "Invalid Input", "message": "Data is invalid. Please check." } ] } } ] } }, "401": { "description": "The request's Authorization header is not formatted correctly or does not contain a valid token.", "schema": { "$ref": "#/definitions/GetBillOfLadingResponse" }, "headers": { "x-amzn-RequestId": { "type": "string", "description": "Unique request reference identifier." } } }, "403": { "description": "Indicates that access to the resource is forbidden. Possible reasons include Access Denied, Unauthorized, Expired Token, or Invalid Signature.", "schema": { "$ref": "#/definitions/GetBillOfLadingResponse" }, "headers": { "x-amzn-RequestId": { "type": "string", "description": "Unique request reference identifier." } } }, "404": { "description": "The specified resource does not exist.", "schema": { "$ref": "#/definitions/GetBillOfLadingResponse" }, "headers": { "x-amzn-RateLimit-Limit": { "type": "string", "description": "Your rate limit (requests per second) for this operation." }, "x-amzn-RequestId": { "type": "string", "description": "Unique request reference identifier." } } }, "429": { "description": "The frequency of requests was greater than allowed.", "schema": { "$ref": "#/definitions/GetBillOfLadingResponse" }, "headers": { "x-amzn-RequestId": { "type": "string", "description": "Unique request reference identifier." } } }, "500": { "description": "An unexpected condition occurred that prevented the server from fulfilling the request.", "schema": { "$ref": "#/definitions/GetBillOfLadingResponse" }, "headers": { "x-amzn-RequestId": { "type": "string", "description": "Unique request reference identifier." } } }, "503": { "description": "Temporary overloading or maintenance of the server.", "schema": { "$ref": "#/definitions/GetBillOfLadingResponse" }, "headers": { "x-amzn-RequestId": { "type": "string", "description": "Unique request reference identifier." } } } } } }, "/fba/inbound/v0/shipments": { "get": { "tags": [ "fbaInbound" ], "description": "Returns a list of inbound shipments based on criteria that you specify.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 30 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).", "operationId": "getShipments", "parameters": [ { "name": "ShipmentStatusList", "in": "query", "description": "A list of ShipmentStatus values. Used to select shipments with a current status that matches the status values that you specify.", "required": false, "type": "array", "items": { "type": "string", "enum": [ "WORKING", "READY_TO_SHIP", "SHIPPED", "RECEIVING", "CANCELLED", "DELETED", "CLOSED", "ERROR", "IN_TRANSIT", "DELIVERED", "CHECKED_IN" ], "x-docgen-enum-table-extension": [ { "value": "WORKING", "description": "The shipment was created by the seller, but has not yet shipped." }, { "value": "READY_TO_SHIP", "description": "The seller has printed box labels (for Small parcel shipments) or pallet labels (for Less Than Truckload shipments)." }, { "value": "SHIPPED", "description": "The shipment was picked up by the carrier." }, { "value": "RECEIVING", "description": "The shipment has arrived at the fulfillment center, but not all items have been marked as received." }, { "value": "CANCELLED", "description": "The shipment was cancelled by the seller after the shipment was sent to the fulfillment center." }, { "value": "DELETED", "description": "The shipment was cancelled by the seller before the shipment was sent to the fulfillment center." }, { "value": "CLOSED", "description": "The shipment has arrived at the fulfillment center and all items have been marked as received." }, { "value": "ERROR", "description": "There was an error with the shipment and it was not processed by Amazon." }, { "value": "IN_TRANSIT", "description": "The carrier has notified the fulfillment center that it is aware of the shipment." }, { "value": "DELIVERED", "description": "The shipment was delivered by the carrier to the fulfillment center." }, { "value": "CHECKED_IN", "description": "The shipment was checked-in at the receiving dock of the fulfillment center." } ] } }, { "name": "ShipmentIdList", "in": "query", "description": "A list of shipment IDs used to select the shipments that you want. If both ShipmentStatusList and ShipmentIdList are specified, only shipments that match both parameters are returned.", "required": false, "type": "array", "items": { "type": "string" }, "maxItems": 999 }, { "name": "LastUpdatedAfter", "in": "query", "description": "A date used for selecting inbound shipments that were last updated after (or at) a specified time. The selection includes updates made by Amazon and by the seller.", "required": false, "type": "string", "format": "date-time" }, { "name": "LastUpdatedBefore", "in": "query", "description": "A date used for selecting inbound shipments that were last updated before (or at) a specified time. The selection includes updates made by Amazon and by the seller.", "required": false, "type": "string", "format": "date-time" }, { "name": "QueryType", "in": "query", "description": "Indicates whether shipments are returned using shipment information (by providing the ShipmentStatusList or ShipmentIdList parameters), using a date range (by providing the LastUpdatedAfter and LastUpdatedBefore parameters), or by using NextToken to continue returning items specified in a previous request.", "required": true, "type": "string", "enum": [ "SHIPMENT", "DATE_RANGE", "NEXT_TOKEN" ], "x-docgen-enum-table-extension": [ { "value": "SHIPMENT", "description": "Returns shipments based on the shipment information provided by the ShipmentStatusList or ShipmentIdList parameters." }, { "value": "DATE_RANGE", "description": "Returns shipments based on the date range information provided by the LastUpdatedAfter and LastUpdatedBefore parameters." }, { "value": "NEXT_TOKEN", "description": "Returns shipments by using NextToken to continue returning items specified in a previous request." } ] }, { "name": "NextToken", "in": "query", "description": "A string token returned in the response to your previous request.", "required": false, "type": "string" }, { "name": "MarketplaceId", "in": "query", "description": "A marketplace identifier. Specifies the marketplace where the product would be stored.", "required": true, "type": "string" } ], "responses": { "200": { "description": "Success.", "schema": { "$ref": "#/definitions/GetShipmentsResponse" }, "headers": { "x-amzn-RateLimit-Limit": { "type": "string", "description": "Your rate limit (requests per second) for this operation." }, "x-amzn-RequestId": { "type": "string", "description": "Unique request reference identifier." } }, "x-amzn-api-sandbox": { "static": [ { "request": { "parameters": { "MarketplaceId": { "value": "ATVPDKIKX0DER" }, "QueryType": { "value": "SHIPMENT" } } }, "response": { "payload": { "ShipmentData": [ { "ShipmentId": "FBA15DJ9S3J5", "ShipmentName": "FBA (2/11/20, 11:18 AM) - 1", "ShipFromAddress": { "Name": "vungu+naperfectUS", "AddressLine1": "501 Fairview Ave N", "City": "Seattle", "StateOrProvinceCode": "WA", "CountryCode": "US", "PostalCode": "98109" }, "DestinationFulfillmentCenterId": "MKC6", "ShipmentStatus": "SHIPPED", "LabelPrepType": "SELLER_LABEL", "BoxContentsSource": "INTERACTIVE" } ], "NextToken": "AAAAAAAAAADwtRhfSFJXzbRgKc+wYysmXwEAAAAAAACLuoztkDYG/ClQt9ELs4kYW6MrmpJdFf1QQYk6hSIZSsy5ipek26YvTwmkD9i4cbQny1EWwuuU88wghPxa7770q5R+YYCuP4pYWVy3AVAzWzAib6BRlDr4B0msx6sOKcYCy6ms4J021964JOS9nZhRBGfJ86d96S91rhJPli55+r7Jp+VHPly2FCJ2mAuC53sGTsNP108IUuPdbZqq2myWZ5U+EggLjhRBvXhHFFxRclETG7XfyX46A9nCKKhJYEjDFmMPQoQPtqSuxtMAUMDLPs4MttashstL96Oiu79VYhjV84L13mdMNZS6g21HKgU5E6CDivHvsgS5kC7joXHrXGjwpXMeLcfJqwg+DocBFiU2NELMEbfksrIGXVVjFqiLxHtTiDBsuDxDLbYeVepW0E9oA/ppbZJK4c0nDbgT3WSxxfsgpmAZ42O6iVMhW/KVlJZFDjKsmmHATcq5S5c=" } } } ] } }, "400": { "description": "Request has missing or invalid parameters and cannot be parsed.", "schema": { "$ref": "#/definitions/GetShipmentsResponse" }, "headers": { "x-amzn-RateLimit-Limit": { "type": "string", "description": "Your rate limit (requests per second) for this operation." }, "x-amzn-RequestId": { "type": "string", "description": "Unique request reference identifier." } }, "x-amzn-api-sandbox": { "static": [ { "request": { "parameters": { "MarketplaceId": { "value": "BADATVPDKIKX0DER" }, "QueryType": { "value": "BADSHIPMENT" } } }, "response": { "errors": [ { "code": "Invalid Input", "message": "Data is invalid. Please check." } ] } } ] } }, "401": { "description": "The request's Authorization header is not formatted correctly or does not contain a valid token.", "schema": { "$ref": "#/definitions/GetShipmentsResponse" }, "headers": { "x-amzn-RequestId": { "type": "string", "description": "Unique request reference identifier." } } }, "403": { "description": "Indicates that access to the resource is forbidden. Possible reasons include Access Denied, Unauthorized, Expired Token, or Invalid Signature.", "schema": { "$ref": "#/definitions/GetShipmentsResponse" }, "headers": { "x-amzn-RequestId": { "type": "string", "description": "Unique request reference identifier." } } }, "404": { "description": "The specified resource does not exist.", "schema": { "$ref": "#/definitions/GetShipmentsResponse" }, "headers": { "x-amzn-RateLimit-Limit": { "type": "string", "description": "Your rate limit (requests per second) for this operation." }, "x-amzn-RequestId": { "type": "string", "description": "Unique request reference identifier." } } }, "429": { "description": "The frequency of requests was greater than allowed.", "schema": { "$ref": "#/definitions/GetShipmentsResponse" }, "headers": { "x-amzn-RequestId": { "type": "string", "description": "Unique request reference identifier." } } }, "500": { "description": "An unexpected condition occurred that prevented the server from fulfilling the request.", "schema": { "$ref": "#/definitions/GetShipmentsResponse" }, "headers": { "x-amzn-RequestId": { "type": "string", "description": "Unique request reference identifier." } } }, "503": { "description": "Temporary overloading or maintenance of the server.", "schema": { "$ref": "#/definitions/GetShipmentsResponse" }, "headers": { "x-amzn-RequestId": { "type": "string", "description": "Unique request reference identifier." } } } } } }, "/fba/inbound/v0/shipments/{shipmentId}/items": { "get": { "tags": [ "fbaInbound" ], "description": "Returns a list of items in a specified inbound shipment.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 30 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).", "operationId": "getShipmentItemsByShipmentId", "parameters": [ { "name": "shipmentId", "in": "path", "description": "A shipment identifier used for selecting items in a specific inbound shipment.", "required": true, "type": "string" }, { "name": "MarketplaceId", "in": "query", "description": "Deprecated. Do not use.", "required": false, "type": "string" } ], "responses": { "200": { "description": "Success.", "schema": { "$ref": "#/definitions/GetShipmentItemsResponse" }, "headers": { "x-amzn-RateLimit-Limit": { "type": "string", "description": "Your rate limit (requests per second) for this operation." }, "x-amzn-RequestId": { "type": "string", "description": "Unique request reference identifier." } }, "x-amzn-api-sandbox": { "static": [ { "request": { "parameters": { "MarketplaceId": { "value": "ATVPDKIKX0DER" }, "shipmentId": { "value": "FBA15DJ9SVVD" } } }, "response": { "payload": { "ItemData": [ { "ShipmentId": "FBA15DF2763D", "SellerSKU": "CR-47K6-H6QN", "FulfillmentNetworkSKU": "X0014BIZ8T", "QuantityShipped": 4, "QuantityReceived": 0, "QuantityInCase": 0, "ReleaseDate": "2013-05-29", "PrepDetailsList": [ { "PrepInstruction": "Labeling", "PrepOwner": "SELLER" }, { "PrepInstruction": "Polybagging", "PrepOwner": "SELLER" } ] } ], "NextToken": "AAAAAAAAAABtqoY6CcWi1L8mJB7Nnt2gaQEAAAAAAAD6ehPTas9PliWJK6+QPwRpOgJJTgQphGOQ+9o1k7PBrBe5GrNyGDQYBmz2D4yDT4FVSHVhpbKi8Mgrw3tfRTLrkcMQOn5CvEySS5ePVzv8WhjCDxM9FGwBzoeDWLKx9OEy29XlAFkeBdwaxOAxEMF97uQkxGhUQS5sGeXdSAXNXMgCoOXMgw+JlsgzIq3Byt/yObIt8z9T0GPk440bqiQZl3ceVEiLX2g2LAa5qNwJBtCgYtizJsYSu/tX9zbR0Fe13bSqTOUEAXykYvQSTYCbuEPC3UFukVLobuP0lW+WZzZxcbWRxEzBTHnlgorzdsCc4cBnWVhTdp5nxTPeiYGbda9KilRFXtVl1vgXCHq5npDNV9yULsgjAqFPDBaz8YMlKoJgCe2E1GmbHzenJW21IHcIo3gtmujx+ib3Y9j23SwCfEbsUR9OrFNvGxiZ0VS7qYzm+fvElsU9jBx1PFrOigHnGD71Yq+y" } } } ] } }, "400": { "description": "Request has missing or invalid parameters and cannot be parsed.", "schema": { "$ref": "#/definitions/GetShipmentItemsResponse" }, "headers": { "x-amzn-RateLimit-Limit": { "type": "string", "description": "Your rate limit (requests per second) for this operation." }, "x-amzn-RequestId": { "type": "string", "description": "Unique request reference identifier." } }, "x-amzn-api-sandbox": { "static": [ { "request": { "parameters": { "MarketplaceId": { "value": "BADATVPDKIKX0DER" }, "shipmentId": { "value": "BADFBA15DJ9SVVD" } } }, "response": { "errors": [ { "code": "Invalid Input", "message": "Data is invalid. Please check." } ] } } ] } }, "401": { "description": "The request's Authorization header is not formatted correctly or does not contain a valid token.", "schema": { "$ref": "#/definitions/GetShipmentItemsResponse" }, "headers": { "x-amzn-RequestId": { "type": "string", "description": "Unique request reference identifier." } } },