Immediate midterm change

Reduce Subscription's Quantity Or Addons

post

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
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