HomeDocumentationCode SamplesAnnouncementsModelsRelease NotesFAQGitHubVideos
Developer HubAPI StatusSupport
Documentation
Developer HubAPI StatusSupport

Merchant Fulfillment API v0 Reference

Purchase shipping for non-Prime and Prime orders using Amazon’s Buy Shipping Services.

Overview

The Selling Partner API for Merchant Fulfillment helps you build applications that let sellers purchase shipping for non-Prime and Prime orders using Amazon’s Buy Shipping Services.

Version information

Version : v0

Contact information

Contact : Selling Partner API Developer Support
Contact URL : https://sellercentral.amazon.com/gp/mws/contactus.html

License information

License : Apache License 2.0
License URL : http://www.apache.org/licenses/LICENSE-2.0

URI scheme

Host : sellingpartnerapi-na.amazon.com
Schemes : HTTPS

Consumes

  • application/json

Produces

  • application/json

Operations

getEligibleShipmentServices
getShipment
cancelShipment
createShipment
getAdditionalSellerInputs

Paths

POST /mfn/v0/eligibleShippingServices

Operation: getEligibleShipmentServices

Description

Returns a list of shipping service offers that satisfy the specified shipment request details.

Usage Plan:

Rate (requests per second)Burst
510

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

Parameters

TypeNameDescriptionSchema
Bodybody
required
Request schema for GetEligibleShipmentServices operation.GetEligibleShipmentServicesRequest

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.
GetEligibleShipmentServicesResponse
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.
GetEligibleShipmentServicesResponse
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.
GetEligibleShipmentServicesResponse
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.
GetEligibleShipmentServicesResponse
404The specified resource 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.
GetEligibleShipmentServicesResponse
429The frequency of requests was greater than allowed.
Headers :
x-amzn-RequestId (string) : Unique request reference identifier.
GetEligibleShipmentServicesResponse
500An unexpected condition occurred that prevented the server from fulfilling the request.
Headers :
x-amzn-RequestId (string) : Unique request reference identifier.
GetEligibleShipmentServicesResponse
503Temporary overloading or maintenance of the server.
Headers :
x-amzn-RequestId (string) : Unique request reference identifier.
GetEligibleShipmentServicesResponse

GET /mfn/v0/shipments/{shipmentId}

Operation: getShipment

Description

Returns the shipment information for an existing shipment.

Usage Plan:

Rate (requests per second)Burst
11

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

Parameters

TypeNameDescriptionSchema
PathshipmentId
required
The Amazon-defined shipment identifier for the shipment.string

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.
GetShipmentResponse
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.
GetShipmentResponse
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.
GetShipmentResponse
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.
GetShipmentResponse
404The specified resource 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.
GetShipmentResponse
429The frequency of requests was greater than allowed.
Headers :
x-amzn-RequestId (string) : Unique request reference identifier.
GetShipmentResponse
500An unexpected condition occurred that prevented the server from fulfilling the request.
Headers :
x-amzn-RequestId (string) : Unique request reference identifier.
GetShipmentResponse
503Temporary overloading or maintenance of the server.
Headers :
x-amzn-RequestId (string) : Unique request reference identifier.
GetShipmentResponse

DELETE /mfn/v0/shipments/{shipmentId}

Operation: cancelShipment

Description

Cancel the shipment indicated by the specified shipment identifier.

Usage Plan:

Rate (requests per second)Burst
11

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

Parameters

TypeNameDescriptionSchema
PathshipmentId
required
The Amazon-defined shipment identifier for the shipment to cancel.string

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
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.
CancelShipmentResponse
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.
CancelShipmentResponse
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.
CancelShipmentResponse
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.
CancelShipmentResponse
429The frequency of requests was greater than allowed.
Headers :
x-amzn-RequestId (string) : Unique request reference identifier.
CancelShipmentResponse
500An unexpected condition occurred that prevented the server from fulfilling the request.
Headers :
x-amzn-RequestId (string) : Unique request reference identifier.
CancelShipmentResponse
503Temporary overloading or maintenance of the server.
Headers :
x-amzn-RequestId (string) : Unique request reference identifier.
CancelShipmentResponse

POST /mfn/v0/shipments

Operation: createShipment

Description

Create a shipment with the information provided.

Usage Plan:

Rate (requests per second)Burst
11

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

Parameters

