Getting the order's details

Learn how to get the order's details.

Use the GET /v1/orders/{orderId} request to retrieve the order details for the specified order (orderId) for either anonymous or authenticated shoppers.

curl --location --request GET 'https://api.digitalriver.com/v1/orders/{orderid}' \
--header 'authorization: basic ***\
...

The GET /v1/orders/{orderId} differs from the GET /v1/shoppers/me/orders/{orderId} in the following ways:

  • GET /v1/orders/{orderId} requires an admin key/secret to fetch the order information, regardless of whether an authenticated or anonymous shopper placed the order.

  • GET /v1/shoppers/me/orders/{orderId} requires a shopper token to fetch the order information.

Last updated