Change a product's quantity
Changes the quantity of a product already in the subscription. It works for both
subscription types — the product is identified in the URL by the variantId,
which is the product_id (internal Appmax products) or the variant_id
(Shopify products) shown in the subscription details. Returns the updated
details.
The subscription must be "idle"
Changing products is only allowed while the subscription is active, not
paused and has no charge in progress. See the 409 and 422 errors below.
Authorizations
Bearer token of the merchant obtained via POST /oauth2/token using the
merchant's credentials (not the app's). See
Authentication.
Parameters
Path Parameters
Subscription identifier.
10Identifier of the product within the subscription, returned in the detail:
- subscriptions of Shopify products →
variant_id(theshopify_variant_id); - subscriptions of internal Appmax products →
product_id.
"456"Request Body
Responses
Quantity updated. Returns the updated details.