Shipping API v2 Reference

Provides programmatic access to Amazon Shipping v2 APIs.

Overview

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.

Carrier Support: Sellers enrolled in the Fulfilled by Merchant (FBM) Program can use this Shipping API V2 to purchase shipping labels for Amazon Shipping and/or third party shipping carriers like UPS, USPS, FedEx, DHL, etc. Complete list of supported carriers and shipping services can be found on Seller Central.

  • For Amazon marketplace orders (On-Amazon): Carrier labels for Amazon Shipping and third party carriers are available
  • For other channels (Off-Amazon) e.g. Merchant website, eBay, Shopify etc: Only Amazon Shipping is available.

To indicate if the label you are purchasing is for On-Amazon or Off-Amazon, use ChannelType.

Version information

Version : v2

URI scheme

Host : available hosts for amazon shipping v2 apis
Schemes : HTTPS

Consumes

  • application/json

Produces

  • application/json

Operations

getRates
purchaseShipment
oneClickShipment
getTracking
getShipmentDocuments
cancelShipment
getAccessPoints
submitNdrFeedback
getAdditionalInputs

Paths

POST /shipping/v2/shipments/rates

Operation: getRates

Description

Returns the available shipping service offerings.

Usage Plan:

Default QuotaUnit
5Requests Per Second

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 for this operation. For more information, see Usage Plans and Rate Limits in the Selling Partner API.

Parameters

TypeNameDescriptionSchema
Bodybody
required
The request schema for the getRates operation. When the channelType is Amazon, the shipTo address is not required and will be ignored.GetRatesRequest
Headerx-amz-access-token
required
Amazon shipping request tokenstring
Headerx-amzn-shipping-business-id
required
Amazon shipping business to assume for this request. The default is AmazonShipping_UK.enum (X-amzn-shipping-business-id)

Responses

HTTP CodeDescriptionSchema
200Success.
Headers :
x-amzn-RateLimit-Limit (string) : Your rate limit (requests per second) for this operation.
x-amzn-RequestId (string) : Unique request reference identifier.
GetRatesResponse
401The request's Authorization header is not formatted correctly or does not contain a valid token.
Headers :
x-amzn-RateLimit-Limit (string) : Your rate limit (requests per second) for this operation.
Note: For this status code, the rate limit header is deprecated and no longer returned.
x-amzn-RequestId (string) : Unique request reference identifier.
ErrorList
413The request size exceeded the maximum accepted size.
Headers :
x-amzn-RateLimit-Limit (string) : Your rate limit (requests per second) for this operation.
Note: For this status code, the rate limit header is deprecated and no longer returned.
x-amzn-RequestId (string) : Unique request reference identifier.
ErrorList
415The request payload is in an unsupported format.
Headers :
x-amzn-RateLimit-Limit (string) : Your rate limit (requests per second) for this operation.
Note: For this status code, the rate limit header is deprecated and no longer returned.
x-amzn-RequestId (string) : Unique request reference identifier.
ErrorList
429The frequency of requests was greater than allowed.
Headers :
x-amzn-RateLimit-Limit (string) : Your rate limit (requests per second) for this operation.
Note: For this status code, the rate limit header is deprecated and no longer returned.
x-amzn-RequestId (string) : Unique request reference identifier.
ErrorList
500An unexpected condition occurred that prevented the server from fulfilling the request.
Headers :
x-amzn-RateLimit-Limit (string) : Your rate limit (requests per second) for this operation.
Note: For this status code, the rate limit header is deprecated and no longer returned.
x-amzn-RequestId (string) : Unique request reference identifier.
ErrorList
503Temporary overloading or maintenance of the server.
Headers :
x-amzn-RateLimit-Limit (string) : Your rate limit (requests per second) for this operation.
Note: For this status code, the rate limit header is deprecated and no longer returned.
x-amzn-RequestId (string) : Unique request reference identifier.
ErrorList

For additional error status codes, descriptions and schemas, see Error responses and schemas.

POST /shipping/v2/shipments

Operation: purchaseShipment

Description

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 for channelType as EXTERNAL which is for OFF-Amazon volume. 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:

Default QuotaUnit
5Requests Per Second

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 for this operation. For more information, see Usage Plans and Rate Limits in the Selling Partner API.

Parameters

TypeNameDescriptionSchema
Bodybody
required
The request schema for the purchaseShipment operation.PurchaseShipmentRequest
Headerx-amz-access-token
required
Amazon shipping request tokenstring
Headerx-amzn-shipping-business-id
required
Amazon shipping business to assume for this request. The default is AmazonShipping_UK.enum (X-amzn-shipping-business-id)

Responses

HTTP CodeDescriptionSchema
200Success.
Headers :
x-amzn-RateLimit-Limit (string) : Your rate limit (requests per second) for this operation.
x-amzn-RequestId (string) : Unique request reference identifier.
PurchaseShipmentResponse
401The request's Authorization header is not formatted correctly or does not contain a valid token.
Headers :
x-amzn-RateLimit-Limit (string) : Your rate limit (requests per second) for this operation.
Note: For this status code, the rate limit header is deprecated and no longer returned.
x-amzn-RequestId (string) : Unique request reference identifier.
ErrorList
413The request size exceeded the maximum accepted size.
Headers :
x-amzn-RateLimit-Limit (string) : Your rate limit (requests per second) for this operation.
Note: For this status code, the rate limit header is deprecated and no longer returned.
x-amzn-RequestId (string) : Unique request reference identifier.
ErrorList
415The request payload is in an unsupported format.
Headers :
x-amzn-RateLimit-Limit (string) : Your rate limit (requests per second) for this operation.
Note: For this status code, the rate limit header is deprecated and no longer returned.
x-amzn-RequestId (string) : Unique request reference identifier.
ErrorList
429The frequency of requests was greater than allowed.
Headers :
x-amzn-RateLimit-Limit (string) : Your rate limit (requests per second) for this operation.
Note: For this status code, the rate limit header is deprecated and no longer returned.
x-amzn-RequestId (string) : Unique request reference identifier.
ErrorList
500An unexpected condition occurred that prevented the server from fulfilling the request.
Headers :
x-amzn-RateLimit-Limit (string) : Your rate limit (requests per second) for this operation.
Note: For this status code, the rate limit header is deprecated and no longer returned.
x-amzn-RequestId (string) : Unique request reference identifier.
ErrorList
503Temporary overloading or maintenance of the server.
Headers :
x-amzn-RateLimit-Limit (string) : Your rate limit (requests per second) for this operation.
Note: For this status code, the rate limit header is deprecated and no longer returned.
x-amzn-RequestId (string) : Unique request reference identifier.
ErrorList

For additional error status codes, descriptions and schemas, see Error responses and schemas.

POST /shipping/v2/oneClickShipment

Operation: oneClickShipment

Description

Purchases a shipping service identifier and returns purchase-related details and documents.

Usage Plan:

Default QuotaUnit
5Requests Per Second

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 for this operation. For more information, see Usage Plans and Rate Limits in the Selling Partner API.

Parameters

TypeNameDescriptionSchema
Bodybody
required
The request schema for the OneClickShipment operation. When the channelType is not Amazon, shipTo is required and when channelType is Amazon shipTo is ignored.OneClickShipmentRequest
Headerx-amz-access-token
required
Amazon shipping request tokenstring
Headerx-amzn-shipping-business-id
required
Amazon shipping business to assume for this request. The default is AmazonShipping_UK.enum (X-amzn-shipping-business-id)

Responses

HTTP CodeDescriptionSchema
200Success.
Headers :
x-amzn-RateLimit-Limit (string) : Your rate limit (requests per second) for this operation.
x-amzn-RequestId (string) : Unique request reference identifier.
OneClickShipmentResponse
401The request's Authorization header is not formatted correctly or does not contain a valid token.
Headers :
x-amzn-RateLimit-Limit (string) : Your rate limit (requests per second) for this operation.
Note: For this status code, the rate limit header is deprecated and no longer returned.
x-amzn-RequestId (string) : Unique request reference identifier.
ErrorList
413The request size exceeded the maximum accepted size.
Headers :
x-amzn-RateLimit-Limit (string) : Your rate limit (requests per second) for this operation.
Note: For this status code, the rate limit header is deprecated and no longer returned.
x-amzn-RequestId (string) : Unique request reference identifier.
ErrorList
415The request payload is in an unsupported format.
Headers :
x-amzn-RateLimit-Limit (string) : Your rate limit (requests per second) for this operation.
Note: For this status code, the rate limit header is deprecated and no longer returned.
x-amzn-RequestId (string) : Unique request reference identifier.
ErrorList
429The frequency of requests was greater than allowed.
Headers :
x-amzn-RateLimit-Limit (string) : Your rate limit (requests per second) for this operation.
Note: For this status code, the rate limit header is deprecated and no longer returned.
x-amzn-RequestId (string) : Unique request reference identifier.
ErrorList
500An unexpected condition occurred that prevented the server from fulfilling the request.
Headers :
x-amzn-RateLimit-Limit (string) : Your rate limit (requests per second) for this operation.
Note: For this status code, the rate limit header is deprecated and no longer returned.
x-amzn-RequestId (string) : Unique request reference identifier.
ErrorList
503Temporary overloading or maintenance of the server.
Headers :
x-amzn-RateLimit-Limit (string) : Your rate limit (requests per second) for this operation.
Note: For this status code, the rate limit header is deprecated and no longer returned.
x-amzn-RequestId (string) : Unique request reference identifier.
ErrorList

