UNPKG

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

Version:

Node-RED nodes to access AWS Selling Partner API

1,138 lines (1,137 loc) 261 kB
{ "swagger": "2.0", "info": { "description": "The Selling Partner API for Retail Procurement Shipments provides programmatic access to retail shipping data for vendors.", "version": "v1", "title": "Selling Partner API for Retail Procurement Shipments", "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": { "/vendor/shipping/v1/shipmentConfirmations": { "post": { "tags": [ "vendorShipping" ], "description": "Submits one or more shipment confirmations for vendor orders.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 10 | 10 |\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": "SubmitShipmentConfirmations", "summary": "SubmitShipmentConfirmations", "parameters": [ { "in": "body", "name": "body", "description": "A request to submit shipment confirmation.", "required": true, "schema": { "$ref": "#/definitions/SubmitShipmentConfirmationsRequest" } } ], "responses": { "202": { "description": "Success.", "schema": { "$ref": "#/definitions/SubmitShipmentConfirmationsResponse" }, "examples": { "application/json": { "payload": { "transactionId": { "description": "GUID assigned by Amazon to identify this transaction. It will be used in Transaction Status API as reference to get status of this transaction.", "type": "string" } } } }, "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": { "body": { "value": { "shipmentConfirmations": [ { "shipmentIdentifier": "TestShipmentConfirmation202", "shipmentConfirmationDate": "2021-03-11T12:38:23.388Z", "sellingParty": { "partyId": "ABCD1" }, "shipFromParty": { "partyId": "EFGH1" }, "shipToParty": { "partyId": "JKL1" }, "shipmentConfirmationType": "Original", "shippedItems": [ { "itemSequenceNumber": "001", "shippedQuantity": { "amount": 100, "unitOfMeasure": "Eaches" }, "itemDetails": { "purchaseOrderNumber": "TestOrder202" } }, { "itemSequenceNumber": "002", "shippedQuantity": { "amount": 100, "unitOfMeasure": "Cases", "totalWeight": { "amount": "332.8", "unitOfMeasure": "POUNDS" } }, "itemDetails": { "purchaseOrderNumber": "TestOrder202" } } ] } ] } } } }, "response": { "payload": { "transactionId": "20190905010908-8a3b6901-ef20-412f-9270-21c021796605" } } }, { "request": { "parameters": { "body": {} } }, "response": { "payload": { "transactionId": "mock-TransactionId-20190905010908-8a3b6901-ef20-412f-9270-21c021796605" } } } ] } }, "400": { "description": "Request has missing or invalid parameters and cannot be parsed.", "schema": { "$ref": "#/definitions/SubmitShipmentConfirmationsResponse" }, "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-amazon-spds-sandbox-behaviors": [ { "request": { "parameters": { "body": { "value": { "shipmentConfirmations": [ { "shipmentIdentifier": "MOCKSHIPMENTID" } ] } } } }, "response": { "errors": [ { "code": "InvalidInput", "message": "Invalid Shipment ID" } ] } } ] }, "403": { "description": "Indicates that access to the resource is forbidden. Possible reasons include Access Denied, Unauthorized, Expired Token, or Invalid Signature.", "schema": { "$ref": "#/definitions/SubmitShipmentConfirmationsResponse" }, "headers": { "x-amzn-RequestId": { "type": "string", "description": "Unique request reference identifier." } } }, "404": { "description": "The resource specified does not exist.", "schema": { "$ref": "#/definitions/SubmitShipmentConfirmationsResponse" }, "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." } } }, "413": { "description": "The request size exceeded the maximum accepted size.", "schema": { "$ref": "#/definitions/SubmitShipmentConfirmationsResponse" }, "headers": { "x-amzn-RequestId": { "type": "string", "description": "Unique request reference identifier." } } }, "415": { "description": "The request payload is in an unsupported format.", "schema": { "$ref": "#/definitions/SubmitShipmentConfirmationsResponse" }, "headers": { "x-amzn-RequestId": { "type": "string", "description": "Unique request reference identifier." } } }, "429": { "description": "The frequency of requests was greater than allowed.", "schema": { "$ref": "#/definitions/SubmitShipmentConfirmationsResponse" }, "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/SubmitShipmentConfirmationsResponse" }, "headers": { "x-amzn-RequestId": { "type": "string", "description": "Unique request reference identifier." } } }, "503": { "description": "Temporary overloading or maintenance of the server.", "schema": { "$ref": "#/definitions/SubmitShipmentConfirmationsResponse" }, "headers": { "x-amzn-RequestId": { "type": "string", "description": "Unique request reference identifier." } } } } } }, "/vendor/shipping/v1/shipments": { "post": { "tags": [ "vendorShipping" ], "description": "Submits one or more shipment request for vendor Orders.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 10 | 10 |\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": "SubmitShipments", "summary": "SubmitShipments", "parameters": [ { "in": "body", "name": "body", "description": "A request to submit shipment request.", "required": true, "schema": { "$ref": "#/definitions/SubmitShipments" } } ], "responses": { "202": { "description": "Success.", "schema": { "$ref": "#/definitions/SubmitShipmentConfirmationsResponse" }, "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-amazon-spds-sandbox-behaviors": [ { "request": { "parameters": { "body": { "value": { "shipments": [ { "vendorShipmentIdentifier": "00050003", "buyerReferenceNumber": "1234567", "transactionType": "New", "transactionDate": "2019-08-07T19:56:45.632", "shipmentFreightTerm": "Collect", "sellingParty": { "partyId": "PQRSS" }, "shipFromParty": { "address": { "name": "ABC electronics warehouse", "addressLine1": "DEF 1st street", "city": "Lisses", "stateOrRegion": "abcland", "postalCode": "91090", "countryCode": "DE" }, "partyId": "999US" }, "shipToParty": { "partyId": "ABCDF" }, "shipmentMeasurements": { "totalCartonCount": 30, "totalPalletStackable": 30, "totalPalletNonStackable": 30, "shipmentWeight": { "unitOfMeasure": "Kg", "value": "120.45" }, "shipmentVolume": { "unitOfMeasure": "CuFt", "value": "2.4" } }, "collectFreightPickupDetails": { "requestedPickUp": "2019-08-07T19:56:45.632" }, "purchaseOrders": [ { "purchaseOrderNumber": "1BBBAAAA", "items": [ { "itemSequenceNumber": "001", "vendorProductIdentifier": "9782700001659", "buyerProductIdentifier": "9782700001610", "shippedQuantity": { "amount": 100, "unitOfMeasure": "Eaches", "unitSize": 1 }, "maximumRetailPrice": { "currencyCode": "USD", "amount": "90.80" } }, { "itemSequenceNumber": "002", "vendorProductIdentifier": "9782700001600", "buyerProductIdentifier": "9782700001680", "shippedQuantity": { "amount": 100, "unitOfMeasure": "Cases", "unitSize": 1, "totalWeight": { "amount": "182.3", "unitOfMeasure": "POUNDS" } }, "maximumRetailPrice": { "currencyCode": "USD", "amount": "10000" } } ] } ], "importDetails": { "methodOfPayment": "PaidByBuyer", "sealNumber": "0010101", "route": { "stops": [ { "functionCode": "PortOfDischarge", "locationIdentification": { "type": "string", "locationCode": "string", "countryCode": "US" }, "arrivalTime": "2021-07-12T22:22:25.038Z", "departureTime": "2021-07-12T22:22:25.038Z" } ] }, "importContainers": "string", "billableWeight": { "unitOfMeasure": "G", "value": "string" }, "estimatedShipByDate": "2021-07-12T22:22:25.038Z" }, "containers": [ { "containerType": "carton", "containerSequenceNumber": "001", "containerIdentifiers": [ { "containerIdentificationType": "SSCC", "containerIdentificationNumber": "4251245123534" } ], "trackingNumber": "1Z69663R0347795889", "dimensions": { "length": "12", "width": "12", "height": "12", "unitOfMeasure": "IN" }, "weight": { "unitOfMeasure": "KG", "value": "10" }, "packedItems": [ { "itemSequenceNumber": "001", "buyerProductIdentifier": "B07DFVDRAA", "vendorProductIdentifier": "12312412421", "packedQuantity": { "amount": 1, "unitOfMeasure": "Each" }, "itemDetails": { "purchaseOrderNumber": "MBvnLr0fw", "lotNumber": "10101010", "expiry": { "manufacturerDate": "2021-07-12T22:22:25.038Z", "expiryDate": "2021-07-12T22:22:25.038Z", "expiryAfterDuration": { "durationUnit": "Days", "durationValue": 0 } } } } ] }, { "containerType": "pallet", "containerSequenceNumber": "002", "containerIdentifiers": [ { "containerIdentificationType": "SSCC", "containerIdentificationNumber": "ATR123213216" } ], "trackingNumber": "TRACK12345", "dimensions": { "length": "12", "width": "12", "height": "12", "unitOfMeasure": "IN" }, "weight": { "unitOfMeasure": "KG", "value": "10" }, "tier": 2, "block": 2, "innerContainersDetails": { "containerCount": 10, "containerSequenceNumbers": [ { "containerSequenceNumber": "002" }, { "containerSequenceNumber": "003" } ] }, "packedItems": [ { "itemSequenceNumber": "001", "buyerProductIdentifier": "B07DFVDRAA", "vendorProductIdentifier": "12312412421", "packedQuantity": { "amount": 1, "unitOfMeasure": "Each" }, "itemDetails": { "purchaseOrderNumber": "MBvnLr0fw", "lotNumber": "101001", "expiry": { "manufacturerDate": "2021-07-12T22:22:25.038Z", "expiryDate": "2021-07-12T22:22:25.038Z", "expiryAfterDuration": { "durationUnit": "Days", "durationValue": 0 } } } } ] } ], "transportationDetails": { "shipMode": "LessThanTruckLoad", "transportationMode": "Road", "shippedDate": "2019-08-07T19:56:45.632", "estimatedDeliveryDate": "2019-08-07T19:56:45.632", "shipmentDeliveryDate": "2019-08-07T19:56:45.632", "carrierDetails": { "name": "UPS", "phone": "1234567890", "email": "abc@xyz.com", "code": "string", "shipmentReferenceNumber": "TRACK123123" }, "billOfLadingNumber": "1234567890" } } ] } } } }, "response": { "payload": { "transactionId": "mock-TransactionId-5a3066ab-e904-42bd-b6ae-bc70ca1c37e6-20210728234390" } } }, { "request": { "parameters": { "body": { "value": { "shipments": [ { "vendorShipmentIdentifier": "00050003", "buyerReferenceNumber": "1234567", "transactionType": "Cancel", "transactionDate": "2019-08-07T19:56:45.632", "shipmentFreightTerm": "Collect", "sellingParty": { "partyId": "PQRSS" }, "shipFromParty": { "address": { "name": "ABC electronics warehouse", "addressLine1": "DEF 1st street", "city": "Lisses", "stateOrRegion": "abcland", "postalCode": "91090", "countryCode": "DE" }, "partyId": "999US" }, "shipToParty": { "partyId": "ABCDF" } } ] } } } }, "response": { "payload": { "transactionId": "mock-TransactionId-5a3066ab-e904-42bd-b6ae-bc70ca1c37e6-20210728234390" } } }, { "request": { "parameters": { "body": {} } }, "response": { "payload": { "transactionId": "mock-TransactionId-a3066ab-e904-42bd-b6ae-bc70ca1c37e6-20210728234395" } } } ] }, "400": { "description": "Request has missing or invalid parameters and cannot be parsed.", "schema": { "$ref": "#/definitions/SubmitShipmentConfirmationsResponse" }, "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-amazon-spds-sandbox-behaviors": [ { "request": { "parameters": { "body": { "value": { "shipments": [ { "vendorShipmentIdentifier": "MOCKSHIPID" } ] } } } }, "response": { "errors": [ { "code": "InvalidInput", "message": "Invalid Vendor Shipment ID" } ] } } ] }, "403": { "description": "Indicates that access to the resource is forbidden. Possible reasons include Access Denied, Unauthorized, Expired Token, or Invalid Signature.", "schema": { "$ref": "#/definitions/SubmitShipmentConfirmationsResponse" }, "headers": { "x-amzn-RequestId": { "type": "string", "description": "Unique request reference identifier." } } }, "404": { "description": "The resource specified does not exist.", "schema": { "$ref": "#/definitions/SubmitShipmentConfirmationsResponse" }, "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." } } }, "413": { "description": "The request size exceeded the maximum accepted size.", "schema": { "$ref": "#/definitions/SubmitShipmentConfirmationsResponse" }, "headers": { "x-amzn-RequestId": { "type": "string", "description": "Unique request reference identifier." } } }, "415": { "description": "The request payload is in an unsupported format.", "schema": { "$ref": "#/definitions/SubmitShipmentConfirmationsResponse" }, "headers": { "x-amzn-RequestId": { "type": "string", "description": "Unique request reference identifier." } } }, "429": { "description": "The frequency of requests was greater than allowed.", "schema": { "$ref": "#/definitions/SubmitShipmentConfirmationsResponse" }, "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/SubmitShipmentConfirmationsResponse" }, "headers": { "x-amzn-RequestId": { "type": "string", "description": "Unique request reference identifier." } } }, "503": { "description": "Temporary overloading or maintenance of the server.", "schema": { "$ref": "#/definitions/SubmitShipmentConfirmationsResponse" }, "headers": { "x-amzn-RequestId": { "type": "string", "description": "Unique request reference identifier." } } } } }, "get": { "tags": [ "vendorShipping" ], "description": "Returns the Details about Shipment, Carrier Details, status of the shipment, container details and other details related to shipment based on the filter parameters value that you specify.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 10 | 10 |\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": "GetShipmentDetails", "summary": "GetShipmentDetails", "parameters": [ { "name": "limit", "in": "query", "description": "The limit to the number of records returned. Default value is 50 records.", "required": false, "type": "integer", "maximum": 50, "minimum": 1, "format": "int64" }, { "name": "sortOrder", "in": "query", "description": "Sort in ascending or descending order by purchase order creation date.", "required": false, "type": "string", "enum": [ "ASC", "DESC" ], "x-docgen-enum-table-extension": [ { "value": "ASC", "description": "Sort in ascending order by shipment creation date." }, { "value": "DESC", "description": "Sort in descending order by shipment creation date." } ] }, { "name": "nextToken", "in": "query", "description": "Used for pagination when there are more shipments than the specified result size limit.", "required": false, "type": "string" }, { "name": "createdAfter", "in": "query", "description": "Get Shipment Details that became available after this timestamp will be included in the result. Must be in <a href='https://developer-docs.amazon.com/sp-api/docs/iso-8601'>ISO 8601</a> format.", "required": false, "type": "string", "format": "date-time" }, { "name": "createdBefore", "in": "query", "description": "Get Shipment Details that became available before this timestamp will be included in the result. Must be in <a href='https://developer-docs.amazon.com/sp-api/docs/iso-8601'>ISO 8601</a> format.", "required": false, "type": "string", "format": "date-time" }, { "name": "shipmentConfirmedBefore", "in": "query", "description": "Get Shipment Details by passing Shipment confirmed create Date Before. Must be in <a href='https://developer-docs.amazon.com/sp-api/docs/iso-8601'>ISO 8601</a> format.", "required": false, "type": "string", "format": "date-time" }, { "name": "shipmentConfirmedAfter", "in": "query", "description": "Get Shipment Details by passing Shipment confirmed create Date After. Must be in <a href='https://developer-docs.amazon.com/sp-api/docs/iso-8601'>ISO 8601</a> format.", "required": false, "type": "string", "format": "date-time" }, { "name": "packageLabelCreatedBefore", "in": "query", "description": "Get Shipment Details by passing Package label create Date by buyer. Must be in <a href='https://developer-docs.amazon.com/sp-api/docs/iso-8601'>ISO 8601</a> format.", "required": false, "type": "string", "format": "date-time" }, { "name": "packageLabelCreatedAfter", "in": "query", "description": "Get Shipment Details by passing Package label create Date After by buyer. Must be in <a href='https://developer-docs.amazon.com/sp-api/docs/iso-8601'>ISO 8601</a> format.", "required": false, "type": "string", "format": "date-time" }, { "name": "shippedBefore", "in": "query", "description": "Get Shipment Details by passing Shipped Date Before. Must be in <a href='https://developer-docs.amazon.com/sp-api/docs/iso-8601'>ISO 8601</a> format.", "required": false, "type": "string", "format": "date-time" }, { "name": "shippedAfter", "in": "query", "description": "Get Shipment Details by passing Shipped Date After. Must be in <a href='https://developer-docs.amazon.com/sp-api/docs/iso-8601'>ISO 8601</a> format.", "required": false, "type": "string", "format": "date-time" }, { "name": "estimatedDeliveryBefore", "in": "query", "description": "Get Shipment Details by passing Estimated Delivery Date Before. Must be in <a href='https://developer-docs.amazon.com/sp-api/docs/iso-8601'>ISO 8601</a> format.", "required": false, "type": "string", "format": "date-time" }, { "name": "estimatedDeliveryAfter", "in": "query", "description": "Get Shipment Details by passing Estimated Delivery Date Before. Must be in <a href='https://developer-docs.amazon.com/sp-api/docs/iso-8601'>ISO 8601</a> format.", "required": false, "type": "string", "format": "date-time" }, { "name": "shipmentDeliveryBefore", "in": "query", "description": "Get Shipment Details by passing Shipment Delivery Date Before. Must be in <a href='https://developer-docs.amazon.com/sp-api/docs/iso-8601'>ISO 8601</a> format.", "required": false, "type": "string", "format": "date-time" }, { "name": "shipmentDeliveryAfter", "in": "query", "description": "Get Shipment Details by passing Shipment Delivery Date After. Must be in <a href='https://developer-docs.amazon.com/sp-api/docs/iso-8601'>ISO 8601</a> format.", "required": false, "type": "string", "format": "date-time" }, { "name": "requestedPickUpBefore", "in": "query", "description": "Get Shipment Details by passing Before Requested pickup date. Must be in <a href='https://developer-docs.amazon.com/sp-api/docs/iso-8601'>ISO 8601</a> format.", "required": false, "type": "string", "format": "date-time" }, { "name": "requestedPickUpAfter", "in": "query", "description": "Get Shipment Details by passing After Requested pickup date. Must be in <a href='https://developer-docs.amazon.com/sp-api/docs/iso-8601'>ISO 8601</a> format.", "required": false, "type": "string", "format": "date-time" }, { "name": "scheduledPickUpBefore", "in": "query", "description": "Get Shipment Details by passing Before scheduled pickup date. Must be in <a href='https://developer-docs.amazon.com/sp-api/docs/iso-8601'>ISO 8601</a> format.", "required": false, "type": "string", "format": "date-time" }, { "name": "scheduledPickUpAfter", "in": "query", "description": "Get Shipment Details by passing After Scheduled pickup date. Must be in <a href='https://developer-docs.amazon.com/sp-api/docs/iso-8601'>ISO 8601</a> format.", "required": false, "type": "string", "format": "date-time" }, { "name": "currentShipmentStatus", "in": "query", "description": "Get Shipment Details by passing Current shipment status.", "required": false, "type": "string" }, { "name": "vendorShipmentIdentifier", "in": "query", "description": "Get Shipment Details by passing Vendor Shipment ID", "required": false, "type": "string" }, { "name": "buyerReferenceNumber", "in": "query", "description": "Get Shipment Details by passing buyer Reference ID", "required": false, "type": "string" }, { "name": "buyerWarehouseCode", "in": "query", "description": "Get Shipping Details based on buyer warehouse code. This value should be same as 'shipToParty.partyId' in the Shipment.", "required": false, "type": "string" }, { "name": "sellerWarehouseCode", "in": "query", "description": "Get Shipping Details based on vendor warehouse code. This value should be same as 'sellingParty.partyId' in the Shipment.", "required": false, "type": "string" } ], "responses": { "200": { "description": "Success.", "schema": { "$ref": "#/definitions/GetShipmentDetailsResponse" }, "examples": { "application/json": { "payload": { "pagination": { "nextToken": "MDAwMDAwMDAwMQ==" }, "shipments": [ { "vendorShipmentIdentifier": "00050003", "buyerReferenceNumber": "1234567", "currentShipmentStatus": "CarrierAssigned", "currentshipmentStatusDate": "2019-08-09T19:56:45.632", "shipmentStatusDetails": [ { "shipmentStatus": "CarrierAssigned", "shipmentStatusDate": "2019-08-09T19:56:45.632" }, { "shipmentStatus": "TransportationRequested", "shipmentStatusDate": "2019-07-07T19:56:45.632" }, { "shipmentStatus": "Created", "shipmentStatusDate": "2019-07-06T19:56:45.632" } ], "shipmentCreateDate": "2019-07-07T19:56:45.632", "shipmentConfirmDate": "2019-08-07T19:56:45.632", "packageLabelCreateDate": "2019-08-07T19:56:45.632", "shipmentFreightTerm": "Collect", "sellingParty": { "partyId": "998US" }, "shipFromParty": { "address": { "name": "ABC electronics warehouse", "addressLine1": "DEF 1st street", "city": "Lisses", "stateOrRegion": "abcland", "postalCode": "91090", "countryCode": "DE" }, "partyId": "ABCD12" }, "shipToParty": { "partyId": "999US" }, "shipmentMeasurements": { "totalCartonCount": 30, "totalPalletStackable": 30, "totalPalletNonStackable": 30, "shipmentWeight": { "unitOfMeasure": "Kg", "value": "120.45" }, "shipmentVolume": { "unitOfMeasure": "CuFt", "value": "2.4" } }, "collectFreightPickupDetails": { "requestedPickUp": "2019-08-07T19:56:45.632", "scheduledPickUp": "2019-08-07T19:56:45.632", "carrierAssignmentDate": "2019-08-07T19:56:45.632" }, "purchaseOrders": [ { "purchaseOrderNumber": "1BBBAAAA", "purchaseOrderDate": "2019-08-06T19:56:45.632", "shipWindow": "08/25/2021 - 08/31/2021", "items": [ { "itemSequenceNumber": "001", "vendorProductIdentifier": "9782700001659", "buyerProductIdentifier": "9782700001690", "shippedQuantity": { "amount": 100, "unitOfMeasure": "Eaches", "unitSize": 1 }, "maximumRetailPrice": { "currencyCode": "USD", "amount": "12345" } }, { "itemSequenceNumber": "002", "vendorProductIdentifier": "9782700001600", "buyerProductIdentifier": "9782700001680", "shippedQuantity": { "amount": 100, "unitOfMeasure": "Cases", "unitSize": 1, "totalWeight": { "amount": "182.3", "unitOfMeasure": "POUNDS" } }, "maximumRetailPrice": { "currencyCode": "USD", "amount": "10000" } } ] } ], "importDetails": { "methodOfPayment": "PaidByBuyer", "sealNumber": "1232142132", "route": { "stops": [ { "functionCode": "PortOfDischarge", "locationIdentification": { "type": "string", "locationCode": "string", "countryCode": "US" }, "arrivalTime": "2021-07-12T22:22:25.038Z", "departureTime": "2021-07-12T22:22:25.038Z" } ] }, "importContainers": "string", "billableWeight": { "unitOfMeasure": "G", "value": "10" }, "estimatedShipByDate": "2021-07-12T22:22:25.038Z", "handlingInstructions": "Oversized" }, "containers": [ { "containerType": "carton", "containerSequenceNumber": "001", "containerIdentifiers": [ { "containerIdentificationType": "SSCC", "containerIdentificationNumber": "213124134213" } ], "trackingNumber": "XXXX", "dimensions": { "length": "12", "width": "12", "height": "12", "unitOfMeasure": "IN" }, "weight": { "unitOfMeasure": "KG", "value": "10" }, "packedItems": [ { "itemSequenceNumber": "001", "buyerProductIdentifier": "B07DFVDRAA", "vendorProductIdentifier": "12312412421", "packedQuantity": { "amount": 1, "unitOfMeasure": "Each" }, "itemDetails": { "purchaseOrderNumber": "string", "lotNumber": "string", "expiry": { "manufacturerDate": "2021-07-12T22:22:25.038Z", "expiryDate": "2021-07-12T22:22:25.038Z", "expiryAfterDuration": { "durationUnit": "Days", "durationValue": 0 } } } }, { "containerType": "pallet", "containerSequenceNumber": "002", "containerIdentifiers": [ { "containerIdentificationType": "SSCC", "containerIdentificationNumber": "ARK123214214213" } ], "trackingNumber": "TRACK001",