Retrieve subscriptions
Get all subscriptions by shopper id or external reference Id
Shopper Id or External Reference Id
Basic authorization (dispatch Key and Secret) or Full access token
OK
- Bad request
- Please verify your API key and secret (if applicable) is correct.
- Not found
- Conflict
GET /v1/subscriptions?Shopper+Id=text HTTP/1.1
Host: api.digitalriver.com
token: text
Accept: */*
{
"subscriptions": [
{
"id": "text",
"billingAgreementId": "text",
"externalReferenceId": "text",
"creationDate": "2026-01-01T00:00:00.000Z",
"activationDate": "2026-01-01T00:00:00.000Z",
"nextRenewalDate": "2026-01-01T00:00:00.000Z",
"nextBillingDate": "2026-01-01T00:00:00.000Z",
"expirationDate": "2026-01-01T00:00:00.000Z",
"graceDate": "2026-01-01T00:00:00.000Z",
"cancellationDate": "2026-01-01T00:00:00.000Z",
"currentQuantity": 1,
"renewalQuantity": 1,
"autoRenewal": true,
"locale": "text",
"state": {
"Subscribed": "text",
"PendingActivation": "text",
"Cancelled": "text",
"FreeTrial": "text",
"PendingRenewal": "text"
},
"duration": 1,
"frequency": 1,
"currentBillingCycleNumber": 1,
"totalNumberOfBillingCycle": 1,
"siteId": "text",
"shopper": {
"id": "text",
"externalReferenceId": "text"
},
"renewalPrice": {
"unitPrice": 1,
"locked": true,
"currency": "text"
},
"term": {
"termUnit": "text",
"termLength": 1
},
"product": {
"id": "text",
"externalReferenceId": "text",
"displayName": "text",
"sku": "text"
},
"shipToAddress": {
"id": "text",
"firstName": "text",
"lastName": "text",
"companyName": "text",
"line1": "text",
"line2": "text",
"line3": "text",
"city": "text",
"postalCode": "text",
"countrySubdivision": "text",
"country": "text",
"countryName": "text",
"phoneNumber": "text",
"emailAddress": "text",
"countyName": "text"
},
"paymentOption": {
"nickName": "text",
"id": "text",
"isDefault": "text",
"type": "text",
"sourceId": "text",
"creditCard": {
"expirationMonth": "text",
"expirationYear": "text",
"displayableNumber": "text",
"type": "text",
"displayName": "text",
"brand": "text",
"lastFourDigits": "text"
},
"sourceClientSecret": "text",
"address": {
"id": "text",
"firstName": "text",
"lastName": "text",
"companyName": "text",
"line1": "text",
"line2": "text",
"line3": "text",
"city": "text",
"postalCode": "text",
"countrySubdivision": "text",
"country": "text",
"countryName": "text",
"phoneNumber": "text",
"emailAddress": "text",
"countyName": "text"
}
},
"addOns": [
{
"product": {
"id": "text",
"externalReferenceId": "text",
"displayName": "text",
"sku": "text"
},
"quantity": 1,
"proratedUnitPrice": 1,
"renewalPrice": {
"unitPrice": 1,
"locked": true,
"currency": "text"
}
}
]
}
]
}Get subscription details by subscription Id
Subscription Id
Basic authorization (dispatch Key and Secret) or Full access token
OK
Subscription id
Billing agreement id
External reference id
Subscription creation date
Subscription activation date
Subscription next renewal date
Subscription next billing date
Subscription expiration date
Subscription grace date
Subscription cancellation date
Subscription current quantity
Subscription renewal quantity
Subscription auto renewal flag
Subscription locale
Subscription duration
Subscription frequency
Subscription current billing cycle
Subscription total billing cycle
Site id
- Bad request
- Please verify your API key and secret (if applicable) is correct.
- Not found
- Conflict
GET /v1/subscriptions/{subId} HTTP/1.1
Host: api.digitalriver.com
token: text
Accept: */*
{
"id": "text",
"billingAgreementId": "text",
"externalReferenceId": "text",
"creationDate": "2026-01-01T00:00:00.000Z",
"activationDate": "2026-01-01T00:00:00.000Z",
"nextRenewalDate": "2026-01-01T00:00:00.000Z",
"nextBillingDate": "2026-01-01T00:00:00.000Z",
"expirationDate": "2026-01-01T00:00:00.000Z",
"graceDate": "2026-01-01T00:00:00.000Z",
"cancellationDate": "2026-01-01T00:00:00.000Z",
"currentQuantity": 1,
"renewalQuantity": 1,
"autoRenewal": true,
"locale": "text",
"state": {
"Subscribed": "text",
"PendingActivation": "text",
"Cancelled": "text",
"FreeTrial": "text",
"PendingRenewal": "text"
},
"duration": 1,
"frequency": 1,
"currentBillingCycleNumber": 1,
"totalNumberOfBillingCycle": 1,
"siteId": "text",
"shopper": {
"id": "text",
"externalReferenceId": "text"
},
"renewalPrice": {
"unitPrice": 1,
"locked": true,
"currency": "text"
},
"term": {
"termUnit": "text",
"termLength": 1
},
"product": {
"id": "text",
"externalReferenceId": "text",
"displayName": "text",
"sku": "text"
},
"shipToAddress": {
"id": "text",
"firstName": "text",
"lastName": "text",
"companyName": "text",
"line1": "text",
"line2": "text",
"line3": "text",
"city": "text",
"postalCode": "text",
"countrySubdivision": "text",
"country": "text",
"countryName": "text",
"phoneNumber": "text",
"emailAddress": "text",
"countyName": "text"
},
"paymentOption": {
"nickName": "text",
"id": "text",
"isDefault": "text",
"type": "text",
"sourceId": "text",
"creditCard": {
"expirationMonth": "text",
"expirationYear": "text",
"displayableNumber": "text",
"type": "text",
"displayName": "text",
"brand": "text",
"lastFourDigits": "text"
},
"sourceClientSecret": "text",
"address": {
"id": "text",
"firstName": "text",
"lastName": "text",
"companyName": "text",
"line1": "text",
"line2": "text",
"line3": "text",
"city": "text",
"postalCode": "text",
"countrySubdivision": "text",
"country": "text",
"countryName": "text",
"phoneNumber": "text",
"emailAddress": "text",
"countyName": "text"
}
},
"addOns": [
{
"product": {
"id": "text",
"externalReferenceId": "text",
"displayName": "text",
"sku": "text"
},
"quantity": 1,
"proratedUnitPrice": 1,
"renewalPrice": {
"unitPrice": 1,
"locked": true,
"currency": "text"
}
}
]
}Last updated
