Vendor Shipments API v1 reference

Programmatic access to retail shipping data for vendors.

Selling Partner API for Retail Procurement Shipments

Overview

The Selling Partner API for Retail Procurement Shipments provides programmatic access to retail shipping data for vendors.

Version information

Version : v1

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

SubmitShipmentConfirmations

Paths

POST /vendor/shipping/v1/shipmentConfirmations

Operation: SubmitShipmentConfirmations

Description

Submits one or more shipment confirmations for vendor orders.

Usage Plans:

Plan typeRate (requests per second)Burst
Default1010
Selling partner specificVariableVariable

The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see "Usage Plans and Rate Limits" in the Selling Partner API documentation.

Parameters

TypeNameDescriptionSchema
Bodybody
required
The request schema for the SubmitShipmentConfirmations operation.SubmitShipmentConfirmationsRequest

Responses

HTTP CodeDescriptionSchema
202Success.
Headers :
x-amzn-RateLimit-Limit (string) : Your rate limit (requests per second) for this operation.
x-amzn-RequestId (string) : Unique request reference identifier.
SubmitShipmentConfirmationsResponse

For 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.
SubmitShipmentConfirmationsResponse
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.
SubmitShipmentConfirmationsResponse
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.
SubmitShipmentConfirmationsResponse
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.
SubmitShipmentConfirmationsResponse
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.
SubmitShipmentConfirmationsResponse
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.
SubmitShipmentConfirmationsResponse
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.
SubmitShipmentConfirmationsResponse
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.
SubmitShipmentConfirmationsResponse

Definitions

SubmitShipmentConfirmationsRequest

The request schema for the SubmitShipmentConfirmations operation.

NameSchema
shipmentConfirmations
optional
< ShipmentConfirmation > array

ShipmentConfirmation

NameDescriptionSchema
shipmentIdentifier
required
Unique shipment ID (not used over the last 365 days).string
shipmentConfirmationType
required
Indicates if this shipment confirmation is the initial confirmation, or intended to replace an already posted shipment confirmation. If replacing an existing shipment confirmation, be sure to provide the identical shipmentIdentifier and sellingParty information as in the previous confirmation.enum (ShipmentConfirmationType)
shipmentType
optional
The type of shipment.enum (ShipmentType)
shipmentStructure
optional
Shipment hierarchical structure.enum (ShipmentStructure)
transportationDetails
optional
Transportation details for this shipment.TransportationDetails
amazonReferenceNumber
optional
The Amazon Reference Number is a unique identifier generated by Amazon for all Collect/WePay shipments when you submit a routing request. This field is mandatory for Collect/WePay shipments.string
shipmentConfirmationDate
required
Date on which the shipment confirmation was submitted.string (date-time)
shippedDate
optional
The date and time of the departure of the shipment from the vendor's location. Vendors are requested to send ASNs within 30 minutes of departure from their warehouse/distribution center or at least 6 hours prior to the appointment time at the Amazon destination warehouse, whichever is sooner. Shipped date mentioned in the shipment confirmation should not be in the future.string (date-time)
estimatedDeliveryDate
optional
The date and time on which the shipment is expected to reach buyer's warehouse. It needs to be an estimate based on the average transit time between ship from location and the destination. The exact appointment time will be provided by the buyer and is potentially not known when creating the shipment confirmation.string (date-time)
sellingParty
required
Name/Address and tax details of the selling party.PartyIdentification
shipFromParty
required
Name/Address and tax details of the ship from party.PartyIdentification
shipToParty
required
Name/Address of the destination warehouse where the shipment is being shipped to.PartyIdentification
shipmentMeasurements
optional
Shipment measurement details.ShipmentMeasurements
importDetails
optional
Provide these fields only if this shipment is a direct import.ImportDetails
shippedItems
required
A list of the items in this shipment and their associated details. If any of the item detail fields are common at a carton or a pallet level, provide them at the corresponding carton or pallet level.< Item > array
cartons
optional
A list of the cartons in this shipment.< Carton > array
pallets
optional
A list of the pallets in this shipment.< Pallet > array

ShipmentMeasurements

Shipment measurement details.

NameDescriptionSchema
grossShipmentWeight
optional
Gross weight of the shipment.Weight
shipmentVolume
optional
Volume of the shipment.Volume
cartonCount
optional
Number of cartons present in the shipment. Provide the cartonCount only for unpalletized shipments.integer
palletCount
optional
Number of pallets present in the shipment. Provide the palletCount only for palletized shipments.integer

TransportationDetails

