Subscriptions
Create subscription
Search subscriptions
Retrieve subscription
Update subscription
Delete subscription action
Cancel subscription
List subscription events
Pause subscription
Resume subscription
Swap plan
Webhooks
subscription.created
subscription.updated
<- Subscriptions API
Subscriptions API
Version
2023-09-25
PUT
/v2/subscriptions/{subscription_id}
Updates a subscription by modifying or clearing subscription field values.
subscription
To clear a field, set its value to null.
null
Guide
Update Subscriptions
Example code
subscription_id
string
Required
The ID of the subscription to update.
Subscription
The subscription object containing the current version, and fields to update. Unset fields will be left at their current server values, and JSON null values will be treated as a request to clear the relevant data.
Show attributes
errors
Error [ ]
Errors encountered during the request.
The updated subscription.
400
Bad request
CUSTOMER_NOT_FOUND
The provided customer id can't be found in the merchant's customers list.