For additional error status codes, descriptions and schemas, see Error responses and schemas.

GET /shipping/v2/tracking

Operation: getTracking

Description

Returns tracking information for a purchased shipment.

Usage Plan:

Default QuotaUnit
5Requests Per Second

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. For more information, see Usage Plans and Rate Limits in the Selling Partner API.

Parameters

TypeNameDescriptionSchema
QuerytrackingId
required
A carrier-generated tracking identifier originally returned by the purchaseShipment operation.string
QuerycarrierId
required
A carrier identifier originally returned by the getRates operation for the selected rate.enum (carrier-id )
Headerx-amz-access-token
required
Amazon shipping request tokenstring
Headerx-amzn-shipping-business-id
optional
Amazon shipping business to assume for this request. The default is AmazonShipping_UK.enum (X-amzn-shipping-business-id)

Responses

HTTP CodeDescriptionSchema
200Success.
Headers :
x-amzn-RateLimit-Limit (string) : Your rate limit (requests per second) for this operation.
x-amzn-RequestId (string) : Unique request reference identifier.
GetTrackingResponse
401The request's Authorization header is not formatted correctly or does not contain a valid token.
Headers :
x-amzn-RateLimit-Limit (string) : Your rate limit (requests per second) for this operation.
Note: For this status code, the rate limit header is deprecated and no longer returned.
x-amzn-RequestId (string) : Unique request reference identifier.
ErrorList
413The request size exceeded the maximum accepted size.
Headers :
x-amzn-RateLimit-Limit (string) : Your rate limit (requests per second) for this operation.
Note: For this status code, the rate limit header is deprecated and no longer returned.
x-amzn-RequestId (string) : Unique request reference identifier.
ErrorList
415The request payload is in an unsupported format.
Headers :
x-amzn-RateLimit-Limit (string) : Your rate limit (requests per second) for this operation.
Note: For this status code, the rate limit header is deprecated and no longer returned.
x-amzn-RequestId (string) : Unique request reference identifier.
ErrorList
429The frequency of requests was greater than allowed.
Headers :
x-amzn-RateLimit-Limit (string) : Your rate limit (requests per second) for this operation.
Note: For this status code, the rate limit header is deprecated and no longer returned.
x-amzn-RequestId (string) : Unique request reference identifier.
ErrorList
500An unexpected condition occurred that prevented the server from fulfilling the request.
Headers :
x-amzn-RateLimit-Limit (string) : Your rate limit (requests per second) for this operation.
Note: For this status code, the rate limit header is deprecated and no longer returned.
x-amzn-RequestId (string) : Unique request reference identifier.
ErrorList
503Temporary overloading or maintenance of the server.
Headers :
x-amzn-RateLimit-Limit (string) : Your rate limit (requests per second) for this operation.
Note: For this status code, the rate limit header is deprecated and no longer returned.
x-amzn-RequestId (string) : Unique request reference identifier.
ErrorList

For additional error status codes, descriptions and schemas, see Error responses and schemas.

GET /shipping/v2/shipments/{shipmentId}/documents

Operation: getShipmentDocuments

Description

Returns the shipping documents associated with a package in a shipment.

Usage Plan:

Default QuotaUnit
5Requests Per Second

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 for this operation. For more information, see Usage Plans and Rate Limits in the Selling Partner API.

Parameters

TypeNameDescriptionSchema
PathshipmentId
required
The shipment identifier originally returned by the purchaseShipment operation.string
QuerypackageClientReferenceId
required
The package client reference identifier originally provided in the request body parameter for the getRates operation.string
Queryformat
optional
The file format of the document. Must be one of the supported formats returned by the getRates operation.string
Querydpi
optional
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.number
Headerx-amz-access-token
required
Amazon shipping request tokenstring
Headerx-amzn-shipping-business-id
required
Amazon shipping business to assume for this request. The default is AmazonShipping_UK.enum (X-amzn-shipping-business-id)

Responses

HTTP CodeDescriptionSchema
200Success.
Headers :
x-amzn-RateLimit-Limit (string) : Your rate limit (requests per second) for this operation.
x-amzn-RequestId (string) : Unique request reference identifier.
GetShipmentDocumentsResponse
401The request's Authorization header is not formatted correctly or does not contain a valid token.
Headers :
x-amzn-RateLimit-Limit (string) : Your rate limit (requests per second) for this operation.
Note: For this status code, the rate limit header is deprecated and no longer returned.
x-amzn-RequestId (string) : Unique request reference identifier.
ErrorList
413The request size exceeded the maximum accepted size.
Headers :
x-amzn-RateLimit-Limit (string) : Your rate limit (requests per second) for this operation.
Note: For this status code, the rate limit header is deprecated and no longer returned.
x-amzn-RequestId (string) : Unique request reference identifier.
ErrorList
415The request payload is in an unsupported format.
Headers :
x-amzn-RateLimit-Limit (string) : Your rate limit (requests per second) for this operation.
Note: For this status code, the rate limit header is deprecated and no longer returned.
x-amzn-RequestId (string) : Unique request reference identifier.
ErrorList
429The frequency of requests was greater than allowed.
Headers :
x-amzn-RateLimit-Limit (string) : Your rate limit (requests per second) for this operation.
Note: For this status code, the rate limit header is deprecated and no longer returned.
x-amzn-RequestId (string) : Unique request reference identifier.
ErrorList
500An unexpected condition occurred that prevented the server from fulfilling the request.
Headers :
x-amzn-RateLimit-Limit (string) : Your rate limit (requests per second) for this operation.
Note: For this status code, the rate limit header is deprecated and no longer returned.
x-amzn-RequestId (string) : Unique request reference identifier.
ErrorList
503Temporary overloading or maintenance of the server.
Headers :
x-amzn-RateLimit-Limit (string) : Your rate limit (requests per second) for this operation.
Note: For this status code, the rate limit header is deprecated and no longer returned.
x-amzn-RequestId (string) : Unique request reference identifier.
ErrorList

For additional error status codes, descriptions and schemas, see Error responses and schemas.

PUT /shipping/v2/shipments/{shipmentId}/cancel

Operation: cancelShipment

Description

Cancels a purchased shipment. Returns an empty object if the shipment is successfully cancelled.

Usage Plan:

Default QuotaUnit
5Requests Per Second

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 for this operation. For more information, see Usage Plans and Rate Limits in the Selling Partner API.

Parameters

TypeNameDescriptionSchema
PathshipmentId
required
The shipment identifier originally returned by the purchaseShipment operation.string
Headerx-amz-access-token
required
Amazon shipping request tokenstring
Headerx-amzn-shipping-business-id
required
Amazon shipping business to assume for this request. The default is AmazonShipping_UK.enum (X-amzn-shipping-business-id)

Responses

