Get a list of orders
Learn how to use the Vendor Direct Fulfillment Orders API to get a list of orders.
Learn how to use the Vendor Direct Fulfillment Orders API to get a list of orders. The getOrders
operation returns a list of order references (purchase order numbers) or complete order details for all orders which meet the criteria specified. If you only request order numbers, you can use each order number later with the getOrder
operation to get order details for a specific order.
Note
getOrder
is a restricted operation and requires a Restricted Data Token (RDT) for authorization. Some operations require restrictions because they contain customer PII data. These operations require passing an additional security review. For more information on RDT, refer to the Tokens API Use Case Guide.
You can use this API to get purchase orders available to you for fulfillment. Check for orders at least once per hour during business hours, however, you can choose to check more frequently. You can return up to 100 orders in one API call. If there are more than 100 orders you can use the nextToken
value in the response to get the next set of orders.
The following diagram shows the integration workflow when retrieving purchase orders:
Prerequisites
To complete this tutorial, you need:
- Authorization from the selling partner for whom you are making calls. For more information, refer to Authorizing Selling Partner API applications.
- The Direct-to-Consumer Shipping (Restricted) role assigned to your developer profile.
- The Direct-to-Consumer Shipping (Restricted) role selected in the app registration page for your application.
Get a list of orders
To return a list of purchase orders, call the getOrders
operation.
Updated about 17 hours ago