Manage the subscription's renewal plan

Change Subscription Renewal Quantity

post

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

Update Subscription Renewal Type

post

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