Subscriptions
Change an item’s quantity
Needs the subscriptions:write scope, or a full-access key. About scopes
PATCH
/
api/v1/subscriptions/{id}/items/{itemId}Authorization
AuthorizationRequiredBearer <token>
An API key: gpy_test_… or gpy_live_… (or an agent key, agk_…).
In: header
Request Body
application/jsonOptionalquantityRequiredAny properties in integer, string
prorationstring
create (default) prorates the rest of the period; an immediate invoice is charged against the default card (see proration.payment).
Value in:
"create" | "none"Path Parameters
idRequiredstring
Format:
"uuid"itemIdRequiredstring
Format:
"uuid"The item and its proration outcome.