Getting a subscription by identifier
Learn how to get a subscription by using the subscription identifier.
By using the GET /v1/subscriptions/{subscriptionId}
request, you can fetch detailed information about a specific subscription using the subscription's unique identifier. This information includes the basic subscription details and intricate aspects such as billing, renewal dates, product details, and associated add-ons.
You need to replace the {subscriptionId}
with the subscription identifier and {YourAPIKey}
with your actual API key.
curl --location --request GET 'https://api.digitalriver.com/v1/subscriptions/{subscriptionId}' \
--header 'Authorization: Basic {YourAPIKey}' \
...
A successful request will return a 200 OK
response status, along with json data that contains the details of the subscription, such as its id
, creationDate
, state
, and product information.
Last updated
Was this helpful?