Manage a perpetual price

Add or Update Subscription Perpetual Renewal Price

post

This API will create or change perpetualUnitPrice, which can be used as forever price for remaining subscription cycle.

Path parameters
subIdstringRequired

Subscription Id

Header parameters
tokenstringRequired

Basic authorization (dispatch Key and Secret)

Body
perpetualUnitPricenumber · doubleRequired

Perpetual unit price of subscription product

Responses
202
Accepted
post
POST /v1/subscriptions/{subId}/perpetual-price HTTP/1.1
Host: api.digitalriver.com
token: text
Content-Type: application/json
Accept: */*
Content-Length: 113

{
  "perpetualUnitPrice": 1,
  "addOns": [
    {
      "product": {
        "id": "text",
        "externalReferenceId": "text"
      },
      "perpetualUnitPrice": 1
    }
  ]
}

No content

Last updated