HTTP CodeDescriptionSchema
200Success.
Headers :
x-amzn-RateLimit-Limit (string) : Your rate limit (requests per second) for this operation.
x-amzn-RequestId (string) : Unique request reference identifier.
CancelShipmentResponse
401The request's Authorization header is not formatted correctly or does not contain a valid token.
Headers :
x-amzn-RateLimit-Limit (string) : Your rate limit (requests per second) for this operation.
Note: For this status code, the rate limit header is deprecated and no longer returned.
x-amzn-RequestId (string) : Unique request reference identifier.
ErrorList
413The request size exceeded the maximum accepted size.
Headers :
x-amzn-RateLimit-Limit (string) : Your rate limit (requests per second) for this operation.
Note: For this status code, the rate limit header is deprecated and no longer returned.
x-amzn-RequestId (string) : Unique request reference identifier.
ErrorList
415The request payload is in an unsupported format.
Headers :
x-amzn-RateLimit-Limit (string) : Your rate limit (requests per second) for this operation.
Note: For this status code, the rate limit header is deprecated and no longer returned.
x-amzn-RequestId (string) : Unique request reference identifier.
ErrorList
429The frequency of requests was greater than allowed.
Headers :
x-amzn-RateLimit-Limit (string) : Your rate limit (requests per second) for this operation.
Note: For this status code, the rate limit header is deprecated and no longer returned.
x-amzn-RequestId (string) : Unique request reference identifier.
ErrorList
500An unexpected condition occurred that prevented the server from fulfilling the request.
Headers :
x-amzn-RateLimit-Limit (string) : Your rate limit (requests per second) for this operation.
Note: For this status code, the rate limit header is deprecated and no longer returned.
x-amzn-RequestId (string) : Unique request reference identifier.
ErrorList
503Temporary overloading or maintenance of the server.
Headers :
x-amzn-RateLimit-Limit (string) : Your rate limit (requests per second) for this operation.
Note: For this status code, the rate limit header is deprecated and no longer returned.
x-amzn-RequestId (string) : Unique request reference identifier.
ErrorList

For additional error status codes, descriptions and schemas, see Error responses and schemas.

GET /shipping/v2/accessPoints

Operation: getAccessPoints

Description

Returns a list of access points in proximity of input postal code.

Usage Plan:

Default QuotaUnit
5Requests Per Second

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 for this operation. For more information, see Usage Plans and Rate Limits in the Selling Partner API.

Parameters

TypeNameDescriptionSchema
QueryaccessPointTypes
required
-< enum (AccessPointTypes) > array(csv)
QuerycountryCode
required
-string
QuerypostalCode
required
-string
Headerx-amz-access-token
required
Amazon shipping request tokenstring
Headerx-amzn-shipping-business-id
required
Amazon shipping business to assume for this request. The default is AmazonShipping_UK.enum (X-amzn-shipping-business-id)

Responses

HTTP CodeDescriptionSchema
200Success.
Headers :
x-amzn-RateLimit-Limit (string) : Your rate limit (requests per second) for this operation.
x-amzn-RequestId (string) : Unique request reference identifier.
GetAccessPointsResponse
401The request's Authorization header is not formatted correctly or does not contain a valid token.
Headers :
x-amzn-RateLimit-Limit (string) : Your rate limit (requests per second) for this operation.
Note: For this status code, the rate limit header is deprecated and no longer returned.
x-amzn-RequestId (string) : Unique request reference identifier.
ErrorList
413The request size exceeded the maximum accepted size.
Headers :
x-amzn-RateLimit-Limit (string) : Your rate limit (requests per second) for this operation.
Note: For this status code, the rate limit header is deprecated and no longer returned.
x-amzn-RequestId (string) : Unique request reference identifier.
ErrorList
415The request payload is in an unsupported format.
Headers :
x-amzn-RateLimit-Limit (string) : Your rate limit (requests per second) for this operation.
Note: For this status code, the rate limit header is deprecated and no longer returned.
x-amzn-RequestId (string) : Unique request reference identifier.
ErrorList
429The frequency of requests was greater than allowed.
Headers :
x-amzn-RateLimit-Limit (string) : Your rate limit (requests per second) for this operation.
Note: For this status code, the rate limit header is deprecated and no longer returned.
x-amzn-RequestId (string) : Unique request reference identifier.
ErrorList
500An unexpected condition occurred that prevented the server from fulfilling the request.
Headers :
x-amzn-RateLimit-Limit (string) : Your rate limit (requests per second) for this operation.
Note: For this status code, the rate limit header is deprecated and no longer returned.
x-amzn-RequestId (string) : Unique request reference identifier.
ErrorList
503Temporary overloading or maintenance of the server.
Headers :
x-amzn-RateLimit-Limit (string) : Your rate limit (requests per second) for this operation.
Note: For this status code, the rate limit header is deprecated and no longer returned.
x-amzn-RequestId (string) : Unique request reference identifier.
ErrorList

For additional error status codes, descriptions and schemas, see Error responses and schemas.

Consumes

  • application/json

Produces

  • application/json

POST /shipping/v2/ndrFeedback

Operation: submitNdrFeedback

Description

This API submits the NDR (Non-delivery Report) Feedback for any eligible shipment.

Usage Plan:

Default QuotaUnit
5Requests Per Second

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 for this operation. For more information, see Usage Plans and Rate Limits in the Selling Partner API.

Parameters

TypeNameDescriptionSchema
Bodybody
required
Request body for ndrFeedback operationSubmitNdrFeedbackRequest
Headerx-amz-access-token
required
Amazon shipping request tokenstring
Headerx-amzn-shipping-business-id
optional
Amazon shipping business to assume for this request. The default is AmazonShipping_UK.enum (X-amzn-shipping-business-id)

Responses

HTTP CodeDescriptionSchema
204Success
Headers :
x-amzn-RateLimit-Limit (string) : Your rate limit (requests per second) for this operation.
x-amzn-RequestId (string) : Unique request reference identifier.
No Content
401The request's Authorization header is not formatted correctly or does not contain a valid token.
Headers :
x-amzn-RequestId (string) : Unique request reference identifier.
ErrorList
413The request size exceeded the maximum accepted size.
Headers :
x-amzn-RequestId (string) : Unique request reference identifier.
ErrorList
415The request payload is in an unsupported format.
Headers :
x-amzn-RequestId (string) : Unique request reference identifier.
ErrorList
429The frequency of requests was greater than allowed.
Headers :
x-amzn-RequestId (string) : Unique request reference identifier.
ErrorList
500An unexpected condition occurred that prevented the server from fulfilling the request.
Headers :
x-amzn-RequestId (string) : Unique request reference identifier.
ErrorList
503Temporary overloading or maintenance of the server.
Headers :
x-amzn-RequestId (string) : Unique request reference identifier.
ErrorList

For additional error status codes, descriptions and schemas, see Error responses and schemas.

GET /shipping/v2/shipments/additionalInputs/schema

Operation: getAdditionalInputs

Description

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:

Default QuotaUnit
5Requests Per Second

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 for this operation. For more information, see Usage Plans and Rate Limits in the Selling Partner API.

Parameters

TypeNameDescriptionSchema
QueryrequestToken
required
The request token returned in the response to the getRates operation.string
QueryrateId
required
The rate identifier for the shipping offering (rate) returned in the response to the getRates operation.string
Headerx-amz-access-token
required
Amazon shipping request tokenstring
Headerx-amzn-shipping-business-id
optional
Amazon shipping business to assume for this request. The default is AmazonShipping_UK.enum (X-amzn-shipping-business-id)

Responses

HTTP CodeDescriptionSchema
200Success.
Headers :
x-amzn-RateLimit-Limit (string) : Your rate limit (requests per second) for this operation.
x-amzn-RequestId (string) : Unique request reference identifier.
GetAdditionalInputsResponse
401The request's Authorization header is not formatted correctly or does not contain a valid token.
Headers :
x-amzn-RateLimit-Limit (string) : Your rate limit (requests per second) for this operation.
Note: For this status code, the rate limit header is deprecated and no longer returned.
x-amzn-RequestId (string) : Unique request reference identifier.
ErrorList
413The request size exceeded the maximum accepted size.
Headers :
x-amzn-RateLimit-Limit (string) : Your rate limit (requests per second) for this operation.
Note: For this status code, the rate limit header is deprecated and no longer returned.
x-amzn-RequestId (string) : Unique request reference identifier.
ErrorList
415The request payload is in an unsupported format.
Headers :
x-amzn-RateLimit-Limit (string) : Your rate limit (requests per second) for this operation.
Note: For this status code, the rate limit header is deprecated and no longer returned.
x-amzn-RequestId (string) : Unique request reference identifier.
ErrorList
429The frequency of requests was greater than allowed.
Headers :
x-amzn-RateLimit-Limit (string) : Your rate limit (requests per second) for this operation.
Note: For this status code, the rate limit header is deprecated and no longer returned.
x-amzn-RequestId (string) : Unique request reference identifier.
ErrorList
500An unexpected condition occurred that prevented the server from fulfilling the request.
Headers :
x-amzn-RateLimit-Limit (string) : Your rate limit (requests per second) for this operation.
Note: For this status code, the rate limit header is deprecated and no longer returned.
x-amzn-RequestId (string) : Unique request reference identifier.
ErrorList
503Temporary overloading or maintenance of the server.
Headers :
x-amzn-RateLimit-Limit (string) : Your rate limit (requests per second) for this operation.
Note: For this status code, the rate limit header is deprecated and no longer returned.
x-amzn-RequestId (string) : Unique request reference identifier.
ErrorList

