Create a subscription state
POST/v2/subscriptions/subscriptions/:subscription_uuid/states
The subscription lifecycle is the states that a subscription can go through when a customer subscribes to a service or a plan.
A subscription can have the following states:
pendingcanceledpausedresumedFor more information, see Managing the Subscription Lifecycle.
Immediate cancellation (cancel with cancel_immediately: true) ends the subscription and updates entitlements in this request; it does not issue refunds or modify paid invoices. Use payments refund flows separately if needed.
Request
Responses
- 204
- 400
- 403
- 404
- 422
- 500
Success. The subscription's state has changed.
Bad request. The request failed validation.
Forbidden. The operation is forbidden on this entity.
Not found. The requested entity does not exist.
Unprocessable Content.
Internal server error. There was a system failure in the platform.