Update subscription

http
PATCH /accounts/{account_id}/subscription

Change the plan, billing cycle, seats or add-ons of an account; returns what changed, or a checkout URL when the change needs payment. Requires account.billing.manage.

Parameters

NameInRequiredDescription
account_idpathYes

Request body

FieldTypeRequiredDescription
typestringYesSubscription tier to upgrade to.
cyclestringYesBilling cycle
quantityintegerSeat quantity for licensed subscriptions
server_quantityinteger,nullRecurring server add-on quantity
sandbox_quantityinteger,nullRecurring sandbox add-on quantity
success_urlstringURL to redirect to after successful payment
cancel_urlstringURL to redirect to if payment is canceled.

Responses

StatusDescription
200What the update changed, or the checkout that completes it.
400Bad request
401Unauthorized
402Seat reduction blocked until seat usage is reduced
403Forbidden
404Not found
409Conflict
500Server error