TypeNameDescriptionSchema
Bodybody
required
Request schema for CreateShipment operation.CreateShipmentRequest

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.
CreateShipmentResponse
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.
CreateShipmentResponse
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.
CreateShipmentResponse
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.
CreateShipmentResponse
404The specified resource 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.
CreateShipmentResponse
429The frequency of requests was greater than allowed.
Headers :
x-amzn-RequestId (string) : Unique request reference identifier.
CreateShipmentResponse
500An unexpected condition occurred that prevented the server from fulfilling the request.
Headers :
x-amzn-RequestId (string) : Unique request reference identifier.
CreateShipmentResponse
503Temporary overloading or maintenance of the server.
Headers :
x-amzn-RequestId (string) : Unique request reference identifier.
CreateShipmentResponse

POST /mfn/v0/additionalSellerInputs

Operation: getAdditionalSellerInputs

Description

Gets a list of additional seller inputs required for a ship method. This is generally used for international shipping.

Usage Plan:

Rate (requests per second)Burst
11

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

Parameters

TypeNameDescriptionSchema
Bodybody
required
Request schema for GetAdditionalSellerInputs operation.GetAdditionalSellerInputsRequest

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.
GetAdditionalSellerInputsResponse
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.
GetAdditionalSellerInputsResponse
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.
GetAdditionalSellerInputsResponse
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.
GetAdditionalSellerInputsResponse
404The specified resource 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.
GetAdditionalSellerInputsResponse
429The frequency of requests was greater than allowed.
Headers :
x-amzn-RequestId (string) : Unique request reference identifier.
GetAdditionalSellerInputsResponse
500An unexpected condition occurred that prevented the server from fulfilling the request.
Headers :
x-amzn-RequestId (string) : Unique request reference identifier.
GetAdditionalSellerInputsResponse
503Temporary overloading or maintenance of the server.
Headers :
x-amzn-RequestId (string) : Unique request reference identifier.
GetAdditionalSellerInputsResponse

Definitions

Error

Error response returned when the request is unsuccessful.

NameDescriptionSchema
code
required
An error code that identifies the type of error that occured.string
message
required
A message that describes the error condition in a human-readable form.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.

Type : < Error > array

LabelFormatOptionRequest

Whether to include a packing slip.

NameDescriptionSchema
IncludePackingSlipWithLabel
optional
When true, include a packing slip with the label.boolean

LabelFormatOption

The label format details and whether to include a packing slip.

NameDescriptionSchema
IncludePackingSlipWithLabel
optional
When true, include a packing slip with the label.boolean
LabelFormat
optional
The label format.LabelFormat

AvailableCarrierWillPickUpOption

Indicates whether the carrier will pick up the package, and what fee is charged, if any.

NameDescriptionSchema
CarrierWillPickUpOption
required
Carrier will pick up option.CarrierWillPickUpOption
Charge
required
The fee charged.CurrencyAmount

AvailableCarrierWillPickUpOptionsList

List of available carrier pickup options.

Type : < AvailableCarrierWillPickUpOption > array

AvailableDeliveryExperienceOption

The available delivery confirmation options, and the fee charged, if any.

NameDescriptionSchema
DeliveryExperienceOption
required
The delivery confirmation level.DeliveryExperienceOption
Charge
required
Currency type and amount.CurrencyAmount

AvailableDeliveryExperienceOptionsList

List of available delivery experience options.

Type : < AvailableDeliveryExperienceOption > array

AvailableShippingServiceOptions

The available shipping service options.

NameDescriptionSchema
AvailableCarrierWillPickUpOptions
required
List of available carrier pickup options.AvailableCarrierWillPickUpOptionsList
AvailableDeliveryExperienceOptions
required
List of available delivery experience options.AvailableDeliveryExperienceOptionsList

AvailableFormatOptionsForLabel

The available label formats.

Type : < LabelFormatOption > array

AvailableFormatOptionsForLabelList

The available label formats.

Type : < LabelFormatOption > array

Constraint

A validation constraint.

NameDescriptionSchema
ValidationRegEx
optional
A regular expression.string
ValidationString
required
A validation string.string

Constraints

List of constraints.

Type : < Constraint > array

AdditionalInputs

Maps the additional seller input to the definition. The key to the map is the field name.

NameDescriptionSchema
AdditionalInputFieldName
optional
The field name.string
SellerInputDefinition
optional
Specifies characteristics that apply to a seller input.SellerInputDefinition

SellerInputDefinition

Specifies characteristics that apply to a seller input.

NameDescriptionSchema
IsRequired
required
When true, the additional input field is required.boolean
DataType
required
The data type of the additional input field.string
Constraints
required
List of constraints.Constraints
InputDisplayText
required
The display text for the additional input field.string
InputTarget
optional
Whether the seller input applies to the item or the shipment.InputTargetType
StoredValue
required
Additional information required to purchase shipping.AdditionalSellerInput
RestrictedSetValues
optional
The set of fixed values in an additional seller input.RestrictedSetValues

