Add products
Adds one or more products to an existing subscription. Returns the updated subscription details.
It works for both subscription types, and the way to identify the product changes depending on the type — always use the identifiers returned by available products:
- Internal Appmax products →
product_id(+quantity). Name, price and SKU come from the product registration; if sent, they are ignored. - Shopify products →
shopify_product_idandshopify_variant_id(+quantity). The price is read from the variant.
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.
Subscriptions without products
Managing products requires a subscription with defined products: created
with products in create subscription
or originating from a Shopify checkout. Subscriptions created without products
(which inherit the order amount) respond 404 here.
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.
10Request Body
Responses
Products added. Returns the updated details.