For additional error status codes, descriptions and schemas, see Error responses and schemas.

Error Responses and Schemas

This table contains HTTP status codes and associated information for error responses.

HTTP CodeDescriptionSchema
400Request has missing or invalid parameters and cannot be parsed.
Headers:
x-amzn-RateLimit-Limit (string):Your rate limit (requests per second) for this operation.
x-amzn-RequestId (string):Unique request reference identifier.
ErrorList
403Indicates that access to the resource is forbidden. Possible reasons include Access Denied, Unauthorized, Expired Token, or Invalid Signature.
Headers:
x-amzn-RequestId (string):Unique request reference identifier.
ErrorList
404The resource specified does not exist.
Headers:
x-amzn-RateLimit-Limit (string):Your rate limit (requests per second) for this operation.
x-amzn-RequestId (string):Unique request reference identifier.
ErrorList

Definitions

Error

Error response returned when the request is unsuccessful.

NameDescriptionSchema
code
required
An error code that identifies the type of error that occurred.string
message
required
A message that describes the error condition.string
details
optional
Additional details that can help the caller understand or fix the issue.string

ErrorList

A list of error responses returned when a request is unsuccessful.

NameSchema
errors
required
< Error > array

Weight

The weight in the units indicated.

NameDescriptionSchema
unit
required
The unit of measurement.enum (Unit)
value
required
The measurement value.number

LiquidVolume

Liquid Volume.

NameDescriptionSchema
unit
required
The unit of measurement.enum (Unit)
value
required
The measurement value.number

InvoiceDetails

The invoice details for charges associated with the goods in the package. Only applies to certain regions.

NameDescriptionSchema
invoiceNumber
optional
The invoice number of the item.string
invoiceDate
optional
The invoice date of the item in ISO 8061 format.string (date-time)

ChargeList

A list of charges based on the shipping service charges applied on a package.

Type : < ChargeComponent > array

ChargeComponent

The type and amount of a charge applied on a package.

NameDescriptionSchema
amount
optional
The monetary value in the currency indicated, in ISO 4217 standard format.Currency
chargeType
optional
The type of charge.enum (ChargeType)

Currency

The monetary value in the currency indicated, in ISO 4217 standard format.

NameDescriptionSchema
value
required
The monetary value.number
unit
required
The ISO 4217 format 3-character currency code.
minLength : 3
maxLength : 3
string

Dimensions

A set of measurements for a three-dimensional object.

NameDescriptionSchema
length
required
The length of the package.number
width
required
The width of the package.number
height
required
The height of the package.number
unit
required
The unit of measurement.enum (Unit)

RequestToken

A unique token generated to identify a getRates operation.

Type : string

RateId

An identifier for the rate (shipment offering) provided by a shipping service provider.

Type : string

CarrierId

The carrier identifier for the offering, provided by the carrier.

Type : string

CarrierName

The carrier name for the offering.

Type : string

PackageClientReferenceId

A client provided unique identifier for a package being shipped. This value should be saved by the client to pass as a parameter to the getShipmentDocuments operation.

Type : string

ShipmentId

The unique shipment identifier provided by a shipping service.

Type : string

DetailCodes

A list of codes used to provide additional shipment information.

Type : enum

ValueDescription
BusinessClosedAttempted delivery but the business was closed.
DeliveredWithOTPShipment was delivered with onetime passcode. OTP is currently only available in: UK, FR, IT, ES, IN.
ArrivedAtLocalFacilityPackage arrived at the local facility.
RejectedByRecipientWithVerificationRecipient refused to accept the shipment and provided verification
CustomerUnavailableAttempted delivery but the recipient was unavailable.
PaymentNotReadyAttempted delivery but cash was not available from recipient.
OtpNotAvailableAttempted delivery but the recipient did not have the PIN available.
DeliveryAttemptedDelivery was attempted.
UnableToAccessAttempted delivery but could not access the recipient location.
UnableToContactRecipientAttempted delivery but unable to contact the recipient to coordinate delivery.
DeliveredToBehindWheelieBinShipment delivered behind wheelie bin.
DeliveredToPorchShipment delivered to front porch or front door.
DeliveredToGarageShipment delivered to garage.
DeliveredToGardenShipment delivered to garden.
DeliveredToGreenhouseShipment delivered to greenhouse.
DeliveredToMailSlotShipment delivered to letterbox/mail slot.
DeliveredToMailRoomShipment delivered to mailroom.
DeliveredToNeighborShipment delivered and signed for by neighbor.
DeliveredToRearDoorShipment delivered to rear porch or rear door.
DeliveredToReceptionistShipment delivered to reception.
DeliveredToShedShipment delivered to shed.
DeliveredWithOTPShipment delivered with onetime passcode.
SignedShipment delivered and signature received.
DamagedShipment was damaged. When paired with Rejected this indicates the recipient refused to accept the shipment because the shipment was damaged. When paired with UNDELIVERABLE it means the shipment was undeliverable due to being damaged and may be returned to the seller.
IncorrectItemsRecipient refused to accept the shipment because the shipment contains incorrect item/s.
NotRequiredRecipient refused to accept the shipment because the recipient did not want the shipment.
RejectedRecipient refused to accept the shipment.
RejectedByRecipientWithVerificationRecipient refused to accept the shipment and provided verification.
CancelledByRecipientShipment was cancelled by the recipient. This tag is paired with the rejected shipment status.
AddressNotFoundShipment is undeliverable and is returning to seller because the address was missing or incorrect.
HazmatShipmentShipment is non-compliant Hazmat.
UndeliverableShipment is undeliverable and is returning to the seller.
ArrivedAtLocalFacilityPackage arrived at the local facility.

TrackingDetailCodes

Contains detail codes that provide additional details related to the forward and return leg of the shipment.

NameDescriptionSchema
forward
required
Contains detail codes that provide additional details related to the forward leg of the shipment.< DetailCodes > array
returns
required
Contains detail codes that provide additional details related to the return leg of the shipment.< DetailCodes > array

TrackingId

The carrier generated identifier for a package in a purchased shipment.

Type : string

AlternateLegTrackingId

The carrier generated reverse identifier for a returned package in a purchased shipment.

Type : string

ServiceId

An identifier for the shipping service.

Type : string

Please find the current list of service id here.

ServiceName

The name of the shipping service.

Type : string

Please find the current list of service name here.

AdditionalAddressNotes

Address notes to re-attempt delivery with.

Type : string

maxLength : 256

ShipperInstruction

The shipper instruction.

NameDescriptionSchema
deliveryNotes
optional
The delivery notes for the shipment
maxLength : 256
string

Address

The address.

NameDescriptionSchema
name
required
The name of the person, business or institution at the address.
minLength : 1
maxLength : 50
string
addressLine1
required
The first line of the address.
minLength : 1
maxLength : 60
string
addressLine2
optional
Additional address information, if required.
minLength : 1
maxLength : 60
string
addressLine3
optional
Additional address information, if required.
minLength : 1
maxLength : 60
string
companyName
optional
The name of the business or institution associated with the address.string
stateOrRegion
Conditional
The state, county or region where the person, business or institution is located.
Note: This is required parameter for US, optional for EU and IN.
StateOrRegion
city
required
The city or town where the person, business or institution is located.City
countryCode
required
The two digit country code. Follows ISO 3166-1 alpha-2 format.CountryCode
postalCode
required
The postal code of that address. It contains a series of letters or digits or both, sometimes including spaces or punctuation.PostalCode
email
optional
The email address of the contact associated with the address.
maxLength : 64
string
phoneNumber
optional
The phone number of the person, business or institution located at that address, including the country calling code.
minLength : 1
maxLength : 20
string
geocode
optional
Defines the latitude and longitude of the access point.Geocode

Geocode

Defines the latitude and longitude of the access point.

NameDescriptionSchema
latitude
optional
The latitude of access point.string
longitude
optional
The longitude of access point.string

StateOrRegion

The state, county or region where the person, business or institution is located.

Type : string

City

The city or town where the person, business or institution is located.

Type : string

CountryCode

The two digit country code. Follows ISO 3166-1 alpha-2 format.

Type : string

PostalCode

The postal code of that address. It contains a series of letters or digits or both, sometimes including spaces or punctuation.

Type : string

Location

The location where the person, business or institution is located.

NameDescriptionSchema
stateOrRegion
optional
The state, county or region where the person, business or institution is located.StateOrRegion
city
optional
The city or town where the person, business or institution is located.City
countryCode
optional
The two digit country code. Follows ISO 3166-1 alpha-2 format.CountryCode
postalCode
optional
The postal code of that address. It contains a series of letters or digits or both, sometimes including spaces or punctuation.PostalCode

