v2
latestOpenAPI 3.1.12026-08-06856719.6 KBUpdate Subscription Plan
Use this API to update the subscription plan, changes made to the plan will not affect current subscription. If you would like to make changes to the current subscriptions use the Update Recurring Billing API.
put/v1/subscription-plan/{plan_id}
Path parameters
plan_idstring required
Headers
X-BUSINESS-API-KEYstring required
Example:b286daabf9921b5a01a4621f026c111e046f8911feba212996c92159b98427d
Request body
Example request
{
"currency": "SGD"
}Response
200
Example response
{
"id": "973ee344-6737-4897-9929-edbc9d7bf433",
"name": "Spotify Premium",
"description": "Spotify Monthly Subscription",
"cycle": "monthly",
"currency": "sgd",
"amount": 12.9,
"reference": "spotify_premium_2022",
"created_at": "2022-09-13T12:34:13",
"updated_at": "2022-09-13T12:34:13"
}