This allows you to update a Subscription, such as changing plans and addons.

Log in to see full request history

❗️

Passing an empty "addons" array will remove all addons from this subscription.

❗️

It may take a while for your updates to appear in your metrics. There may also be a delay in the data being fully displayed in the GET /subscriptions endpoint.

Path Params
string
required

Your unique ID for the subscription

string
required

Please see Sources

Body Params
string
required

Your unique ID for the plan

date-time
Defaults to NOW

A unix timestamp of when this change occurred. Defaults to now

addons
array of objects

In cents. The OID can be anything you want.

addons
int32
Defaults to 1
int32

Integer value (in the same currency as the plan)

Responses

Language
Credentials
Click Try It! to start a request and see the response here! Or choose an example:
application/json