Getting orders

Learn how to retrieve orders.

Getting all orders

You can get all orders for a shopper.

curl --location --request GET 'https://api.digitalriver.com/v1/shoppers/me/orders?expand=all&pageSize=1' \
--header 'authorization: Basic ***\
...

See the query parameters for more information.

Getting an order by ID

To retrieve an order, you must specify the order identifier (orderId). You can optionally include the state of the order. Possible order states are Open, Submitted, Cancelled, Complete, Pending Payment, In Review, and In Process. This request requires an authorized or anonymous shopper token. See Getting the order details for more information on getting order details for an anonymous or authenticated shopper without a shopper token.

curl --location --request POST 'https://api.digitalriver.com/v1/shoppers/me/orders/1108696260082' \
--header 'authorization: Basic ***\
...

See query parameters for more information.

Last updated

Was this helpful?