InputTargetType

Indicates whether the additional seller input is at the item or shipment level.

Type : enum

ValueDescription
SHIPMENT_LEVELThe additional seller input is at the shipment level.
ITEM_LEVELThe additional seller input is at the item level.

AdditionalInputsList

A list of additional inputs.

Type : < AdditionalInputs > array

AdditionalSellerInput

Additional information required to purchase shipping.

NameDescriptionSchema
DataType
optional
The data type of the additional information.string
ValueAsString
optional
The value when the data type is string.string
ValueAsBoolean
optional
The value when the data type is boolean.boolean
ValueAsInteger
optional
The value when the data type is integer.integer
ValueAsTimestamp
optional
The value when the data type is a date-time formatted string.Timestamp
ValueAsAddress
optional
The postal address information.Address
ValueAsWeight
optional
The weight.Weight
ValueAsDimension
optional
The length.Length
ValueAsCurrency
optional
Currency type and amount.CurrencyAmount

AdditionalSellerInputs

An additional set of seller inputs required to purchase shipping.

NameDescriptionSchema
AdditionalInputFieldName
required
The name of the additional input field.string
AdditionalSellerInput
required
Additional information required to purchase shipping.AdditionalSellerInput

AdditionalSellerInputsList

A list of additional seller input pairs required to purchase shipping.

Type : < AdditionalSellerInputs > array

Address

The postal address information.

NameDescriptionSchema
Name
required
The name of the addressee, or business name.AddressName
AddressLine1
required
The street address information.AddressLine1
AddressLine2
optional
Additional street address information.AddressLine2
AddressLine3
optional
Additional street address information.AddressLine3
DistrictOrCounty
optional
The district or county.DistrictOrCounty
Email
required
The email address.EmailAddress
City
required
The city.City
StateOrProvinceCode
optional
The state or province code. Note. Required in the Canada, US, and UK marketplaces. Also required for shipments originating from China.StateOrProvinceCode
PostalCode
required
The zip code or postal code.PostalCode
CountryCode
required
The country code. A two-character country code, in ISO 3166-1 alpha-2 format.CountryCode
Phone
required
The phone number.PhoneNumber

AddressLine1

The street address information.

Type : string

maxLength : 180

AddressLine2

Additional street address information.

Type : string

maxLength : 60

AddressLine3

Additional street address information.

Type : string

maxLength : 60

AddressName

The name of the addressee, or business name.

Type : string

maxLength : 30

AmazonOrderId

An Amazon-defined order identifier, in 3-7-7 format.

Type : string

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
optional
A list of included benefits.IncludedBenefits
ExcludedBenefits
optional
A list of excluded benefit. Refer to the ExcludeBenefit object for further documentation.ExcludedBenefits

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 an excluded benefit that is excluded for a shipping offer or rate.

NameDescriptionSchema
Benefit
optional
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

CancelShipmentResponse

Response schema.

NameDescriptionSchema
payload
optional
The payload for the cancelShipment operation.Shipment
errors
optional
One or more unexpected errors occurred during the cancelShipment operation.ErrorList

City

The city.

Type : string

maxLength : 30

CountryCode

The country code. A two-character country code, in ISO 3166-1 alpha-2 format.

Type : string

CreateShipmentRequest

Request schema.

NameDescriptionSchema
ShipmentRequestDetails
required
Shipment information required for creating a shipment.ShipmentRequestDetails
ShippingServiceId
required
An Amazon-defined shipping service identifier.ShippingServiceIdentifier
ShippingServiceOfferId
optional
Identifies a shipping service order made by a carrier.string
HazmatType
optional
Hazardous materials options for a package. Consult the terms and conditions for each carrier for more information about hazardous materials.HazmatType
LabelFormatOption
optional
Whether to include a packing slip.LabelFormatOptionRequest
ShipmentLevelSellerInputsList
optional
A list of additional seller inputs required to ship this shipment.AdditionalSellerInputsList

CreateShipmentResponse

Response schema.

NameDescriptionSchema
payload
optional
Shipment information.Shipment
errors
optional
One or more unexpected errors occurred during the createShipment operation.ErrorList

ItemLevelFields

A list of item level fields.

NameDescriptionSchema
Asin
required
The Amazon Standard Identification Number (ASIN) of the item.string
AdditionalInputs
required
A list of additional inputs.AdditionalInputsList

ItemLevelFieldsList

A list of item level fields.

Type : < ItemLevelFields > array

GetAdditionalSellerInputsRequest

Request schema.

NameDescriptionSchema
ShippingServiceId
required
An Amazon-defined shipping service identifier.ShippingServiceIdentifier
ShipFromAddress
required
The address from which to ship.Address
OrderId
required
An Amazon defined order identifierAmazonOrderId