DocumentFormat

The file format of the document.

Type : enum

ValueDescription
PDFThe Portable Document Format (PDF) file format. Used to present documents, including text formatting and images, in a manner independent of application software, hardware, and operating systems.
PNGPortable Network Graphics (PNG) is a raster-graphics file format that supports lossless data compression.
ZPLZebra Programming Language (ZPL) format is from Zebra Technologies. It's used primarily for labeling applications and can only be used with ZPL compatible printers.

RequestAttributes

Specify the type of attributes to be added on a label.

Type : < LabelAttribute > array

LabelAttribute

Type : enum

ValueDescription
PACKAGE_CLIENT_REFERENCE_IDPrints client reference ID on the shipping label.
SELLER_DISPLAY_NAMEPrints seller name on the shipping label.
COLLECT_ON_DELIVERY_AMOUNTPrints Collect On Delivery amount on the shipping label.

DocumentType

The type of shipping document.

Type : enum

ValueDescription
PACKSLIPA listing of the items packed within the shipment.
LABELThe shipping label for the specific shipment.
RECEIPTThe receipt of the shipment.
CUSTOM_FORMThe customs documentation for a cross-border shipment.

Dpi

The dots per inch (DPI) value used in printing. This value represents a measure of the resolution of the document.

Type : integer

PageLayout

Indicates the position of the label on the paper. Should be the same value as returned in getRates response.

Type : string

NeedFileJoining

When true, files should be stitched together. Otherwise, files should be returned separately. Defaults to false.

Type : boolean

Contents

A Base64 encoded string of the file contents.

Type : string

PackageDocumentList

A list of documents related to a package.

Type : < PackageDocument > array

PackageDocument

A document related to a package.

NameDescriptionSchema
type
required
The type of shipping document.DocumentType
format
required
The file format of the document.DocumentFormat
contents
required
A Base64 encoded string of the file contents.Contents

PrintOptionList

A list of the format options for a label.

Type : < PrintOption > array

PrintOption

The format options available for a label.

NameDescriptionSchema
supportedDPIs
optional
A list of the supported DPI options for a document.< Dpi > array
supportedPageLayouts
required
A list of the supported page layout options for a document.< PageLayout > array
supportedFileJoiningOptions
required
A list of the supported needFileJoining boolean values for a document.< NeedFileJoining > array
supportedDocumentDetails
required
A list of the supported documented details.< SupportedDocumentDetail > array

DocumentSize

The size dimensions of the label.

NameDescriptionSchema
width
required
The width of the document measured in the units specified.number
length
required
The length of the document measured in the units specified.number
unit
required
The unit of measurement.enum (Unit)

SupportedDocumentDetail

The supported document types for a service offering.

NameDescriptionSchema
name
required
The type of shipping document.DocumentType
isMandatory
required
When true, the supported document type is required.boolean

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.

NameDescriptionSchema
format
required
The file format of the document.DocumentFormat
size
required
The size dimensions of the label.DocumentSize
dpi
optional
The dots per inch (DPI) value used in printing. This value represents a measure of the resolution of the document.Dpi
pageLayout
optional
Indicates the position of the label on the paper. Should be the same value as returned in getRates response.PageLayout
needFileJoining
required
When true, files should be stitched together. Otherwise, files should be returned separately. Defaults to false.NeedFileJoining
requestedDocumentTypes
required
A list of the document types requested.< DocumentType > array
requestedLabelCustomization
optional
Object contains customised data requested by a shipper to be printed on a shipping label.< RequestAttributes > array

SupportedDocumentSpecificationList

A list of the document specifications supported for a shipment service offering.

Type : < SupportedDocumentSpecification > array

SupportedDocumentSpecification

Document specification that is supported for a service offering.

NameDescriptionSchema
format
required
The file format of the document.DocumentFormat
size
required
The size dimensions of the label.DocumentSize
printOptions
required
A list of the format options for a label.PrintOptionList

Item

An item in a package.

NameDescriptionSchema
itemValue
Conditional
The monetary value in the currency indicated, in ISO 4217 standard format.

Note: This is Required field for Amazon Marketplace Orders (ON Amazon type of requests).
Currency
description
optional
The product description of the item.string
itemIdentifier
Conditional
A unique identifier for an item provided by the client. Please use the orders api and populate this field with the response parameter OrderItemId

Note: This is Required field for Amazon Marketplace Orders (ON Amazon type of requests).
string
quantity
required
The number of units. This value is required.integer
weight
required
The weight in the units indicated.Weight
liquidVolume
optional
Liquid Volume.LiquidVolume
isHazmat
optional
When true, the item qualifies as hazardous materials (hazmat). Defaults to false.boolean
dangerousGoodsDetails
optional
Details related to any dangerous goods/items that are being shipped.DangerousGoodsDetails
productType
optional
The product type of the item.string
invoiceDetails
optional
The invoice details for charges associated with the goods in the package. Only applies to certain regions.InvoiceDetails
serialNumbers
optional
A list of unique serial numbers in an Amazon package that can be used to guarantee non-fraudulent items. The number of serial numbers in the list must be less than or equal to the quantity of items being shipped. Only applicable when channel source is Amazon.< string > array
directFulfillmentItemIdentifiers
optional
Item identifiers for an item in a direct fulfillment shipment.DirectFulfillmentItemIdentifiers

ItemList

A list of items.

Type : < Item > array

Package

A package to be shipped through a shipping service offering.

NameDescriptionSchema
dimensions
required
A set of measurements for a three-dimensional object.Dimensions
weight
required
The weight in the units indicated.Weight
insuredValue
required
The monetary value in the currency indicated, in ISO 4217 standard format.Currency
isHazmat
optional
When true, the package contains hazardous materials. Defaults to false.boolean
sellerDisplayName
optional
The seller name displayed on the label.string
charges
optional
A list of charges based on the shipping service charges applied on a package.ChargeList
packageClientReferenceId
required
A client provided unique identifier for a package being shipped. This value should be saved by the client to pass as a parameter to the getShipmentDocuments operation.PackageClientReferenceId
items
required
A list of items.ItemList

PackageList

A list of packages to be shipped through a shipping service offering.

Type : < Package > array

DirectFulfillmentItemIdentifiers

Item identifiers for an item in a direct fulfillment shipment.

NameDescriptionSchema
lineItemID
required
A unique identifier for an item provided by the client for a direct fulfillment shipment. This is only populated for direct fulfillment multi-piece shipments. It is required if a vendor wants to change the configuration of the packages in which the purchase order is shipped.string
pieceNumber
optional
A unique identifier for an item provided by the client for a direct fulfillment shipment. This is only populated if a single line item has multiple pieces. Defaults to 1.string

PackageDocumentDetail

The post-purchase details of a package that will be shipped using a shipping service.

NameDescriptionSchema
packageClientReferenceId
required
A client provided unique identifier for a package being shipped. This value should be saved by the client to pass as a parameter to the getShipmentDocuments operation.PackageClientReferenceId
packageDocuments
required
A list of documents related to a package.PackageDocumentList
trackingId
optional
The carrier generated identifier for a package in a purchased shipment.TrackingId

PackageDocumentDetailList

A list of post-purchase details about a package that will be shipped using a shipping service.

Type : < PackageDocumentDetail > array

TimeWindow

The start and end time that specifies the time interval of an event.

NameDescriptionSchema
start
optional
The start time of the time window.string (date-time)
end
optional
The end time of the time window.string (date-time)

Promise

The time windows promised for pickup and delivery events.

NameDescriptionSchema
deliveryWindow
optional
The start and end time that specifies the time interval of an event.TimeWindow
pickupWindow
optional
The start and end time that specifies the time interval of an event.TimeWindow

RequestedValueAddedServiceList

The value-added services to be added to a shipping service purchase.

Type : < RequestedValueAddedService > array

RequestedValueAddedService

A value-added service to be applied to a shipping service purchase.

NameDescriptionSchema
id
required
The identifier of the selected value-added service. Must be among those returned in the response to the getRates operation.string

AvailableValueAddedServiceGroupList

A list of value-added services available for a shipping service offering.

Type : < AvailableValueAddedServiceGroup > array

AvailableValueAddedServiceGroup

The value-added services available for purchase with a shipping service offering.

NameDescriptionSchema
groupId
required
The type of the value-added service group.string
groupDescription
required
The name of the value-added service group.string
isRequired
required
When true, one or more of the value-added services listed must be specified.boolean
valueAddedServices
optional
A list of optional value-added services available for purchase with a shipping service offering.< ValueAddedService > array

ValueAddedService

A value-added service available for purchase with a shipment service offering.

