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:

The Direct Fulfillment integration workflow when retrieving purchase orders.

Prerequisites

To complete this tutorial, you need:

Get a list of orders

To return a list of purchase orders, call the getOrders operation.