GetAdditionalSellerInputsResult

The payload for the getAdditionalSellerInputs operation.

NameDescriptionSchema
ShipmentLevelFields
optional
A list of additional inputs.AdditionalInputsList
ItemLevelFieldsList
optional
A list of item level fields.ItemLevelFieldsList

GetAdditionalSellerInputsResponse

Response schema.

NameDescriptionSchema
payload
optional
The payload for the getAdditionalSellerInputs operation.GetAdditionalSellerInputsResult
errors
optional
A list of error responses returned when a request is unsuccessful.ErrorList

CurrencyAmount

Currency type and amount.

NameDescriptionSchema
CurrencyCode
required
Three-digit currency code in ISO 4217 format.
maxLength : 3
string
Amount
required
The currency amount.number (double)

CustomTextForLabel

Custom text to print on the label.

Note: Custom text is only included on labels that are in ZPL format (ZPL203). FedEx does not support CustomTextForLabel.

Type : string

maxLength : 14

DeliveryExperienceType

The delivery confirmation level.

Type : enum

ValueDescription
DeliveryConfirmationWithAdultSignatureDelivery confirmation with adult signature.
DeliveryConfirmationWithSignatureDelivery confirmation with signature. Required for DPD (UK).
DeliveryConfirmationWithoutSignatureDelivery confirmation without signature.
NoTrackingNo delivery confirmation.

DistrictOrCounty

The district or county.

Type : string

EmailAddress

The email address.

Type : string

FileContents

The document data and checksum.

NameDescriptionSchema
Contents
required
Data for printing labels, in the form of a Base64-encoded, GZip-compressed string.string
FileType
required
The file type for a label.FileType
Checksum
required
An MD5 hash to validate the PDF document data, in the form of a Base64-encoded string.string

FileType

The file type for a label.

Type : enum

ValueDescription
application/pdfA Portable Document Format (pdf) file.
application/zplA Zebra Programming Language (zpl) file.
image/pngA Portable Network Graphics (png) file.

GetEligibleShipmentServicesRequest

Request schema.

NameDescriptionSchema
ShipmentRequestDetails
required
Shipment information required for requesting shipping service offers.ShipmentRequestDetails
ShippingOfferingFilter
optional
Filter for use when requesting eligible shipping services.ShippingOfferingFilter

GetEligibleShipmentServicesResponse

Response schema.

NameDescriptionSchema
payload
optional
The payload for the getEligibleShipmentServices operation.GetEligibleShipmentServicesResult
errors
optional
One or more unexpected errors occurred during this operation.ErrorList

GetEligibleShipmentServicesResult

The payload for the getEligibleShipmentServices operation.

NameDescriptionSchema
ShippingServiceList
required
A list of shipping services offers.ShippingServiceList
RejectedShippingServiceList
optional
List of services that were for some reason unavailable for this requestRejectedShippingServiceList
TemporarilyUnavailableCarrierList
optional
A list of temporarily unavailable carriers.TemporarilyUnavailableCarrierList
TermsAndConditionsNotAcceptedCarrierList
optional
List of carriers whose terms and conditions were not accepted by the seller.TermsAndConditionsNotAcceptedCarrierList

GetShipmentResponse

Response schema.

NameDescriptionSchema
payload
optional
The payload for the getShipment operation.Shipment
errors
optional
One or more unexpected errors occurred during this operation.ErrorList

HazmatType

Hazardous materials options for a package. Consult the terms and conditions for each carrier for more information on hazardous materials.

Type : enum

ValueDescription
NoneThe package does not contain hazardous material.
LQHazmatThe package contains limited quantities of hazardous material.

Item

An Amazon order item identifier and a quantity.

NameDescriptionSchema
OrderItemId
required
An Amazon-defined identifier for an individual item in an order.OrderItemId
Quantity
required
The number of items.ItemQuantity
ItemWeight
optional
The weight.Weight
ItemDescription
optional
The description of the item.ItemDescription
TransparencyCodeList
optional
A list of transparency codes.TransparencyCodeList
ItemLevelSellerInputsList
optional
A list of additional seller inputs required to ship this item using the chosen shipping service.AdditionalSellerInputsList
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

ItemList

The list of items to be included in a shipment.

Type : < Item > array

ItemQuantity

The number of items.

Type : integer (int32)

ItemDescription

The description of the item.

Type : string

Label

Data for creating a shipping label and dimensions for printing the label.

NameDescriptionSchema
CustomTextForLabel
optional
Custom text to print on the label.