NameDescriptionSchema
id
required
The identifier for the value-added service.string
name
required
The name of the value-added service.string
cost
required
The cost of the value-added service.Currency

CollectOnDelivery

The amount to collect on delivery.

NameDescriptionSchema
amount
required
The monetary value in the currency indicated, in ISO 4217 standard format.Currency

ValueAddedServiceDetails

A collection of supported value-added services.

NameDescriptionSchema
collectOnDelivery
optional
The amount to collect on delivery.CollectOnDelivery

DangerousGoodsDetails

Details related to any dangerous goods/items that are being shipped.

NameDescriptionSchema
unitedNationsRegulatoryId
optional
The specific UNID of the item being shipped.
Pattern : "^(UN)[0-9]{4}$"
string
transportationRegulatoryClass
optional
The specific regulatory class of the item being shipped.
Pattern : "^[1-9](\\.[1-9])?$"
Note if transportationRegulatoryClass is 2 or 3 then please populate LiquidVolume
string
packingGroup
optional
The specific packaging group of the item being shipped.enum (PackingGroup)
packingInstruction
optional
The specific packing instruction of the item being shipped.enum (PackingInstruction)

TaxType

Indicates the type of tax.

Type : enum

ValueDescription
GSTGoods and Services Tax.

TaxDetail

Indicates the tax specifications associated with the shipment for customs compliance purposes in certain regions.

NameDescriptionSchema
taxType
required
Indicates the type of tax.TaxType
taxRegistrationNumber
required
The shipper's tax registration number associated with the shipment for customs compliance purposes in certain regions.string

TaxDetailList

A list of tax detail information.

Type : < TaxDetail > array

EventCode

The tracking event type.

Type : enum

ValueDescription
PickupDonePackage has been picked up by the service provider.
RecipientRequestedAlternateDeliveryTimingRecipient has requested an update to their delivery date.
ReadyForReceivePackage has been created and is ready for pickup at the shippers location. This is a pre-transit status event code.
DeliveredPackage has been delivered.
DepartedPackage has departed from a particular location in carrier network.
DeliveryAttemptedDelivery was attempted, but was unsuccessful.
LostPackage is lost.
OutForDeliveryPackage is out for delivery.
ArrivedAtCarrierFacilityPackage is in transit and has been received at a carrier location.
RejectedPackage was rejected by the recipient.
UndeliverablePackage is undeliverable.
PickupCancelledPickup scheduled for the package was cancelled.
ReturnInitiatedReturn label has been generated.
AvailableForPickupPackage held for recipient pickup.
RecipientRequestedAlternateDeliveryTimingRecipient has requested an update to their delivery date.

Event

A tracking event.

NameDescriptionSchema
eventCode
required
The tracking event type.EventCode
location
optional
The location where the person, business or institution is located.Location
eventTime
required
The ISO 8601 formatted timestamp of the event.string (date-time)
shipmentType
optional
Shipment type.ShipmentType

TrackingSummary

A package status summary.

NameDescriptionSchema
status
optional
The status of the package being shipped.Status
trackingDetailCodes
optional
Contains detail codes that provide additional details related to the forward and return leg of the shipment.TrackingDetailCodes

Status

The status of the package being shipped.

Type : enum

ValueDescription
PreTransitPackage has been created but has not been picked up.
InTransitPackage has been picked up and is in transit.
DeliveredPackage has has been delivered successfully.
LostPackage is lost.
OutForDeliveryPackage is out for delivery.
RejectedPackage has been rejected by the recipient.
UndeliverablePackage was undeliverable.
DeliveryAttemptedDelivery was attempted to the recipient location, but was not delivered.
PickupCancelledPickup was cancelled for the package.
AwaitingCustomerPickupPackage held at facility for the customer pickup.

AmazonOrderDetails

Amazon order information. This is required if the shipment source channel is Amazon.

NameDescriptionSchema
orderId
required
The Amazon order ID associated with the Amazon order fulfilled by this shipment.string

AmazonShipmentDetails

Amazon shipment information.

NameDescriptionSchema
shipmentId
required
This attribute is required only for a Direct Fulfillment shipment. This is the encrypted shipment ID.string

ChannelType

The shipment source channel type.

Type : enum

ValueDescription
AMAZONIndicates that the shipment originates from an Amazon order.
EXTERNALIndicates that the shipment originates from a non-Amazon channel.

ChannelDetails

Shipment source channel related information.

NameDescriptionSchema
channelType
required
The shipment source channel type.ChannelType
amazonOrderDetails
optional
Amazon order information. This is required if the shipment source channel is Amazon.AmazonOrderDetails
amazonShipmentDetails
optional
Amazon shipment information.AmazonShipmentDetails

RateList

A list of eligible shipping service offerings.

Type : < Rate > array

Rate

The details of a shipping service offering.

NameDescriptionSchema
rateId
required
An identifier for the rate (shipment offering) provided by a shipping service provider.RateId
carrierId
required
The carrier identifier for the offering, provided by the carrier.CarrierId
carrierName
required
The carrier name for the offering.CarrierName
serviceId
required
An identifier for the shipping service.ServiceId
serviceName
required
The name of the shipping service.ServiceName
billedWeight
optional
The weight in the units indicated.Weight
totalCharge
required
The monetary value in the currency indicated, in ISO 4217 standard format.Currency
promise
required
The time windows promised for pickup and delivery events.Promise
supportedDocumentSpecifications
required
A list of the document specifications supported for a shipment service offering.SupportedDocumentSpecificationList
availableValueAddedServiceGroups
optional
A list of value-added services available for a shipping service offering.AvailableValueAddedServiceGroupList
requiresAdditionalInputs
required
When true, indicates that additional inputs are required to purchase this shipment service. You must then call the getAdditionalInputs operation to return the JSON schema to use when providing the additional inputs to the purchaseShipment operation.boolean
rateItemList
optional
A list of RateItemRateItemList
paymentType
optional
Payment type of the purchase.PaymentType
benefits
optional
Representing the included/excluded benefits that we offer for each ShippingOffering/Rate. Benefits being services provided by Amazon when sellers purchase shipping through Amazon.Benefits

IneligibilityReasonCode

Reasons that make a shipment service offering ineligible.

Type : enum

ValueDescription
NO_COVERAGEThe shipment is ineligible because there is no coverage to that address.
PICKUP_SLOT_RESTRICTIONThe shipment is ineligible because there is an issue with the pickup slot.
UNSUPPORTED_VASThe shipment is ineligible because the value-added service is invalid for this shipment.
VAS_COMBINATION_RESTRICTIONThe shipment is ineligible because an invalid combination of value-added services were chosen.
SIZE_RESTRICTIONSThe shipment is ineligible because the package dimensions are unsupported.
WEIGHT_RESTRICTIONSThe shipment is ineligible because the weight is unsupported.
LATE_DELIVERYThe shipment is ineligible because delivery is too late.
PROGRAM_CONSTRAINTSThe shipment is ineligible because of program constraints.
TERMS_AND_CONDITIONS_NOT_ACCEPTEDThe shipment is ineligible because terms and conditions have not been accepted by the carrier.
UNKNOWNThe ineligibility reason is unknown.

IneligibilityReason

The reason why a shipping service offering is ineligible.

NameDescriptionSchema
code
required
Reasons that make a shipment service offering ineligible.IneligibilityReasonCode
message
required
The ineligibility reason.string

IneligibleRate

Detailed information for an ineligible shipping service offering.

NameDescriptionSchema
serviceId
required
An identifier for the shipping service.ServiceId
serviceName
required
The name of the shipping service.ServiceName
carrierName
required
The carrier name for the offering.CarrierName
carrierId
required
The carrier identifier for the offering, provided by the carrier.CarrierId
ineligibilityReasons
required
A list of reasons why a shipping service offering is ineligible.< IneligibilityReason > array

IneligibleRateList

A list of ineligible shipping service offerings.

Type : < IneligibleRate > array

CancelShipmentResult

The payload for the cancelShipment operation.

Type : object

CancelShipmentResponse

Response schema for the cancelShipment operation.

NameDescriptionSchema
payload
optional
The payload for the cancelShipment operation.CancelShipmentResult

GetRatesRequest

The request schema for the getRates operation. When the channelType is Amazon, the shipTo address is not required and will be ignored.

