Apply Changes

View as Markdown

Apply subscription changes in one step.

Creates a change request, adds changes, previews, and applies — all in a single call. Supports per-item apply_at_end for deferred changes.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

subscription_idstringRequired
account_idstringRequired

Request

This endpoint expects an object.
item_changeslist of objects or nullOptional
Item changes to apply
coupon_changeslist of objects or nullOptional
Coupon changes to apply
reasonstring or nullOptional<=255 characters
Optional reason for the change
payment_method_idstring or nullOptional

Payment method ID to use (falls back to subscription default)

Response

Successful Response
change_requestobject
Response containing a change request.
resultobject
Result of applying the change request.

Errors

400
Bad Request Error
402
Payment Required Error
404
Not Found Error
422
Unprocessable Entity Error