Last updated 5 months ago
Retrieves all pending actions with a specific subscription ID by including the ID in the {subId} URI path parameter.
The subscription's ID.
OK
const response = await fetch('https://api.digitalriver.com/v1/subscriptions/{subId}/pending-actions', { method: 'GET', headers: { "token": "text" }, }); const data = await response.json();
{ "subscriptionId": "text", "actions": [ { "action": { "ACTIVATE": "text", "EXPIRATION_DATE": "text", "CANCEL": "text", "PAYMENT_OPTION": "text", "PAYMENT_SOURCE": "text", "RENEWAL_PRICE": "text", "RENEWAL_TYPE": "text", "RENEWAL_PRODUCT": "text", "RENEWAL_QUANTITY": "text", "REDUCE": "text", "DOWNGRADE": "text", "PERPETUAL_PRICE": "text", "SHIP_TO_ADDRESS": "text", "REFERENCE_ID": "text" }, "receivedTime": "text" } ] }