Note: Custom text is only included on labels that are in ZPL format (ZPL203). FedEx does not support CustomTextForLabel.
CustomTextForLabel
Dimensions
required
Dimensions for printing a shipping label.LabelDimensions
FileContents
required
The document data and checksum.FileContents
LabelFormat
optional
The label format.LabelFormat
StandardIdForLabel
optional
The type of standard identifier to print on the label.StandardIdForLabel

LabelCustomization

Custom text for shipping labels.

NameDescriptionSchema
CustomTextForLabel
optional
Custom text to print on the label.

Note: Custom text is only included on labels that are in ZPL format (ZPL203). FedEx does not support CustomTextForLabel.
CustomTextForLabel
StandardIdForLabel
optional
The type of standard identifier to print on the label.StandardIdForLabel

LabelDimension

A label dimension.

Type : number

LabelDimensions

Dimensions for printing a shipping label.

NameDescriptionSchema
Length
required
The length dimension.LabelDimension
Width
required
The width dimension.LabelDimension
Unit
required
The unit of measurement.UnitOfLength

LabelFormat

The label format.

Type : enum

ValueDescription
PDFPortable Document Format (pdf).
PNGPortable Network Graphics (png) format.
ZPL203Zebra Programming Language (zpl) format, 203 dots per inch resolution.
ZPL300Zebra Programming Language (zpl) format, 300 dots per inch resolution.
ShippingServiceDefaultThe default provided by the shipping service.

LabelFormatList

List of label formats.

Type : < LabelFormat > array

Length

The length.

NameDescriptionSchema
value
optional
The value in units.number
unit
optional
The unit of length.UnitOfLength

OrderItemId

An Amazon-defined identifier for an individual item in an order.

Type : string

PackageDimension

Number representing the given package dimension.

Type : number (double)

PackageDimensions

The dimensions of a package contained in a shipment.

NameDescriptionSchema
Length
optional
The length dimension. If you don't specify PredefinedPackageDimensions, you must specify the Length.PackageDimension
Width
optional
The width dimension. If you don't specify PredefinedPackageDimensions, you must specify the Width.PackageDimension
Height
optional
The height dimension. If you don't specify PredefinedPackageDimensions, you must specify the Height.PackageDimension
Unit
optional
The unit of measurement. If you don't specify PredefinedPackageDimensions, you must specify the Unit.UnitOfLength
PredefinedPackageDimensions
optional
An enumeration of predefined parcel tokens. If you specify a PredefinedPackageDimensions token, you are not obligated to use a branded package from a carrier. For example, if you specify the FedEx_Box_10kg token, you do not have to use that particular package from FedEx. You are only obligated to use a box that matches the dimensions specified by the token.

Note: Please note that carriers can have restrictions on the type of package allowed for certain ship methods. Check the carrier website for all details. Example: Flat rate pricing is available when materials are sent by USPS in a USPS-produced Flat Rate Envelope or Box.
PredefinedPackageDimensions

PhoneNumber

The phone number.

Type : string

maxLength : 30

PostalCode

The zip code or postal code.

Type : string

maxLength : 30

PredefinedPackageDimensions

An enumeration of predefined parcel tokens. If you specify a PredefinedPackageDimensions token, you are not obligated to use a branded package from a carrier. For example, if you specify the FedEx_Box_10kg token, you do not have to use that particular package from FedEx. You are only obligated to use a box that matches the dimensions specified by the token.

Note: Please note that carriers can have restrictions on the type of package allowed for certain ship methods. Check the carrier website for all details. Example: Flat rate pricing is available when materials are sent by USPS in a USPS-produced Flat Rate Envelope or Box.

Type : enum

