> For the complete documentation index, see [llms.txt](https://docs.digitalriver.com/commerce-api/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.digitalriver.com/commerce-api/admin-apis/subscription-management/retrieve-the-subscription/getting-a-subscriptions-pending-actions.md).

# Getting a subscription's pending actions

Our Digital River Commerce API allows you to examine the pending actions for a specific subscription. This document explains how to effectively use the API to retrieve such information, ensuring the status of your subscriptions is up to date.

To retrieve a subscription's pending actions in Digital River's API, perform a  [`GET /v1/subscriptions/{subscriptionId}/pending-actions`](https://docs.digitalriver.com/commerce-api-references/admin-apis/subscription-mangement/retrieve-subscriptions-with-pending-actions#v1-subscriptions-subid-pending-actions) request and include the `{subscriptionId}` you want to query. Ensure you have the necessary authorization header included in your request.

Here's an example using cURL:

{% tabs %}
{% tab title="cURL" %}

```javascript
curl --location --request GET 'https://api.digitalriver.com/v1/subscriptions/{subscriptionId}/pending-actions' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic {Your_Authorization}' \
```

{% endtab %}
{% endtabs %}

The server responds with a `202 Accepted` status code, indicating your request to retrieve the pending actions for the specified subscription ID, was accepted and is being processed.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.digitalriver.com/commerce-api/admin-apis/subscription-management/retrieve-the-subscription/getting-a-subscriptions-pending-actions.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
