Manage a perpetual price
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
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}/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