ValueDescription
FedEx_Box_10kg15.81 x 12.94 x 10.19 in.
FedEx_Box_25kg54.80 x 42.10 x 33.50 in.
FedEx_Box_Extra_Large_111.88 x 11.00 x 10.75 in.
FedEx_Box_Extra_Large_215.75 x 14.13 x 6.00 in.
FedEx_Box_Large_117.50 x 12.38 x 3.00 in.
FedEx_Box_Large_211.25 x 8.75 x 7.75 in.
FedEx_Box_Medium_113.25 x 11.50 x 2.38 in.
FedEx_Box_Medium_211.25 x 8.75 x 4.38 in.
FedEx_Box_Small_112.38 x 10.88 x 1.50 in.
FedEx_Box_Small_28.75 x 2.63 x 11.25 in.
FedEx_Envelope12.50 x 9.50 x 0.80 in.
FedEx_Padded_Pak11.75 x 14.75 x 2.00 in.
FedEx_Pak_115.50 x 12.00 x 0.80 in.
FedEx_Pak_212.75 x 10.25 x 0.80 in.
FedEx_Tube38.00 x 6.00 x 6.00 in.
FedEx_XL_Pak17.50 x 20.75 x 2.00 in.
UPS_Box_10kg41.00 x 33.50 x 26.50 cm.
UPS_Box_25kg48.40 x 43.30 x 35.00 cm.
UPS_Express_Box46.00 x 31.50 x 9.50 cm.
UPS_Express_Box_Large18.00 x 13.00 x 3.00 in.
UPS_Express_Box_Medium15.00 x 11.00 x 3.00 in.
UPS_Express_Box_Small13.00 x 11.00 x 2.00 in.
UPS_Express_Envelope12.50 x 9.50 x 2.00 in.
UPS_Express_Hard_Pak14.75 x 11.50 x 2.00 in.
UPS_Express_Legal_Envelope15.00 x 9.50 x 2.00 in.
UPS_Express_Pak16.00 x 12.75 x 2.00 in.
UPS_Express_Tube97.00 x 19.00 x 16.50 cm.
UPS_Laboratory_Pak17.25 x 12.75 x 2.00 in.
UPS_Pad_Pak14.75 x 11.00 x 2.00 in.
UPS_Pallet120.00 x 80.00 x 200.00 cm.
USPS_Card6.00 x 4.25 x 0.01 in.
USPS_Flat15.00 x 12.00 x 0.75 in.
USPS_FlatRateCardboardEnvelope12.50 x 9.50 x 4.00 in.
USPS_FlatRateEnvelope12.50 x 9.50 x 4.00 in.
USPS_FlatRateGiftCardEnvelope10.00 x 7.00 x 4.00 in
USPS_FlatRateLegalEnvelope15.00 x 9.50 x 4.00 in.
USPS_FlatRatePaddedEnvelope12.50 x 9.50 x 4.00 in.
USPS_FlatRateWindowEnvelope10.00 x 5.00 x 4.00 in.
USPS_LargeFlatRateBoardGameBox24.06 x 11.88 x 3.13 in.
USPS_LargeFlatRateBox12.25 x 12.25 x 6.00 in.
USPS_Letter11.50 x 6.13 x 0.25 in.
USPS_MediumFlatRateBox111.25 x 8.75 x 6.00 in.
USPS_MediumFlatRateBox214.00 x 12.00 x 3.50 in.
USPS_RegionalRateBoxA110.13 x 7.13 x 5.00 in.
USPS_RegionalRateBoxA213.06 x 11.06 x 2.50 in.
USPS_RegionalRateBoxB116.25 x 14.50 x 3.00 in.
USPS_RegionalRateBoxB212.25 x 10.50 x 5.50 in.
USPS_RegionalRateBoxC15.00 x 12.00 x 12.00 in.
USPS_SmallFlatRateBox8.69 x 5.44 x 1.75 in.
USPS_SmallFlatRateEnvelope10.00 x 6.00 x 4.00 in.

RestrictedSetValues

The set of fixed values in an additional seller input.

Type : < string > array

SellerOrderId

A seller-defined order identifier.

Type : string

maxLength : 64

Shipment

The details of a shipment, including the shipment status.

NameDescriptionSchema
ShipmentId
required
An Amazon-defined shipment identifier.ShipmentId
AmazonOrderId
required
An Amazon-defined order identifier, in 3-7-7 format.AmazonOrderId
SellerOrderId
optional
A seller-defined order identifier.SellerOrderId
ItemList
required
The list of items to be included in a shipment.ItemList
ShipFromAddress
required
The address of the sender.Address
ShipToAddress
required
The destination address for the shipment.Address
PackageDimensions
required
The dimensions of a package contained in a shipment.PackageDimensions
Weight
required
The package weight.Weight
Insurance
required
If DeclaredValue was specified in a previous call to the createShipment operation, then Insurance indicates the amount that the carrier will use to insure the shipment. If DeclaredValue was not specified with a previous call to the createShipment operation, then the shipment will be insured for the carrier's minimum insurance amount, or the combined sale prices that the items are listed for in the shipment, whichever is less.CurrencyAmount
ShippingService
required
A shipping service offer made by a carrier.ShippingService
Label
required
Data for creating a shipping label and dimensions for printing the label. If the shipment is canceled, an empty Label is returned.Label
Status
required
The shipment status.ShipmentStatus
TrackingId
optional
The shipment tracking identifier provided by the carrier.TrackingId
CreatedDate
required
The date and time the shipment was created.Timestamp
LastUpdatedDate
optional
The date and time of the last update.Timestamp

ShipmentId

An Amazon-defined shipment identifier.

