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.

Log in to see full request history
Body Params
string
required

A unique token generated to identify a getRates operation.

string
required

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

object
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.

array of objects

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

requestedValueAddedServices
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.

Headers
string
required

Amazon shipping request token

string
required

Amazon shipping business to assume for this request.

Show Details
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.
Responses

Language
URL
Click Try It! to start a request and see the response here! Or choose an example:
application/json