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.
Arguments
inputUpdateSubscriptionInput!requiredinput.typeSubscriptionType!requiredOne of
free,pro,enterprise.input.cycleSubscriptionCycle!requiredOne of
monthly,yearly.input.quantityIntSeat quantity for licensed subscriptions
input.serverQuantityIntRecurring server add-on quantity
input.sandboxQuantityIntRecurring sandbox add-on quantity
input.successUrlStringURL to redirect to after successful payment
input.cancelUrlStringURL to redirect to if payment is canceled.
Responses
mutation UpdateSubscription($input: UpdateSubscriptionInput!) { updateSubscription(input: $input) { status amount currency checkoutUrl }}{ "data": { "updateSubscription": { "status": "string", "amount": "string", "currency": "string", "checkoutUrl": "https://example.com" } }}The SubscriptionChange! in data.updateSubscription.