NameDescriptionSchema
carrierScac
optional
Code that identifies the carrier for the shipment. The Standard Carrier Alpha Code (SCAC) is a unique two to four letter code used to identify a carrier. Carrier SCAC codes are assigned and maintained by the NMFTA (National Motor Freight Association). This field is mandatory for US, CA, MX shipment confirmations.string
carrierShipmentReferenceNumber
optional
The field also known as PRO number is a unique number assigned by the carrier. It is used to identify and track the shipment that goes out for delivery. This field is mandatory for UA, CA, MX shipment confirmations.string
transportationMode
optional
The mode of transportation for this shipment.enum (TransportationMode)
billOfLadingNumber
optional
Bill Of Lading (BOL) number is the unique number assigned by the vendor. The BOL present in the Shipment Confirmation message ideally matches the paper BOL provided with the shipment, but that is no must. Instead of BOL, an alternative reference number (like Delivery Note Number) for the shipment can also be sent in this field.string

ImportDetails

NameDescriptionSchema
methodOfPayment
optional
This is used for import purchase orders only. If the recipient requests, this field will contain the shipment method of payment.enum (MethodOfPayment)
sealNumber
optional
The container's seal number.string
route
optional
The route and stop details for this shipment.Route
importContainers
optional
Types and numbers of container(s) for import purchase orders. Can be a comma-separated list if shipment has multiple containers.
maxLength : 64
string
billableWeight
optional
Billable weight of the direct imports shipment.Weight
estimatedShipByDate
optional
Date on which the shipment is expected to be shipped. This value should not be in the past and not more than 60 days out in the future.string (date-time)

Item

Details of the item being shipped.

NameDescriptionSchema
itemSequenceNumber
required
Item sequence number for the item. The first item will be 001, the second 002, and so on. This number is used as a reference to refer to this item from the carton or pallet level.string
amazonProductIdentifier
optional
Amazon Standard Identification Number (ASIN) of an item.string
vendorProductIdentifier
optional
The vendor selected product identification of the item. Should be the same as was sent in the purchase order.string
shippedQuantity
required
Total item quantity shipped in this shipment.ItemQuantity
itemDetails
optional
Item details for be provided for every item in shipment at either the item or carton or pallet level, whichever is appropriate.ItemDetails

Carton

Details of the carton/package being shipped.

NameDescriptionSchema
cartonIdentifiers
optional
A list of carton identifiers.< ContainerIdentification > array
cartonSequenceNumber
required
Carton sequence number for the carton. The first carton will be 001, the second 002, and so on. This number is used as a reference to refer to this carton from the pallet level.string
dimensions
optional
Physical dimensional measurements of a container.Dimensions
weight
optional
The weight.Weight
trackingNumber
optional
This is required to be provided for every carton in the small parcel shipments.string
items
required
A list of container item details.< ContainerItem > array

Pallet

Details of the Pallet/Tare being shipped.

NameDescriptionSchema
palletIdentifiers
required
A list of pallet identifiers.< ContainerIdentification > array
tier
optional
Number of layers per pallet.integer
block
optional
Number of cartons per layer on the pallet.integer
dimensions
optional
Physical dimensional measurements of a container.Dimensions
weight
optional
The weight.Weight
cartonReferenceDetails
optional
Carton reference details.CartonReferenceDetails
items
optional
A list of container item details.< ContainerItem > array

ItemDetails

Item details for be provided for every item in shipment at either the item or carton or pallet level, whichever is appropriate.

NameDescriptionSchema
purchaseOrderNumber
optional
The Amazon purchase order number for the shipment being confirmed. If the items in this shipment belong to multiple purchase order numbers that are in particular carton or pallet within the shipment, then provide the purchaseOrderNumber at the appropriate carton or pallet level. Formatting Notes: 8-character alpha-numeric code.string
lotNumber
optional
The batch or lot number associates an item with information the manufacturer considers relevant for traceability of the trade item to which the Element String is applied. The data may refer to the trade item itself or to items contained. This field is mandatory for all perishable items.string
expiry
optional
Either expiryDate or mfgDate and expiryAfterDuration are mandatory for perishable items.Expiry
maximumRetailPrice
optional
Maximum retail price of the item being shipped.Money
handlingCode
optional
Identification of the instructions on how specified item/carton/pallet should be handled.enum (HandlingCode)

ContainerIdentification

NameDescriptionSchema
containerIdentificationType
required
The container identification type.enum (ContainerIdentificationType)
containerIdentificationNumber
required
Container identification number that adheres to the definition of the container identification type.string

ContainerItem

Carton/Pallet level details for the item.

NameDescriptionSchema
itemReference
required
The reference number for the item. Please provide the itemSequenceNumber from the 'items' segment to refer to that item's details here.string
shippedQuantity
required
Total item quantity shipped in this carton/pallet.ItemQuantity
itemDetails
optional
Item details for be provided for every item in shipment at either the item or carton or pallet level, whichever is appropriate.ItemDetails

