Getting all orders for a subscription

Learn how to get all orders linked to a specific subscription.

This endpoint allows you to retrieve a list of all orders linked to a specific subscription. By executing a GET /v1/subscriptions/{subscriptionId}/orders request, you can obtain detailed information about the orders associated with the subscription you are interested in. This documentation will guide you through making the request, including how to structure your API call and pass the necessary authentication token. Follow the steps outlined below to fetch subscription order details successfully.

Send a GET /v1/subscriptions/{subscriptionId}/orders request to retrieve all orders associated with a specific subscription. Make sure to replace {subscriptionId} with the actual ID of the subscription you want. Additionally, you need to include an Authorization header in your request to provide your {YOUR_AUTH_TOKEN}.

Example using cURL:

curl --location --request GET 'https://api.digitalriver.com/v1/subscriptions/{subscriptionId}/orders' \
--header 'Authorization: Basic {YOUR_AUTH_TOKEN}'

Once the request is successfully processed, you will receive a 202 Accepted response indicating that your request has been accepted for processing.

Last updated