Type : string

ShipmentRequestDetails

Shipment information required for requesting shipping service offers or for creating a shipment.

NameDescriptionSchema
AmazonOrderId
required
An Amazon-defined order identifier in 3-7-7 format.AmazonOrderId
SellerOrderId
optional
A seller-defined order identifier.SellerOrderId
ItemList
required
The list of items to be included in a shipment.ItemList
ShipFromAddress
required
The address of the sender.Address
PackageDimensions
required
The package dimensions.PackageDimensions
Weight
required
The package weight.Weight
MustArriveByDate
optional
The date by which the package must arrive to keep the promise to the customer, in ISO 8601 datetime format. If MustArriveByDate is specified, only shipping service offers that can be delivered by that date are returned.Timestamp
ShipDate
optional
When used in a request, this is the date and time that the seller wants to ship the package. When used in a response, this is the date and time that the package can be shipped by the indicated method.Timestamp
ShippingServiceOptions
required
Extra services offered by the carrier.ShippingServiceOptions
LabelCustomization
optional
Label customization options.LabelCustomization

ShipmentStatus

The shipment status.

Type : enum

ValueDescription
PurchasedThe seller purchased a label by calling the createShipment operation.
RefundPendingThe seller requested a label refund by calling the cancelShipment operation, and the refund request is being processed by the carrier.