NameDescriptionSchema
shipTo
optional
The ship to address.Address
shipFrom
required
The ship from address.Address
returnTo
optional
The return to address.Address
shipDate
optional
The ship date and time (the requested pickup). This defaults to the current date and time.string (date-time)
shipperInstruction
optional
This field describe shipper instruction.ShipperInstruction
packages
required
A list of packages to be shipped through a shipping service offering.PackageList
valueAddedServices
optional
A collection of supported value-added services.ValueAddedServiceDetails
taxDetails
optional
A list of tax detail information.TaxDetailList
channelDetails
required
Shipment source channel related information.ChannelDetails
clientReferenceDetails
optional
Object to pass additional information about the MCI Integrator shipperType: List of ClientReferenceDetailClientReferenceDetails
shipmentType
optional
Shipment type.ShipmentType
destinationAccessPointDetails
optional
-AccessPointDetails

AccessPointDetails

NameDescriptionSchema
accessPointId
optional
Unique identifier for the access pointAccessPointId

NdrAction

The type of NDR action shipper wants to take for a particular shipment.

Type : enum

ValueDescription
RESCHEDULESeller wants to reschedule shipment delivery to a specific date.
REATTEMPTSeller wants to re-attempt delivery with additional delivery notes.
RTOSeller wants the shipment to return to the origin.

NdrRequestData

Additional information required for the NDR action that has been filed. If the NDR Action is RESCHEDULE, rescheduleDate is a required field. Otherwise, if the NDR Action is REATTEMPT, additionalAddressNotes is a required field.

NameDescriptionSchema
rescheduleDate
optional
The date on which the Seller wants to reschedule shipment delivery, in ISO-8601 date/time format
Example : "2023-12-12T05:24:00.00Z"
string (date-time)
additionalAddressNotes
optional
Address notes to re-attempt delivery with.AdditionalAddressNotes

GetRatesResult

The payload for the getRates operation.

NameDescriptionSchema
requestToken
required
A unique token generated to identify a getRates operation.RequestToken
rates
required
A list of eligible shipping service offerings.RateList
ineligibleRates
optional
A list of ineligible shipping service offerings.IneligibleRateList

GetRatesResponse

The response schema for the getRates operation.

NameDescriptionSchema
payload
optional
The payload for the getRates operation.GetRatesResult

GetShipmentDocumentsResult

The payload for the getShipmentDocuments operation.

NameDescriptionSchema
shipmentId
required
The unique shipment identifier provided by a shipping service.ShipmentId
packageDocumentDetail
required
The post-purchase details of a package that will be shipped using a shipping service.PackageDocumentDetail
benefits
optional
Benefits that are included and excluded for each shipping offer.Benefits

GetShipmentDocumentsResponse

The response schema for the the getShipmentDocuments operation.

NameDescriptionSchema
payload
optional
The payload for the getShipmentDocuments operation.GetShipmentDocumentsResult

GetTrackingResult

The payload for the getTracking operation.

NameDescriptionSchema
trackingId
required
The carrier generated identifier for a package in a purchased shipment.TrackingId
alternateLegTrackingId
required
The carrier generated reverse identifier for a returned package in a purchased shipment.AlternateLegTrackingId
eventHistory
required
A list of tracking events.< Event > array
promisedDeliveryDate
required
The date and time by which the shipment is promised to be delivered.string (date-time)
summary
required
A package status summary.TrackingSummary

SubmitNdrFeedbackRequest

The request schema for the NdrFeedback operation

NameDescriptionSchema
trackingId
required
The carrier generated identifier for a package in a purchased shipment.TrackingId
ndrAction
required
The type of NDR action shipper wants to take for a particular shipment.NdrAction
ndrRequestData
optional
Additional information required for the NDR action that has been filed. If the NDR Action is RESCHEDULE, rescheduleDate is a required field. Otherwise, if the NDR Action is REATTEMPT, additionalAddressNotes is a required field.NdrRequestData

GetTrackingResponse

The response schema for the getTracking operation.

NameDescriptionSchema
payload
optional
The payload for the getTracking operation.GetTrackingResult

PurchaseShipmentRequest

The request schema for the purchaseShipment operation.

NameDescriptionSchema
requestToken
required
A unique token generated to identify a getRates operation.RequestToken
rateId
required
An identifier for the rate (shipment offering) provided by a shipping service provider.RateId
requestedDocumentSpecification
required
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.RequestedDocumentSpecification
requestedValueAddedServices
optional
The value-added services to be added to a shipping service purchase.RequestedValueAddedServiceList
additionalInputs
optional
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.
object

PurchaseShipmentResult

The payload for the purchaseShipment operation.

NameDescriptionSchema
shipmentId
required
The unique shipment identifier provided by a shipping service.ShipmentId
packageDocumentDetails
required
A list of post-purchase details about a package that will be shipped using a shipping service.PackageDocumentDetailList
promise
required
The time windows promised for pickup and delivery events.Promise
benefits
optional
Benefits that are included and excluded for each shipping offer.Benefits

PurchaseShipmentResponse

The response schema for the purchaseShipment operation.

NameDescriptionSchema
payload
optional
The payload for the purchaseShipment operation.PurchaseShipmentResult

OneClickShipmentRequest

The request schema for the OneClickShipment operation. When the channelType is not Amazon, shipTo is required and when channelType is Amazon shipTo is ignored.

NameDescriptionSchema
shipTo
optional
The ship to address.Address
shipFrom
required
The ship from address.Address
returnTo
optional
The return to address.Address
shipDate
optional
The ship date and time (the requested pickup). This defaults to the current date and time.string (date-time)
packages
required
A list of packages to be shipped through a shipping service offering.PackageList
valueAddedServicesDetails
optional
The value-added services to be added to a shipping service purchase.OneClickShipmentValueAddedServiceDetails
taxDetails
optional
A list of tax detail information.TaxDetailList
channelDetails
required
Shipment source channel related information.ChannelDetails
labelSpecifications
required
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.RequestedDocumentSpecification
serviceSelection
required
Service Selection Criteria.ServiceSelection
shipperInstruction
optional
Optional field for shipper instruction.ShipperInstruction
destinationAccessPointDetails
optional
-AccessPointDetails

OneClickShipmentResponse

The response schema for the OneClickShipment operation.

NameDescriptionSchema
payload
optional
The payload for the OneClickShipment API.OneClickShipmentResult

OneClickShipmentResult

The payload for the OneClickShipment API.

NameDescriptionSchema
shipmentId
required
The unique shipment identifier provided by a shipping service.ShipmentId
packageDocumentDetails
required
A list of post-purchase details about a package that will be shipped using a shipping service.PackageDocumentDetailList
promise
required
The time windows promised for pickup and delivery events.Promise
carrier
required
Carrier Related InfoCarrier
service
required
Service Related InfoService
totalCharge
required
The monetary value in the currency indicated, in ISO 4217 standard format.Currency

GetAccessPointsResponse

The response schema for the GetAccessPoints operation.

NameDescriptionSchema
payload
optional
The payload for the GetAccessPoints API.GetAccessPointsResult

GetAccessPointsResult

The payload for the GetAccessPoints API.

NameDescriptionSchema
accessPointsMap
required
Map of type of access point to list of access pointsAccessPointsMap

AccessPointsMap

Map of type of access point to list of access points

Type : < string, AccessPointList > map

AccessPointId

Unique identifier for the access point

Type : string

GetAdditionalInputsResult

The JSON schema to use to provide additional inputs when required to purchase a shipping offering.

Type : object

GetAdditionalInputsResponse

The response schema for the getAdditionalInputs operation.

NameDescriptionSchema
payload
optional
The JSON schema to use to provide additional inputs when required to purchase a shipping offering.GetAdditionalInputsResult

ClientReferenceDetails

Object to pass additional information about the MCI Integrator shipperType: List of ClientReferenceDetail

Type : < ClientReferenceDetail > array

ClientReferenceDetail

Client Reference Details

NameDescriptionSchema
clientReferenceType
required
Client Reference type.enum (ClientReferenceType)
clientReferenceId
required
The Client Reference Id.string

ShipmentType

Shipment type.

Type : enum

ValueDescription
FORWARDAdditional information about shipment representing package journey from origin address to destination address in the transportation/shipping request.
RETURNSAdditional information about shipment representing package journey from destination address to origin/return address in the original transportation/shipping request.

PaymentType

Payment type of the purchase.

Type : enum

ValueDescription
PAY_THROUGH_AMAZONPayment Through Amazon.
PAY_DIRECT_TO_CARRIERPayment Direct to Carrier.

RateItemList

A list of RateItem

Type : < RateItem > array

RateItem

Rate Item for shipping (base cost, transaction fee, confirmation, insurance, etc.) Data source definition:

NameDescriptionSchema
rateItemID
optional
Unique ID for the rateItem.RateItemID
rateItemType
optional
Type of the rateItem.RateItemType
rateItemCharge
optional
The monetary value in the currency indicated, in ISO 4217 standard format.Currency
rateItemNameLocalization
optional
Used for the localization.string

