Manage the subscription's renewal plan
This will change the subscription renewal quantity.
Path parameters
subIdstringRequired
Subscription Id
Header parameters
tokenstringRequired
Basic authorization (dispatch Key and Secret) or Full access token
Body
renewalQuantityinteger · int32Required
Renewal quantity
Responses
202
Accepted
400
* Bad request
application/json
401
Please verify your API key and secret (if applicable) is correct.
403
* Access Denied
application/json
404
* Not found
application/json
post
POST /v1/subscriptions/{subId}/renewal-quantity HTTP/1.1
Host: api.digitalriver.com
token: text
Content-Type: application/json
Accept: */*
Content-Length: 21
{
"renewalQuantity": 1
}
No content
This API will convert subscription renewal type. The renewal type change allowed only for subscription states - Subscribed, Pending activation and Trial.
Path parameters
subIdstringRequired
Subscription Id
Header parameters
tokenstringRequired
Basic authorization (dispatch Key and Secret) or Full access token
Body
autoRenewalbooleanRequired
Auto renewal type boolean
Responses
202
Accepted
400
* Bad request
application/json
401
Please verify your API key and secret (if applicable) is correct.
403
* Access Denied
application/json
404
* Not found
application/json
post
POST /v1/subscriptions/{subId}/renewal-type HTTP/1.1
Host: api.digitalriver.com
token: text
Content-Type: application/json
Accept: */*
Content-Length: 20
{
"autoRenewal": true
}
No content
Last updated