Apply changes to the subscription items
POST/v1/subscriptions/:id/items
Runs a batch of up to 50 operations over the items: add, remove, change quantity, swap price or set an ad-hoc unit amount. The operations are applied together and produce a single change record, along with the resulting proration invoice or credit.
Request​
Responses​
- 200
- 400
- 401
- 403
- 404
- 422
- 429
- 500
Changes applied. item_change_id points to the record created; invoice_id and credit_id are filled in when the proration produced an invoice or a credit.
Request body failed validation.
Missing or invalid bearer token.
Token is valid but lacks permission for this operation. With code insufficient_scope, details.required carries the one minimal set of scopes that, added to details.granted, would let the request through: the resource scope (billing/{resource}, or billing/all off the catalogue) then the bare verb — e.g. ["billing/customers", "delete"].
Resource not found in the current organization.
Request body failed validation.
Rate limit exceeded.
Unexpected server error.