RateItemID

Unique ID for the rateItem.

Type : enum

ValueDescription
BASE_RATEfor Base Rate.
TRANSACTION_FEECharge for TransAction Fee.
ADULT_SIGNATURE_CONFIRMATIONCharge for Adult Signature Confirmation.
SIGNATURE_CONFIRMATIONCharge for signature confirmation.
NO_CONFIRMATIONCharge for No Confirmation.
WAIVE_SIGNATURECharge for Waive Signature.
IMPLIED_LIABILITYCharge for Implied Liability.
HIDDEN_POSTAGEHidden Postage Charge.
DECLARED_VALUEDeclared Valure Coverage Charge.
SUNDAY_HOLIDAY_DELIVERYSunday Holiday Delivery Charge.
DELIVERY_CONFIRMATIONCharge for Delivery Confirmation.
IMPORT_DUTY_CHARGEImport Duty Charge.
VATVat Charge.
NO_SATURDAY_DELIVERYCharge for No Satuarday Delivery.
INSURANCEInsurance Charge.
CODCOD Charge.
FUEL_SURCHARGEFuel Surcharge.
INSPECTION_CHARGEInspection Charge.
DELIVERY_AREA_SURCHARGEDelivery Area Surcharge.
WAYBILL_CHARGEWayBill Charge.
AMAZON_SPONSORED_DISCOUNTAmazon Sponsored Discount.
INTEGRATOR_SPONSORED_DISCOUNTIntegrator Sponsored Discount.
OVERSIZE_SURCHARGEOverSize Surcharge.
CONGESTION_CHARGECongestion Charge.
RESIDENTIAL_SURCHARGEResidential Surcharge.
ADDITIONAL_SURCHARGEAdditional Surcharge.
SURCHARGESurcharge.
REBATERebate.
HIGH_CUBE_SURCHARGEHigh Cube Surcharge.
HIGH_LENGTH_SURCHARGEHigh Length Surcharge.
HIGH_WIDTH_SURCHARGEHigh Width Surcharge.
DEMAND_SURCHARGEA fee that is applied during specific periods of increased demand on the network as specified in the Amazon Shipping Service guide.
NONSTANDARD_FEEA fee that applies for packages that are outside the standard size for processing and sorting as specified in the Amazon Shipping Service guide.

RateItemType

Type of the rateItem.

Type : enum

ValueDescription
MANDATORYRate Item is mandatory.
OPTIONALRate Item is Optional.
INCLUDEDRate Item is included.

Benefits

Benefits that are included and excluded for each shipping offer. Benefits represents services provided by Amazon (eg. CLAIMS_PROTECTED, etc.) when sellers purchase shipping through Amazon. Benefit details will be made available for any shipment placed on or after January 1st 2024 00:00 UTC.

NameDescriptionSchema
includedBenefits
required
A list of included benefits.IncludedBenefits
excludedBenefits
required
A list of excluded benefit. Refer to the ExcludeBenefit object for further documentationExcludedBenefits

IncludedBenefits

A list of included benefits.

Type : < string > array

ExcludedBenefits

A list of excluded benefit. Refer to the ExcludeBenefit object for further documentation

Type : < ExcludedBenefit > array

ExcludedBenefit

Object representing a benefit that is excluded for a shipping offer or rate.

NameDescriptionSchema
benefit
required
Benefit that is being excluded from a shipment.string
reasonCodes
optional
List of reasons (eg. LATE_DELIVERY_RISK, etc.) indicating why a benefit is excluded for a shipping offer.ExcludedBenefitReasonCodes

ExcludedBenefitReasonCodes

List of reasons (eg. LATE_DELIVERY_RISK, etc.) indicating why a benefit is excluded for a shipping offer.

Type : < string > array

Min items : 1

ServiceSelection

Service Selection Criteria.

NameDescriptionSchema
serviceId
required
A list of ServiceId.ServiceIds

ServiceIds

A list of ServiceId.

Type : < string > array

Please find the current list of service id here.

OneClickShipmentValueAddedServiceDetails

The value-added services to be added to a shipping service purchase.

Type : < OneClickShipmentValueAddedService > array

OneClickShipmentValueAddedService

A value-added service to be applied to a shipping service purchase.

NameDescriptionSchema
id
required
The identifier of the selected value-added service.string
amount
optional
The monetary value in the currency indicated, in ISO 4217 standard format.Currency

Service

Service Related Info

NameDescriptionSchema
id
required
An identifier for the shipping service.ServiceId
name
required
The name of the shipping service.ServiceName

Carrier

Carrier Related Info

NameDescriptionSchema
id
required
The carrier identifier for the offering, provided by the carrier.CarrierId
name
required
The carrier name for the offering.CarrierName

PackingGroup

The specific packaging group of the item being shipped.

Type : enum

ValueDescription
IPacking group I indicates great danger.
IIPacking group II indicates medium danger.
IIIPacking group III indicates minor danger.

ClientReferenceType

Client Reference type.

Type : enum

ValueDescription
IntegratorShipperIdThe unique identifier assigned to a 3P seller by the shipping integrator.
IntegratorMerchantIdThe unique identifier assigned to a 3P shipping integrator by Amazon.

ChargeType

The type of charge.

Type : enum

ValueDescription
TAXA tax imposed on a package.
DISCOUNTA discount deducted from the cost of a package.

PackingInstruction

The specific packing instruction of the item being shipped.

Type : enum

ValueDescription
PI965_SECTION_IAIon PI965 Section IA (LiBa)
PI965_SECTION_IBIon PI965 Section IB (LiBa)
PI965_SECTION_IIIon PI965 Section II (LiBa)
PI966_SECTION_IIon PI966 Section I (LiBa with equipment)
PI966_SECTION_IIIon PI966 Section II (LiBa with equipment)
PI967_SECTION_IIon PI967 Section I (LiBa in equipment)
PI967_SECTION_IIIon PI967 Section II (LiBa in equipment)
PI968_SECTION_IAMetal PI968 Section IA (LiBa)
PI968_SECTION_IBMetal PI968 Section IB (LiBa)
PI969_SECTION_IMetal PI969 Section I (LiBa with equipment)
PI969_SECTION_IIMetal PI969 Section II (LiBa with equipment)
PI970_SECTION_IMetal PI970 Section I (LiBa in equipment)
PI970_SECTION_IIMetal PI970 Section II (LiBa in equipment)

X-amzn-shipping-business-id

Amazon shipping business to assume for this request. The default is AmazonShipping_UK.

Type : enum

ValueDescription
AmazonShipping_USThe United States Amazon shipping business.
AmazonShipping_INThe India Amazon shipping business.
AmazonShipping_UKThe United Kingdom Amazon shipping business.
AmazonShipping_ITThe Italy Amazon shipping business.
AmazonShipping_ESThe Spain Amazon shipping business.
AmazonShipping_FRThe France Amazon shipping business.

carrier-id

Amazon shipping carrier-id to be used for tracking api.

Type : enum

ValueDescription
AMZN_USThe United States Amazon shipping carrier id.
ATSThe India Amazon shipping carrier id.
AMZN_UKThe United Kingdom Amazon shipping carrier id.
AMZN_ITThe Italy Amazon shipping carrier id.
AMZN_ESThe Spain Amazon shipping carrier id.
AMZN_FRThe France Amazon shipping carrier id.

AccessPointTypes

Type : enum

ValueDescription
HELIXAvailable now for AccessPoints APIs
CAMPUS_LOCKER-
OMNI_LOCKER-
ODIN_LOCKER-
DOBBY_LOCKER-
CORE_LOCKER-
3P-
CAMPUS_ROOM-

Unit

Type : enum

For use with the definition(s): LiquidVolume
The unit of measurement.

ValueDescription
MLMilliliter - Metric unit of volume.
LLiter - Metric unit of volume.
FL_OZFluid Ounce - Imperial unit of volume.
GALGallon - Imperial unit of volume.
PTPint - Imperial unit of volume.
QTQuart - Imperial unit of volume.
CCup - Imperial unit of volume.

For use with the definition(s): Dimensions, DocumentSize
The unit of measurement.

ValueDescription
INCHThe imperial unit of length equal to one twelfth of a foot.
CENTIMETERA metric unit of length, equal to one hundredth of a meter.

For use with the definition(s): Weight
The unit of measurement.

ValueDescription
GRAMMetric unit of mass equal to one thousandth of a kilogram.
KILOGRAMMetric unit of mass.
OUNCEThe imperial unit of weight that is one sixteenth of a pound.
POUNDThe imperial unit of weight.