CartonReferenceDetails

NameDescriptionSchema
cartonCount
optional
Pallet level carton count is mandatory for single item pallet and optional for mixed item pallet.integer
cartonReferenceNumbers
required
Array of reference numbers for the carton that are part of this pallet/shipment. Please provide the cartonSequenceNumber from the 'cartons' segment to refer to that carton's details here.< string > array

PartyIdentification

NameDescriptionSchema
address
optional
Identification of the party by address.Address
partyId
required
Assigned identification for the party.string
taxRegistrationDetails
optional
Tax registration details of the entity.< TaxRegistrationDetails > array

TaxRegistrationDetails

Tax registration details of the entity.

NameDescriptionSchema
taxRegistrationType
required
Tax registration type for the entity.enum (TaxRegistrationType)
taxRegistrationNumber
required
Tax registration number for the entity. For example, VAT ID.string

Address

Address of the party.

NameDescriptionSchema
name
required
The name of the person, business or institution at that address.string
addressLine1
required
First line of the address.string
addressLine2
optional
Additional street address information, if required.string
addressLine3
optional
Additional street address information, if required.string
city
optional
The city where the person, business or institution is located.string
county
optional
The county where person, business or institution is located.string
district
optional
The district where person, business or institution is located.string
stateOrRegion
optional
The state or region where person, business or institution is located.string
postalCode
optional
The postal code of that address. It contains a series of letters or digits or both, sometimes including spaces or punctuation.string
countryCode
required
The two digit country code in ISO 3166-1 alpha-2 format.string
phone
optional
The phone number of the person, business or institution located at that address.string

Route

This is used only for direct import shipment confirmations.

NameSchema
stops
required
< Stop > array

Stop

Contractual or operational port or point relevant to the movement of the cargo.

NameDescriptionSchema
functionCode
required
Provide the function code.enum (FunctionCode)
locationIdentification
optional
Location identifier.Location
arrivalTime
optional
Date and time of the arrival of the cargo.string (date-time)
departureTime
optional
Date and time of the departure of the cargo.string (date-time)

Location

Location identifier.

NameDescriptionSchema
type
optional
Type of location identification.string
locationCode
optional
Location code.string
countryCode
optional
The two digit country code. In ISO 3166-1 alpha-2 format.string

Dimensions

Physical dimensional measurements of a container.

NameDescriptionSchema
length
required
The length of the container.Decimal
width
required
The width of the container.Decimal
height
required
The height of the container.Decimal
unitOfMeasure
required
The unit of measure for dimensions.enum (UnitOfMeasure)

Volume

The volume of the container.

NameDescriptionSchema
unitOfMeasure
required
The unit of measurement.enum (UnitOfMeasure)
value
required
The measurement value.Decimal

Weight

The weight.

NameDescriptionSchema
unitOfMeasure
required
The unit of measurement.enum (UnitOfMeasure)
value
required
The measurement value.Decimal

Money

An amount of money, including units in the form of currency.

NameDescriptionSchema
currencyCode
required
Three digit currency code in ISO 4217 format.string
amount
required
A decimal number with no loss of precision. Useful when precision loss is unacceptable, as with currencies. Follows RFC7159 for number representation.
Pattern : ^-?(0\|([1-9]\d*))(\.\d+)?([eE][+-]?\d+)?$.
Decimal

Decimal

A decimal number with no loss of precision. Useful when precision loss is unacceptable, as with currencies. Follows RFC7159 for number representation.
Pattern : ^-?(0|([1-9]\d*))(\.\d+)?([eE][+-]?\d+)?$.

Type : string

ItemQuantity

Details of item quantity.

NameDescriptionSchema
amount
required
Amount of units shipped for a specific item at a shipment level. If the item is present only in certain cartons or pallets within the shipment, please provide this at the appropriate carton or pallet level.integer
unitOfMeasure
required
Unit of measure for the shipped quantity.enum (UnitOfMeasure)
unitSize
optional
The case size, in the event that we ordered using cases. Otherwise, 1.integer

Expiry

NameDescriptionSchema
manufacturerDate
optional
Production, packaging or assembly date determined by the manufacturer. Its meaning is determined based on the trade item context.string (date-time)
expiryDate
optional
The date that determines the limit of consumption or use of a product. Its meaning is determined based on the trade item context.string (date-time)
expiryAfterDuration
optional
Duration after manufacturing date during which the product is valid for consumption.Duration

Duration

