Download OpenAPI specification:Download
The Amazon Shipping API is designed to support outbound shipping use cases both for orders originating on Amazon-owned marketplaces as well as external channels/marketplaces. With these APIs, you can request shipping rates, create shipments, cancel shipments, and track shipments.
Returns the available shipping service offerings.
Usage Plan:
Rate (requests per second) | Burst |
---|---|
80 | 100 |
The 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 then those shown here. For more information, see Usage Plans and Rate Limits in the Selling Partner API.
x-amzn-shipping-business-id | string Enum: "AmazonShipping_US" "AmazonShipping_IN" "AmazonShipping_UK" "AmazonShipping_UAE" "AmazonShipping_SA" "AmazonShipping_EG" "AmazonShipping_IT" Amazon shipping business to assume for this request. The default is AmazonShipping_UK. |
object (Address) The address. | |
required | object (Address) The address. |
object (Address) The address. | |
shipDate | string <date-time> The ship date and time (the requested pickup). This defaults to the current date and time. |
required | Array of objects (Package) A list of packages to be shipped through a shipping service offering. |
object (ValueAddedServiceDetails) A collection of supported value-added services. | |
Array of objects (TaxDetail) A list of tax detail information. | |
required | object (ChannelDetails) Shipment source channel related information. |
{- "shipTo": {
- "name": "string",
- "addressLine1": "string",
- "addressLine2": "string",
- "addressLine3": "string",
- "companyName": "string",
- "stateOrRegion": "string",
- "city": "string",
- "countryCode": "string",
- "postalCode": "string",
- "email": "string",
- "phoneNumber": "string"
}, - "shipFrom": {
- "name": "string",
- "addressLine1": "string",
- "addressLine2": "string",
- "addressLine3": "string",
- "companyName": "string",
- "stateOrRegion": "string",
- "city": "string",
- "countryCode": "string",
- "postalCode": "string",
- "email": "string",
- "phoneNumber": "string"
}, - "returnTo": {
- "name": "string",
- "addressLine1": "string",
- "addressLine2": "string",
- "addressLine3": "string",
- "companyName": "string",
- "stateOrRegion": "string",
- "city": "string",
- "countryCode": "string",
- "postalCode": "string",
- "email": "string",
- "phoneNumber": "string"
}, - "shipDate": "2019-08-24T14:15:22Z",
- "packages": [
- {
- "dimensions": {
- "length": 0,
- "width": 0,
- "height": 0,
- "unit": "INCH"
}, - "weight": {
- "unit": "GRAM",
- "value": 0
}, - "insuredValue": {
- "value": 0,
- "unit": "str"
}, - "isHazmat": true,
- "sellerDisplayName": "string",
- "charges": [
- {
- "amount": {
- "value": 0,
- "unit": "str"
}, - "chargeType": "TAX"
}
], - "packageClientReferenceId": "string",
- "items": [
- {
- "itemValue": {
- "value": 0,
- "unit": "str"
}, - "description": "string",
- "itemIdentifier": "string",
- "quantity": 0,
- "weight": {
- "unit": "GRAM",
- "value": 0
}, - "isHazmat": true,
- "productType": "string",
- "invoiceDetails": {
- "invoiceNumber": "string",
- "invoiceDate": "2019-08-24T14:15:22Z"
}, - "serialNumbers": [
- "string"
], - "directFulfillmentItemIdentifiers": {
- "lineItemID": "string",
- "pieceNumber": "string"
}
}
]
}
], - "valueAddedServices": {
- "collectOnDelivery": {
- "amount": {
- "value": 0,
- "unit": "str"
}
}
}, - "taxDetails": [
- {
- "taxType": "GST",
- "taxRegistrationNumber": "string"
}
], - "channelDetails": {
- "channelType": "AMAZON",
- "amazonOrderDetails": {
- "orderId": "string"
}, - "amazonShipmentDetails": {
- "shipmentId": "string"
}
}
}
{- "requestToken": "6DCCEDD3FF961C15FEB94F342D41C",
- "rates": [
- {
- "rateId": "F4B68849F969E239FF9FCA9C12E35",
- "carrierId": "FOOSHIPGRD",
- "carrierName": "FOO SHIP GRD",
- "billedWeight": {
- "value": 5,
- "unit": "GRAMS"
}, - "totalCharge": {
- "value": 7,
- "unit": "USD"
}, - "serviceId": "FOORSID",
- "serviceName": "FOO RS ID",
- "promise": {
- "deliveryWindow": {
- "startTime": "2018-08-24T08:22:30.737Z",
- "endTime": "2018-08-24T20:22:30.737Z"
}, - "pickupWindow": {
- "startTime": "2018-08-23T08:22:30.737Z",
- "endTime": "2018-08-23T20:22:30.737Z"
}
}, - "supportedDocumentSpecifications": [
- {
- "format": "PNG",
- "size": {
- "length": 6,
- "width": 4,
- "unit": "INCH"
}, - "printOptions": [
- {
- "supportedDPIs": [
- 300,
- 203
], - "supportedPageLayouts": [
- "LEFT",
- "RIGHT"
], - "supportedFileJoiningOptions": [
- true,
- false
], - "supportedDocumentDetails": [
- {
- "name": "LABEL",
- "isMandatory": true
}
]
}
]
}, - {
- "format": "ZPL",
- "size": {
- "length": 6,
- "width": 4,
- "unit": "INCH"
}, - "printOptions": [
- {
- "supportedDPIs": [
- 300,
- 203
], - "supportedPageLayouts": [
- "LEFT",
- "RIGHT"
], - "supportedFileJoiningOptions": [
- true,
- false
], - "supportedDocumentDetails": [
- {
- "name": "LABEL",
- "isMandatory": true
}
]
}
]
}
], - "availableValueAddedServiceGroups": [
- {
- "groupId": "SIG_VERIFICATION",
- "groupDescription": "Signature Verification",
- "isRequired": true,
- "valueAddedServices": [
- {
- "id": "CUST_SIG_VERIFICATION",
- "name": "Customer Signature Verification",
- "cost": {
- "unit": "USD",
- "value": 2
}
}
]
}
], - "requiresAdditionalInputs": false
}
], - "ineligibleRates": [
- {
- "carrierId": "FOOSTDGRD",
- "serviceId": "FOO8420430",
- "carrierName": "FOOSTDGRD",
- "serviceName": "FOO8420430",
- "ineligibilityReasons": [
- {
- "code": "NO_COVERAGE",
- "message": "Required shipping network coverage doesn't exist for the offering"
}
]
}
]
}
Purchases the shipping service for a shipment using the best fit service offering. Returns purchase related details and documents.
Usage Plan:
Rate (requests per second) | Burst |
---|---|
80 | 100 |
The 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 then those shown here. For more information, see Usage Plans and Rate Limits in the Selling Partner API.
x-amzn-IdempotencyKey | string A unique value which the server uses to recognize subsequent retries of the same request. |
locale | string The IETF Language Tag. Note that this only supports the primary language subtag with one secondary language subtag (i.e. en-US, fr-CA). The secondary language subtag is almost always a regional designation. This does not support additional subtags beyond the primary and secondary language subtags. |
x-amzn-shipping-business-id | string Enum: "AmazonShipping_US" "AmazonShipping_IN" "AmazonShipping_UK" "AmazonShipping_UAE" "AmazonShipping_SA" "AmazonShipping_EG" "AmazonShipping_IT" Amazon shipping business to assume for this request. The default is AmazonShipping_UK. |
object (Address) The address. | |
object (Address) The address. | |
object (Address) The address. | |
Array of objects (Package) A list of packages to be shipped through a shipping service offering. | |
required | object (ChannelDetails) Shipment source channel related information. |
object (RequestedDocumentSpecification) The document specifications requested. For calls to the purchaseShipment operation, the shipment purchase fails if the specified document specifications are not among those returned in the response to the getRates operation. |
{- "shipTo": {
- "name": "string",
- "addressLine1": "string",
- "addressLine2": "string",
- "addressLine3": "string",
- "companyName": "string",
- "stateOrRegion": "string",
- "city": "string",
- "countryCode": "string",
- "postalCode": "string",
- "email": "string",
- "phoneNumber": "string"
}, - "shipFrom": {
- "name": "string",
- "addressLine1": "string",
- "addressLine2": "string",
- "addressLine3": "string",
- "companyName": "string",
- "stateOrRegion": "string",
- "city": "string",
- "countryCode": "string",
- "postalCode": "string",
- "email": "string",
- "phoneNumber": "string"
}, - "returnTo": {
- "name": "string",
- "addressLine1": "string",
- "addressLine2": "string",
- "addressLine3": "string",
- "companyName": "string",
- "stateOrRegion": "string",
- "city": "string",
- "countryCode": "string",
- "postalCode": "string",
- "email": "string",
- "phoneNumber": "string"
}, - "packages": [
- {
- "dimensions": {
- "length": 0,
- "width": 0,
- "height": 0,
- "unit": "INCH"
}, - "weight": {
- "unit": "GRAM",
- "value": 0
}, - "insuredValue": {
- "value": 0,
- "unit": "str"
}, - "isHazmat": true,
- "sellerDisplayName": "string",
- "charges": [
- {
- "amount": {
- "value": 0,
- "unit": "str"
}, - "chargeType": "TAX"
}
], - "packageClientReferenceId": "string",
- "items": [
- {
- "itemValue": {
- "value": 0,
- "unit": "str"
}, - "description": "string",
- "itemIdentifier": "string",
- "quantity": 0,
- "weight": {
- "unit": "GRAM",
- "value": 0
}, - "isHazmat": true,
- "productType": "string",
- "invoiceDetails": {
- "invoiceNumber": "string",
- "invoiceDate": "2019-08-24T14:15:22Z"
}, - "serialNumbers": [
- "string"
], - "directFulfillmentItemIdentifiers": {
- "lineItemID": "string",
- "pieceNumber": "string"
}
}
]
}
], - "channelDetails": {
- "channelType": "AMAZON",
- "amazonOrderDetails": {
- "orderId": "string"
}, - "amazonShipmentDetails": {
- "shipmentId": "string"
}
}, - "labelSpecifications": {
- "format": "PDF",
- "size": {
- "width": 0,
- "length": 0,
- "unit": "INCH"
}, - "dpi": 0,
- "pageLayout": "string",
- "needFileJoining": true,
- "requestedDocumentTypes": [
- "PACKSLIP"
]
}
}
{- "shipmentId": "445454-3232-3232",
- "packageDocumentDetailList": [
- {
- "packageClientReferenceId": "ASUSDI-45343854",
- "trackingId": "T1234567",
- "packageDocuments": [
- {
- "type": "LABEL",
- "format": "PNG",
- "contents": "iVBORw0KGgoAAAANSUhEUgAAAywAAATCCAMAAABouZLTAAAABlBMVEUAAAD///+l2Z/dAAAACXBIWXMAAB84AAAfOAGTPyf1AAAfLklEQVR42u3dCXajShZAQb2u2v+WX3+XNTBkMgkQoIhz+ndZlsCWucpEA0TcgCn+5y4AsYBYQCwgFhALiAUQC4gFxAJiAbGAWEAsgFhALCAWEAuIBcQCiAXEAmIBsYBYQCwgFkAsIBYQC4gFxAJiAbEAYgGxgFhALCAWEAsgFhALiAXEAmIBsYBYALGAWEAsIBYQC1zaX3fBeaW7YCVhZAHTMDANY4vpw6cninGGH9LIAqZhIBYQC4gFxAKIBcQCYgGxgFhALCAWQCwgFhALiAXEAmIB9vkM/s9nnGPuDTq3KFw0/4doLODt5SGWFft4bI358/85Z8OM/jEEnhflwm28s8xw0C0OEku8Nur0CL6rvDUeqCrXiCmjf94aS8qxha71w0f1Qbd2te4kofOgeLJpmBnPrqnct+0s3uc5XFhh8P1dSmz/mJe1X+aWnd8le9fJ3GMLO90OfoTuxh+Worj1ZdZaiQmL3fR+L/1ozz6j/th7v07scixbB9m7aDJZaCBuy7epjM0Tz0orE0ejjLPHku1f+zGwZ2ucb06YC89aFean2Xr+4HlX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hALIBYQC4gFxAJiAbEAYgGxgFhALCAWEAuIBRALiAXEAmIBsYBYQCyAWEAsIBYQC4gFxAKIBcQCYgGxgFhALCAWQCwgFhALiAXEAmIBsQBiAbGAWEAsIBYQCyAWEAuIBcQCYgGxgFgAsYBYQCwgFhALiAUQC4gFxAJiAbGAWEAsgFhALCAWEAuIBcQCYgHEAmIBsYBYQCwgFkAsIBYQC4gFxAJiAbEAYgGxgFhALCAWEAsgFhALiAXEAmIBsYBYALGAWEAsIBYQC4gFxAKIBcQCYgGxgFhALIBYQCwgFhALiAXEAmIByv4PwWms3AV97VoAAAAASUVORK5CYII="
}
]
}
]
}
Purchases a shipping service and returns purchase related details and documents.
Note: You must complete the purchase within 10 minutes of rate creation by the shipping service provider. If you make the request after the 10 minutes have expired, you will receive an error response with the error code equal to "TOKEN_EXPIRED". If you receive this error response, you must get the rates for the shipment again.
Usage Plan:
Rate (requests per second) | Burst |
---|---|
80 | 100 |
The 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 then those shown here. For more information, see Usage Plans and Rate Limits in the Selling Partner API.
x-amzn-IdempotencyKey | string A unique value which the server uses to recognize subsequent retries of the same request. |
x-amzn-shipping-business-id | string Enum: "AmazonShipping_US" "AmazonShipping_IN" "AmazonShipping_UK" "AmazonShipping_UAE" "AmazonShipping_SA" "AmazonShipping_EG" "AmazonShipping_IT" Amazon shipping business to assume for this request. The default is AmazonShipping_UK. |
requestToken required | string A unique token generated to identify a getRates operation. |
rateId required | string An identifier for the rate (shipment offering) provided by a shipping service provider. |
required | object (RequestedDocumentSpecification) The document specifications requested. For calls to the purchaseShipment operation, the shipment purchase fails if the specified document specifications are not among those returned in the response to the getRates operation. |
Array of objects (RequestedValueAddedService) The value-added services to be added to a shipping service purchase. | |
object The additional inputs required to purchase a shipping offering, in JSON format. The JSON provided here must adhere to the JSON schema that is returned in the response to the getAdditionalInputs operation. Additional inputs are only required when indicated by the requiresAdditionalInputs property in the response to the getRates operation. |
{- "requestToken": "string",
- "rateId": "string",
- "requestedDocumentSpecification": {
- "format": "PDF",
- "size": {
- "width": 0,
- "length": 0,
- "unit": "INCH"
}, - "dpi": 0,
- "pageLayout": "string",
- "needFileJoining": true,
- "requestedDocumentTypes": [
- "PACKSLIP"
]
}, - "requestedValueAddedServices": [
- {
- "id": "string"
}
], - "additionalInputs": {
- "property1": null,
- "property2": null
}
}
{- "shipmentId": "87852211788104",
- "packageDocumentDetails": [
- {
- "packageClientReferenceId": "abcd",
- "packageDocuments": [
- {
- "type": "LABEL",
- "format": "PNG",
- "contents": "sdioadaiosfhdodsaiufhouafhoudfhdouahfac=="
}
], - "trackingId": 1578648261977
}
], - "promise": {
- "pickupWindow": {
- "startTime": "2019-12-11T07:09:05.513Z",
- "endTime": "2019-12-11T09:09:05.513Z"
}, - "deliveryWindow": {
- "startTime": "2019-12-13T07:09:05.513Z",
- "endTime": "2019-12-13T09:09:05.513Z"
}
}
}
Returns tracking information for a purchased shipment.
Usage Plan:
Rate (requests per second) | Burst |
---|---|
80 | 100 |
The 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 then those shown here. For more information, see Usage Plans and Rate Limits in the Selling Partner API.
trackingId required | string A carrier-generated tracking identifier originally returned by the purchaseShipment operation. |
carrierId required | string A carrier identifier originally returned by the getRates operation for the selected rate. |
x-amzn-shipping-business-id | string Enum: "AmazonShipping_US" "AmazonShipping_IN" "AmazonShipping_UK" "AmazonShipping_UAE" "AmazonShipping_SA" "AmazonShipping_EG" "AmazonShipping_IT" Amazon shipping business to assume for this request. The default is AmazonShipping_UK. |
{- "trackingId": "23AA47DE2B3B6",
- "alternateLegTrackingId": "null",
- "eventHistory": [
- {
- "eventCode": "ReadyForReceive",
- "location": {
- "postalCode": "4883493",
- "countryCode": "CC"
}, - "eventTime": "2019-12-11T07:09:05.513Z"
}
], - "promisedDeliveryDate": "2019-12-12T13:09:05.513Z",
- "summary": {
- "status": "PreTransit"
}
}
Returns the shipping documents associated with a package in a shipment.
Usage Plan:
Rate (requests per second) | Burst |
---|---|
80 | 100 |
The 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 then those shown here. For more information, see Usage Plans and Rate Limits in the Selling Partner API.
shipmentId required | string The shipment identifier originally returned by the purchaseShipment operation. |
packageClientReferenceId required | string The package client reference identifier originally provided in the request body parameter for the getRates operation. |
format | string The file format of the document. Must be one of the supported formats returned by the getRates operation. |
dpi | number <double> The resolution of the document (for example, 300 means 300 dots per inch). Must be one of the supported resolutions returned in the response to the getRates operation. |
x-amzn-shipping-business-id | string Enum: "AmazonShipping_US" "AmazonShipping_IN" "AmazonShipping_UK" "AmazonShipping_UAE" "AmazonShipping_SA" "AmazonShipping_EG" "AmazonShipping_IT" Amazon shipping business to assume for this request. The default is AmazonShipping_UK. |
{- "shipmentId": "445454-3232-3232",
- "packageDocumentDetail": {
- "packageClientReferenceId": "ASUSDI-45343854",
- "trackingId": "T1234567",
- "packageDocuments": [
- {
- "type": "LABEL",
- "format": "PNG",
- "contents": "sdioadaiosfhdodsaiufhouafhoudfhdouahfac=="
}
]
}
}
Cancels a purchased shipment. Returns an empty object if the shipment is successfully cancelled.
Usage Plan:
Rate (requests per second) | Burst |
---|---|
80 | 100 |
The 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 then those shown here. For more information, see Usage Plans and Rate Limits in the Selling Partner API.
shipmentId required | string The shipment identifier originally returned by the purchaseShipment operation. |
x-amzn-shipping-business-id | string Enum: "AmazonShipping_US" "AmazonShipping_IN" "AmazonShipping_UK" "AmazonShipping_UAE" "AmazonShipping_SA" "AmazonShipping_EG" "AmazonShipping_IT" Amazon shipping business to assume for this request. The default is AmazonShipping_UK. |
{ }
Returns the JSON schema to use for providing additional inputs when needed to purchase a shipping offering. Call the getAdditionalInputs operation when the response to a previous call to the getRates operation indicates that additional inputs are required for the rate (shipping offering) that you want to purchase.
Usage Plan:
Rate (requests per second) | Burst |
---|---|
80 | 100 |
The 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 then those shown here. For more information, see Usage Plans and Rate Limits in the Selling Partner API.
requestToken required | string The request token returned in the response to the getRates operation. |
rateId required | string The rate identifier for the shipping offering (rate) returned in the response to the getRates operation. |
x-amzn-shipping-business-id | string Enum: "AmazonShipping_US" "AmazonShipping_IN" "AmazonShipping_UK" "AmazonShipping_UAE" "AmazonShipping_SA" "AmazonShipping_EG" "AmazonShipping_IT" Amazon shipping business to assume for this request. The default is AmazonShipping_UK. |
{- "payload": {
- "title": "Additional inputs for Shipping Offering",
- "type": "object",
- "properties": {
- "harmonizedSystemCode": {
- "type": "string",
- "description": "Harmonized System's commodity code for an item."
}, - "packageClientReferenceId": {
- "type": "string",
- "description": "Unique identifier for the item."
}
}
}
}