Skip to navigation

Update subscription product quantities

Updates one or more adjustable subscription products atomically. Each new_quantity is the desired absolute total, not an increment. A product is adjustable when its category is subscription and its plan_product.allow_additional_usage value is true. Quantities must remain within the plan’s minimum and maximum and cannot be reduced below consumed_quantity.

Authentication

AuthorizationBearer

Request

This endpoint expects an object.
changeslist of objectsRequired

Response

Subscription with updated product quantities.
subscriptionobject or null

Errors

400
Bad Request Error
401
Unauthorized Error
402
Payment Required Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error
500
Internal Server Error