NameDescriptionSchema
durationUnit
required
Unit for duration.enum (DurationUnit)
durationValue
required
Value for the duration in terms of the durationUnit.integer

SubmitShipmentConfirmationsResponse

The response schema for the SubmitShipmentConfirmations operation.

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

TransactionReference

NameDescriptionSchema
transactionId
optional
GUID assigned by Amazon to identify this transaction. This value can be used with the Transaction Status API to return the status of this transaction.string

ErrorList

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

Type : < Error > array

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

MethodOfPayment

This is used for import purchase orders only. If the recipient requests, this field will contain the shipment method of payment.

Type : enum

ValueDescription
PaidByBuyerBuyer pays for shipping.
CollectOnDeliveryBuyer pays for shipping on delivery.
DefinedByBuyerAndSellerShipping costs paid as agreed upon between buyer and seller.
FOBPortOfCallSeller pays for transportation incl. loading, shipping.
PrepaidBySellerSeller prepays for shipping.
PaidBySellerSeller pays for shipping.

ShipmentType

The type of shipment.

Type : enum

ValueDescription
TruckLoadTruckload shipping is the movement of large amounts of homogeneous cargo, generally the amount necessary to fill an entire semi-trailer or intermodal container.
LessThanTruckLoadShipping does not fill the entire truck.
SmallParcelSmall parcel shipments are under 70 pounds per and shipped in your own packaging or carrier supplied boxes.

TransportationMode

The mode of transportation for this shipment.

Type : enum

ValueDescription
RoadThe mode of transportation is by Road (on a truck).
AirThe mode of transportation is by Air (on a plane).
OceanThe mode of transportation is by Ocean (on a ship).

HandlingCode

Identification of the instructions on how specified item/carton/pallet should be handled.

Type : enum

ValueDescription
OversizedA package weighing 150 pounds or less and measuring greater than 130 inches in length and girth is classified as an oversized package.
FragileA package containing easily breakable items.
FoodA package containing edible items.
HandleWithCareA package containing fragile or dangerous items.

TaxRegistrationType

Tax registration type for the entity.

Type : enum

ValueDescription
VATValue-added tax.
GSTGoods and Services tax.

DurationUnit

Unit for duration.

Type : enum

ValueDescription
DaysDays
MonthsMonths

FunctionCode

Provide the function code.

Type : enum

ValueDescription
PortOfDischargePort of Discharge is a place where a vessel discharges or unloads some or all of its shipments.
FreightPayableAtPlace where the payment for the freight is made.
PortOfLoadingThe port where goods are put on a ship.

ContainerIdentificationType

The container identification type.

Type : enum

ValueDescription
SSCC2 Digit Application Identifier (00) followed by unique 18-digit Serial Shipment Container Code (SSCC) to be included to define a pallet/carton and to identify its contents.
AMZNCCAmazon Container Code - a substitute for a SSCC that is generated by Amazon for small vendors and associated with a pallet/carton label.
GTINGlobal Trade Identification Number (part of the standard GS1 barcoding and product identification system).
BPSBarcode Packing Slip.
CIDContainer identifier for import shipments.

ShipmentConfirmationType

Indicates if this shipment confirmation is the initial confirmation, or intended to replace an already posted shipment confirmation. If replacing an existing shipment confirmation, be sure to provide the identical shipmentIdentifier and sellingParty information as in the previous confirmation.

Type : enum

ValueDescription
OriginalInitial shipment confirmation message.
ReplaceReplace the original shipment confirmation message.

ShipmentStructure

Shipment hierarchical structure.

Type : enum

ValueDescription
PalletizedAssortmentCaseShipment -> Order -> Pallet/Tare -> Carton/Package -> Item
LooseAssortmentCaseShipment -> Order -> Carton/Package -> Item
PalletOfItemsShipment -> Order -> Pallet/Tare -> Item
PalletizedStandardCaseShipment -> Order -> Pallet/Tare -> Item -> Carton/Package
LooseStandardCaseShipment -> Order -> Item -> Carton/Package
MasterPalletShipment -> Pallet/Tare -> Order -> Item
MasterCaseShipment -> Carton/Package -> Order -> Item

UnitOfMeasure

Type : enum

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

ValueDescription
GGrams
KgKilograms
OzOunces
LbPounds

For use with the definition(s): Dimensions
The unit of measure for dimensions.

ValueDescription
InInches
FtFeet
MeterMeters
YardYards

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

ValueDescription
CuFtCubic feet.
CuInCubic inches.
CuMCubic meter.
CuYCubic yard.

For use with the definition(s): ItemQuantity
Unit of measure for the shipped quantity.

ValueDescription
CasesPacking of individual items into a case.
EachesIndividual items.

Did this page help you?