Note:

  • A seller can create a new shipment for an order while Status=RefundPending for a canceled shipment.

  • After a label refund is requested by calling the cancelShipment operation, the order status of the order remains "Shipped".
  • RefundRejectedThe label refund request was rejected by the carrier. A refund request is rejected for either of the following reasons:

  • The cancellation window has expired. Cancellation policies vary by carrier. For more information about carrier cancellation policies, see the Seller Central Help.

  • The carrier has already accepted the shipment for delivery.
  • RefundAppliedThe refund has been approved and credited to the seller's account.

    DeliveryExperienceOption

    The delivery confirmation level.

    Type : enum

    ValueDescription
    DeliveryConfirmationWithAdultSignatureDelivery confirmation with adult signature.
    DeliveryConfirmationWithSignatureDelivery confirmation with signature. Required for DPD (UK).
    DeliveryConfirmationWithoutSignatureDelivery confirmation without signature.
    NoTrackingNo delivery confirmation.
    NoPreferenceNo preference.

    ShippingOfferingFilter

    Filter for use when requesting eligible shipping services.

    NameDescriptionSchema
    IncludePackingSlipWithLabel
    optional
    When true, include a packing slip with the label.boolean
    IncludeComplexShippingOptions
    optional
    When true, include complex shipping options.boolean
    CarrierWillPickUp
    optional
    Carrier will pick up option.CarrierWillPickUpOption
    DeliveryExperience
    optional
    The delivery confirmation level.DeliveryExperienceOption

    ShippingService

    A shipping service offer made by a carrier.

    NameDescriptionSchema
    ShippingServiceName
    required
    A plain text representation of a carrier's shipping service. For example, "UPS Ground" or "FedEx Standard Overnight".string
    CarrierName
    required
    The name of the carrier.string
    ShippingServiceId
    required
    An Amazon-defined shipping service identifier.ShippingServiceIdentifier
    ShippingServiceOfferId
    required
    An Amazon-defined shipping service offer identifier.string
    ShipDate
    required
    The date that the carrier will ship the package.Timestamp
    EarliestEstimatedDeliveryDate
    optional
    The earliest date by which the shipment will be delivered.Timestamp
    LatestEstimatedDeliveryDate
    optional
    The latest date by which the shipment will be delivered.Timestamp
    Rate
    required
    The amount that the carrier will charge for the shipment.CurrencyAmount
    ShippingServiceOptions
    required
    Extra services offered by the carrier.ShippingServiceOptions
    AvailableShippingServiceOptions
    optional
    The available shipping service options.AvailableShippingServiceOptions
    AvailableLabelFormats
    optional
    List of label formats.LabelFormatList
    AvailableFormatOptionsForLabel
    optional
    The available label formats.AvailableFormatOptionsForLabelList
    RequiresAdditionalSellerInputs
    required
    When true, additional seller inputs are required.boolean
    Benefits
    optional
    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 UTCBenefits

    ShippingServiceIdentifier

    An Amazon-defined shipping service identifier.

    Type : string

    ShippingServiceList

    A list of shipping services offers.

    Type : < ShippingService > array

    ShippingServiceOptions

    Extra services provided by a carrier.

    NameDescriptionSchema
    DeliveryExperience
    required
    The delivery confirmation level.DeliveryExperienceType
    DeclaredValue
    optional
    The declared value of the shipment. The carrier uses this value to determine the amount to use to insure the shipment. If DeclaredValue is greater than the carrier's minimum insurance amount, the seller is charged for the additional insurance as determined by the carrier. For information about optional insurance coverage, see the Seller Central Help UK US.CurrencyAmount
    CarrierWillPickUp
    required
    When true, the carrier will pick up the package.

    Note: Scheduled carrier pickup is available only using Dynamex (US), DPD (UK), and Royal Mail (UK).
    boolean
    CarrierWillPickUpOption
    optional
    Carrier will pick up option.CarrierWillPickUpOption
    LabelFormat
    optional
    The seller's preferred label format.LabelFormat

    CarrierWillPickUpOption

    Carrier will pick up option.

    Type : enum

    ValueDescription
    CarrierWillPickUpThe carrier will pick up the package.
    ShipperWillDropOffThe seller is responsible for arranging pickup or dropping off the package to the carrier.
    NoPreferenceNo preference.

    StandardIdForLabel

    The type of standard identifier to print on the label.

    Type : enum

    ValueDescription
    AmazonOrderIdAn Amazon-defined order identifier in 3-7-7 format.

    StateOrProvinceCode

    The state or province code. Note. Required in the Canada, US, and UK marketplaces. Also required for shipments originating from China.

    Type : string

    maxLength : 30

    RejectedShippingService

    Information about a rejected shipping service

    NameDescriptionSchema
    CarrierName
    required
    The rejected shipping carrier name. e.g. USPSstring
    ShippingServiceName
    required
    The rejected shipping service localized name. e.g. FedEx Standard Overnightstring
    ShippingServiceId
    required
    The rejected shipping service identifier. e.g. FEDEX_PTP_STANDARD_OVERNIGHTShippingServiceIdentifier
    RejectionReasonCode
    required
    A reason code meant to be consumed programatically. e.g. CARRIER_CANNOT_SHIP_TO_POBOXstring
    RejectionReasonMessage
    optional
    A localized human readable description of the rejected reason.string

    RejectedShippingServiceList

    List of services that were for some reason unavailable for this request

    Type : < RejectedShippingService > array

    TemporarilyUnavailableCarrier

    A carrier who is temporarily unavailable, most likely due to a service outage experienced by the carrier.

    NameDescriptionSchema
    CarrierName
    required
    The name of the carrier.string

    TemporarilyUnavailableCarrierList

    A list of temporarily unavailable carriers.

    Type : < TemporarilyUnavailableCarrier > array

    TermsAndConditionsNotAcceptedCarrier

    A carrier whose terms and conditions have not been accepted by the seller.

    NameDescriptionSchema
    CarrierName
    required
    The name of the carrier.string

    TermsAndConditionsNotAcceptedCarrierList

    List of carriers whose terms and conditions were not accepted by the seller.

    Type : < TermsAndConditionsNotAcceptedCarrier > array

    Timestamp

    Date-time formatted timestamp.

    Type : string (date-time)

    TrackingId

    The shipment tracking identifier provided by the carrier.

    Type : string

    TransparencyCode

    The Transparency code associated with the item. The Transparency serial number that needs to be submitted can be determined by the following:

    1D or 2D Barcode: This has a T logo. Submit either the 29-character alpha-numeric identifier beginning with AZ or ZA, or the 38-character Serialized Global Trade Item Number (SGTIN).
    2D Barcode SN: Submit the 7- to 20-character serial number barcode, which likely has the prefix SN. The serial number will be applied to the same side of the packaging as the GTIN (UPC/EAN/ISBN) barcode.
    QR code SN: Submit the URL that the QR code generates.

    Type : string

    TransparencyCodeList

    A list of transparency codes.

    Type : < TransparencyCode > array

    UnitOfLength

    The unit of length.

    Type : enum

    ValueDescription
    inchesThe unit of length is inches.
    centimetersThe unit of length is centimeters.

    UnitOfWeight

    The unit of weight.

    Type : enum

    ValueDescription
    ozThe unit of weight is ounces.
    gThe unit of weight is grams.

    Weight

    The weight.

    NameDescriptionSchema
    Value
    required
    The weight value.WeightValue
    Unit
    required
    The unit of weight.UnitOfWeight

    WeightValue

    The weight value.

    Type : number (double)

    LiquidVolume

    Liquid Volume.

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

    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|ID|NA)[0-9]{4}$"
    string
    TransportationRegulatoryClass
    optional
    The specific regulatory class of the item being shipped.
    Pattern : "^[1-9](\\.[1-9])?$"
    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)

    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.

    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)

    Unit

    The unit of measurement.

    Type : enum

    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.