Immediate midterm change
This API to change the subscription quantity immediately so that client have increased subscription management capability via API
Path parameters
subIdstringRequired
Subscription Id
Header parameters
tokenstringRequired
Basic authorization (dispatch Key and Secret) - Client Admin key or Full access token
Body
quantityinteger · int32Required
Product 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}/reduce HTTP/1.1
Host: api.digitalriver.com
token: text
Content-Type: application/json
Accept: */*
Content-Length: 146
{
"addOns": [
{
"product": {
"id": "text",
"externalReferenceId": "text"
},
"quantity": 1
}
],
"product": {
"id": "text",
"externalReferenceId": "text"
},
"quantity": 1
}
No content
Last updated