Subscriptions/updateSubscription
Update a subscription
PlannedPlanned. This contract is published ahead of the build. It is not callable yet — treat it as the shape to design against, not a live endpoint.
Change a subscription's price, quantity, or billing behavior.
PATCH
/v1/subscriptions/{id}Change the price or quantity. Proration is applied on the next invoice.
Path parameters
idstringRequiredRequest body
application/json
priceIdstringExample "price_pro_annual"
quantityintegerExample 1
Response
application/json
idstringExample "sub_9c2a4f10"
customerIdstringExample "cus_123"
priceIdstringExample "price_pro_monthly"
statusenumtrialingactivepast_duecanceledExample "active"
currentPeriodEndstring · ISO 8601Example "2026-04-09T09:14:22Z"
cancelAtPeriodEndbooleanExample false
createdAtstring · ISO 8601Example "2026-04-09T09:14:22Z"
updateSubscription