Download OpenAPI specification:Download
The Selling Partner API for Orders helps you programmatically retrieve order information. These APIs let you develop fast, flexible, custom applications in areas like order synchronization, order research, and demand-based decision support tools.
Returns orders created or updated during the time frame indicated by the specified parameters. You can also apply a range of filtering criteria to narrow the list of orders returned. If NextToken is present, that will be used to retrieve the orders instead of other criteria.
Usage Plan:
Rate (requests per second) | Burst |
---|---|
0.0167 | 20 |
The x-amzn-RateLimit-Limit
response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values then those shown here. For more information, see Usage Plans and Rate Limits in the Selling Partner API.
CreatedAfter | string A date used for selecting orders created after (or at) a specified time. Only orders placed after the specified time are returned. Either the CreatedAfter parameter or the LastUpdatedAfter parameter is required. Both cannot be empty. The date must be in ISO 8601 format. |
CreatedBefore | string A date used for selecting orders created before (or at) a specified time. Only orders placed before the specified time are returned. The date must be in ISO 8601 format. |
LastUpdatedAfter | string A date used for selecting orders that were last updated after (or at) a specified time. An update is defined as any change in order status, including the creation of a new order. Includes updates made by Amazon and by the seller. The date must be in ISO 8601 format. |
LastUpdatedBefore | string A date used for selecting orders that were last updated before (or at) a specified time. An update is defined as any change in order status, including the creation of a new order. Includes updates made by Amazon and by the seller. The date must be in ISO 8601 format. |
OrderStatuses | Array of strings A list of Possible values:
|
MarketplaceIds required | Array of strings <= 50 items A list of MarketplaceId values. Used to select orders that were placed in the specified marketplaces. See the Selling Partner API Developer Guide for a complete list of marketplaceId values. |
FulfillmentChannels | Array of strings A list that indicates how an order was fulfilled. Filters the results by fulfillment channel. Possible values: AFN (Fulfillment by Amazon); MFN (Fulfilled by the seller). |
PaymentMethods | Array of strings A list of payment method values. Used to select orders paid using the specified payment methods. Possible values: COD (Cash on delivery); CVS (Convenience store payment); Other (Any payment method other than COD or CVS). |
BuyerEmail | string The email address of a buyer. Used to select orders that contain the specified email address. |
SellerOrderId | string An order identifier that is specified by the seller. Used to select only the orders that match the order identifier. If SellerOrderId is specified, then FulfillmentChannels, OrderStatuses, PaymentMethod, LastUpdatedAfter, LastUpdatedBefore, and BuyerEmail cannot be specified. |
MaxResultsPerPage | integer <int32> A number that indicates the maximum number of orders that can be returned per page. Value must be 1 - 100. Default 100. |
EasyShipShipmentStatuses | Array of strings A list of Possible values:
|
ElectronicInvoiceStatuses | Array of strings A list of Possible values:
|
NextToken | string A string token returned in the response of your previous request. |
AmazonOrderIds | Array of strings <= 50 items A list of AmazonOrderId values. An AmazonOrderId is an Amazon-defined order identifier, in 3-7-7 format. |
ActualFulfillmentSupplySourceId | string Denotes the recommended sourceId where the order should be fulfilled from. |
IsISPU | boolean When true, this order is marked to be picked up from a store rather than delivered. |
StoreChainStoreId | string The store chain store identifier. Linked to a specific store in a store chain. |
{- "payload": {
- "Orders": [
- {
- "AmazonOrderId": "string",
- "SellerOrderId": "string",
- "PurchaseDate": "string",
- "LastUpdateDate": "string",
- "OrderStatus": "Pending",
- "FulfillmentChannel": "MFN",
- "SalesChannel": "string",
- "OrderChannel": "string",
- "ShipServiceLevel": "string",
- "OrderTotal": {
- "CurrencyCode": "string",
- "Amount": "string"
}, - "NumberOfItemsShipped": 0,
- "NumberOfItemsUnshipped": 0,
- "PaymentExecutionDetail": [
- {
- "Payment": {
- "CurrencyCode": "string",
- "Amount": "string"
}, - "PaymentMethod": "string"
}
], - "PaymentMethod": "COD",
- "PaymentMethodDetails": [
- "string"
], - "MarketplaceId": "string",
- "ShipmentServiceLevelCategory": "string",
- "EasyShipShipmentStatus": "PendingSchedule",
- "CbaDisplayableShippingLabel": "string",
- "OrderType": "StandardOrder",
- "EarliestShipDate": "string",
- "LatestShipDate": "string",
- "EarliestDeliveryDate": "string",
- "LatestDeliveryDate": "string",
- "IsBusinessOrder": true,
- "IsPrime": true,
- "IsPremiumOrder": true,
- "IsGlobalExpressEnabled": true,
- "ReplacedOrderId": "string",
- "IsReplacementOrder": true,
- "PromiseResponseDueDate": "string",
- "IsEstimatedShipDateSet": true,
- "IsSoldByAB": true,
- "IsIBA": true,
- "DefaultShipFromLocationAddress": {
- "Name": "string",
- "AddressLine1": "string",
- "AddressLine2": "string",
- "AddressLine3": "string",
- "City": "string",
- "County": "string",
- "District": "string",
- "StateOrRegion": "string",
- "Municipality": "string",
- "PostalCode": "string",
- "CountryCode": "string",
- "Phone": "string",
- "AddressType": "Residential"
}, - "BuyerInvoicePreference": "INDIVIDUAL",
- "BuyerTaxInformation": {
- "BuyerLegalCompanyName": "string",
- "BuyerBusinessAddress": "string",
- "BuyerTaxRegistrationId": "string",
- "BuyerTaxOffice": "string"
}, - "FulfillmentInstruction": {
- "FulfillmentSupplySourceId": "string"
}, - "IsISPU": true,
- "IsAccessPointOrder": true,
- "MarketplaceTaxInfo": {
- "TaxClassifications": [
- {
- "Name": "string",
- "Value": "string"
}
]
}, - "SellerDisplayName": "string",
- "ShippingAddress": {
- "Name": "string",
- "AddressLine1": "string",
- "AddressLine2": "string",
- "AddressLine3": "string",
- "City": "string",
- "County": "string",
- "District": "string",
- "StateOrRegion": "string",
- "Municipality": "string",
- "PostalCode": "string",
- "CountryCode": "string",
- "Phone": "string",
- "AddressType": "Residential"
}, - "BuyerInfo": {
- "BuyerEmail": "string",
- "BuyerName": "string",
- "BuyerCounty": "string",
- "BuyerTaxInfo": {
- "CompanyLegalName": "string",
- "TaxingRegion": "string",
- "TaxClassifications": [
- {
- "Name": "string",
- "Value": "string"
}
]
}, - "PurchaseOrderNumber": "string"
}, - "AutomatedShippingSettings": {
- "HasAutomatedShippingSettings": true,
- "AutomatedCarrier": "string",
- "AutomatedShipMethod": "string"
}, - "HasRegulatedItems": true,
- "ElectronicInvoiceStatus": "NotRequired"
}
], - "NextToken": "string",
- "LastUpdatedBefore": "string",
- "CreatedBefore": "string"
}, - "errors": [
- {
- "code": "string",
- "message": "string",
- "details": "string"
}
]
}
Returns the order that you specify.
Usage Plan:
Rate (requests per second) | Burst |
---|---|
0.0167 | 20 |
The x-amzn-RateLimit-Limit
response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values then those shown here. For more information, see Usage Plans and Rate Limits in the Selling Partner API.
orderId required | string An Amazon-defined order identifier, in 3-7-7 format. |
{- "payload": {
- "AmazonOrderId": "string",
- "SellerOrderId": "string",
- "PurchaseDate": "string",
- "LastUpdateDate": "string",
- "OrderStatus": "Pending",
- "FulfillmentChannel": "MFN",
- "SalesChannel": "string",
- "OrderChannel": "string",
- "ShipServiceLevel": "string",
- "OrderTotal": {
- "CurrencyCode": "string",
- "Amount": "string"
}, - "NumberOfItemsShipped": 0,
- "NumberOfItemsUnshipped": 0,
- "PaymentExecutionDetail": [
- {
- "Payment": {
- "CurrencyCode": "string",
- "Amount": "string"
}, - "PaymentMethod": "string"
}
], - "PaymentMethod": "COD",
- "PaymentMethodDetails": [
- "string"
], - "MarketplaceId": "string",
- "ShipmentServiceLevelCategory": "string",
- "EasyShipShipmentStatus": "PendingSchedule",
- "CbaDisplayableShippingLabel": "string",
- "OrderType": "StandardOrder",
- "EarliestShipDate": "string",
- "LatestShipDate": "string",
- "EarliestDeliveryDate": "string",
- "LatestDeliveryDate": "string",
- "IsBusinessOrder": true,
- "IsPrime": true,
- "IsPremiumOrder": true,
- "IsGlobalExpressEnabled": true,
- "ReplacedOrderId": "string",
- "IsReplacementOrder": true,
- "PromiseResponseDueDate": "string",
- "IsEstimatedShipDateSet": true,
- "IsSoldByAB": true,
- "IsIBA": true,
- "DefaultShipFromLocationAddress": {
- "Name": "string",
- "AddressLine1": "string",
- "AddressLine2": "string",
- "AddressLine3": "string",
- "City": "string",
- "County": "string",
- "District": "string",
- "StateOrRegion": "string",
- "Municipality": "string",
- "PostalCode": "string",
- "CountryCode": "string",
- "Phone": "string",
- "AddressType": "Residential"
}, - "BuyerInvoicePreference": "INDIVIDUAL",
- "BuyerTaxInformation": {
- "BuyerLegalCompanyName": "string",
- "BuyerBusinessAddress": "string",
- "BuyerTaxRegistrationId": "string",
- "BuyerTaxOffice": "string"
}, - "FulfillmentInstruction": {
- "FulfillmentSupplySourceId": "string"
}, - "IsISPU": true,
- "IsAccessPointOrder": true,
- "MarketplaceTaxInfo": {
- "TaxClassifications": [
- {
- "Name": "string",
- "Value": "string"
}
]
}, - "SellerDisplayName": "string",
- "ShippingAddress": {
- "Name": "string",
- "AddressLine1": "string",
- "AddressLine2": "string",
- "AddressLine3": "string",
- "City": "string",
- "County": "string",
- "District": "string",
- "StateOrRegion": "string",
- "Municipality": "string",
- "PostalCode": "string",
- "CountryCode": "string",
- "Phone": "string",
- "AddressType": "Residential"
}, - "BuyerInfo": {
- "BuyerEmail": "string",
- "BuyerName": "string",
- "BuyerCounty": "string",
- "BuyerTaxInfo": {
- "CompanyLegalName": "string",
- "TaxingRegion": "string",
- "TaxClassifications": [
- {
- "Name": "string",
- "Value": "string"
}
]
}, - "PurchaseOrderNumber": "string"
}, - "AutomatedShippingSettings": {
- "HasAutomatedShippingSettings": true,
- "AutomatedCarrier": "string",
- "AutomatedShipMethod": "string"
}, - "HasRegulatedItems": true,
- "ElectronicInvoiceStatus": "NotRequired"
}, - "errors": [
- {
- "code": "string",
- "message": "string",
- "details": "string"
}
]
}
Returns buyer information for the order that you specify.
Usage Plan:
Rate (requests per second) | Burst |
---|---|
0.0167 | 20 |
The x-amzn-RateLimit-Limit
response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values then those shown here. For more information, see Usage Plans and Rate Limits in the Selling Partner API.
orderId required | string An orderId is an Amazon-defined order identifier, in 3-7-7 format. |
{- "payload": {
- "AmazonOrderId": "902-3159896-1390916",
- "BuyerEmail": "user@example.com",
- "BuyerName": "John Smith",
- "BuyerTaxInfo": {
- "CompanyLegalName": "Company Name"
}, - "PurchaseOrderNumber": "1234567890123"
}
}
Returns the shipping address for the order that you specify.
Usage Plan:
Rate (requests per second) | Burst |
---|---|
0.0167 | 20 |
The x-amzn-RateLimit-Limit
response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values then those shown here. For more information, see Usage Plans and Rate Limits in the Selling Partner API.
orderId required | string An orderId is an Amazon-defined order identifier, in 3-7-7 format. |
{- "payload": {
- "AmazonOrderId": "902-3159896-1390916",
- "ShippingAddress": {
- "Name": "Michigan address",
- "AddressLine1": "1 cross st",
- "City": "Canton",
- "StateOrRegion": "MI",
- "PostalCode": "48817",
- "CountryCode": "US"
}
}
}
Returns detailed order item information for the order that you specify. If NextToken is provided, it's used to retrieve the next page of order items.
Note: When an order is in the Pending state (the order has been placed but payment has not been authorized), the getOrderItems operation does not return information about pricing, taxes, shipping charges, gift status or promotions for the order items in the order. After an order leaves the Pending state (this occurs when payment has been authorized) and enters the Unshipped, Partially Shipped, or Shipped state, the getOrderItems operation returns information about pricing, taxes, shipping charges, gift status and promotions for the order items in the order.
Usage Plan:
Rate (requests per second) | Burst |
---|---|
0.5 | 30 |
The x-amzn-RateLimit-Limit
response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values then those shown here. For more information, see Usage Plans and Rate Limits in the Selling Partner API.
orderId required | string An Amazon-defined order identifier, in 3-7-7 format. |
NextToken | string A string token returned in the response of your previous request. |
{- "payload": {
- "AmazonOrderId": "903-1671087-0812628",
- "NextToken": "2YgYW55IGNhcm5hbCBwbGVhc3VyZS4",
- "OrderItems": [
- {
- "ASIN": "BT0093TELA",
- "OrderItemId": "68828574383266",
- "SellerSKU": "CBA_OTF_1",
- "Title": "Example item name",
- "QuantityOrdered": 1,
- "QuantityShipped": 1,
- "PointsGranted": {
- "PointsNumber": 10,
- "PointsMonetaryValue": {
- "CurrencyCode": "JPY",
- "Amount": "10.00"
}
}, - "ItemPrice": {
- "CurrencyCode": "JPY",
- "Amount": "25.99"
}, - "ShippingPrice": {
- "CurrencyCode": "JPY",
- "Amount": "1.26"
}, - "ScheduledDeliveryEndDate": "2013-09-09T01:30:00Z",
- "ScheduledDeliveryStartDate": "2013-09-07T02:00:00Z",
- "CODFee": {
- "CurrencyCode": "JPY",
- "Amount": "10.00"
}, - "CODFeeDiscount": {
- "CurrencyCode": "JPY",
- "Amount": "1.00"
}, - "PriceDesignation": "BusinessPrice",
- "BuyerInfo": {
- "BuyerCustomizedInfo": {
}, - "GiftMessageText": "For you!",
- "GiftWrapPrice": {
- "CurrencyCode": "GBP",
- "Amount": "41.99"
}, - "GiftWrapLevel": "Classic"
}, - "BuyerRequestedCancel": {
- "IsBuyerRequestedCancel": true,
- "BuyerCancelReason": "Found cheaper somewhere else."
}
}, - {
- "ASIN": "BCTU1104UEFB",
- "OrderItemId": "79039765272157",
- "SellerSKU": "CBA_OTF_5",
- "Title": "Example item name",
- "QuantityOrdered": 2,
- "ItemPrice": {
- "CurrencyCode": "JPY",
- "Amount": "17.95"
}, - "PromotionIds": [
- "FREESHIP"
], - "ConditionId": "Used",
- "ConditionSubtypeId": "Mint",
- "ConditionNote": "Example ConditionNote",
- "PriceDesignation": "BusinessPrice",
- "BuyerInfo": {
- "BuyerCustomizedInfo": {
}, - "GiftMessageText": "For you!",
- "GiftWrapPrice": {
- "CurrencyCode": "JPY",
- "Amount": "1.99"
}, - "GiftWrapLevel": "Classic"
}, - "BuyerRequestedCancel": {
- "IsBuyerRequestedCancel": true,
- "BuyerCancelReason": "Found cheaper somewhere else."
}
}
]
}
}
Returns buyer information for the order items in the order that you specify.
Usage Plan:
Rate (requests per second) | Burst |
---|---|
0.5 | 30 |
The x-amzn-RateLimit-Limit
response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values then those shown here. For more information, see Usage Plans and Rate Limits in the Selling Partner API.
orderId required | string An Amazon-defined order identifier, in 3-7-7 format. |
NextToken | string A string token returned in the response of your previous request. |
{- "payload": {
- "OrderItems": [
- {
- "OrderItemId": "string",
- "BuyerCustomizedInfo": {
- "CustomizedURL": "string"
}, - "GiftWrapPrice": {
- "CurrencyCode": "string",
- "Amount": "string"
}, - "GiftWrapTax": {
- "CurrencyCode": "string",
- "Amount": "string"
}, - "GiftMessageText": "string",
- "GiftWrapLevel": "string"
}
], - "NextToken": "string",
- "AmazonOrderId": "string"
}, - "errors": [
- {
- "code": "string",
- "message": "string",
- "details": "string"
}
]
}
Returns regulated information for the order that you specify.
Usage Plan:
Rate (requests per second) | Burst |
---|---|
0.5 | 30 |
The x-amzn-RateLimit-Limit
response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values then those shown here. For more information, see Usage Plans and Rate Limits in the Selling Partner API.
orderId required | string An orderId is an Amazon-defined order identifier, in 3-7-7 format. |
{- "payload": {
- "AmazonOrderId": "string",
- "RegulatedInformation": {
- "Fields": [
- {
- "FieldId": "string",
- "FieldLabel": "string",
- "FieldType": "Text",
- "FieldValue": "string"
}
]
}, - "RequiresDosageLabel": true,
- "RegulatedOrderVerificationStatus": {
- "Status": "Pending",
- "RequiresMerchantAction": true,
- "ValidRejectionReasons": [
- {
- "RejectionReasonId": "string",
- "RejectionReasonDescription": "string"
}
], - "RejectionReason": {
- "RejectionReasonId": "string",
- "RejectionReasonDescription": "string"
}, - "ReviewDate": "string",
- "ExternalReviewerId": "string"
}
}, - "errors": [
- {
- "code": "string",
- "message": "string",
- "details": "string"
}
]
}
Updates (approves or rejects) the verification status of an order containing regulated products.
Usage Plan:
Rate (requests per second) | Burst |
---|---|
0.5 | 30 |
The x-amzn-RateLimit-Limit
response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values then those shown here. For more information, see Usage Plans and Rate Limits in the Selling Partner API.
orderId required | string An orderId is an Amazon-defined order identifier, in 3-7-7 format. |
The request body for the updateVerificationStatus operation.
required | object (UpdateVerificationStatusRequestBody) The updated values of the VerificationStatus field. |
{- "regulatedOrderVerificationStatus": {
- "status": "Pending",
- "externalReviewerId": "string",
- "rejectionReasonId": "string"
}
}
{- "errors": [
- {
- "code": "string",
- "message": "string",
- "details": "string"
}
]
}
Update the shipment status for an order that you specify.
Usage Plan:
Rate (requests per second) | Burst |
---|---|
5 | 15 |
The x-amzn-RateLimit-Limit
response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values then those shown here. For more information, see Usage Plans and Rate Limits in the Selling Partner API.
orderId required | string An Amazon-defined order identifier, in 3-7-7 format. |
The request body for the updateShipmentStatus operation.
marketplaceId required | string The unobfuscated marketplace identifier. |
shipmentStatus required | string (ShipmentStatus) Enum: "ReadyForPickup" "PickedUp" "RefusedPickup" The shipment status to apply. |
Array of objects (OrderItem2) For partial shipment status updates, the list of order items and quantities to be updated. |
{- "marketplaceId": "string",
- "shipmentStatus": "ReadyForPickup",
- "orderItems": [
- {
- "orderItemId": "string",
- "quantity": 0
}
]
}
{- "errors": [
- {
- "code": "string",
- "message": "string",
- "details": "string"
}
]
}