Change Product
Changes the product that the subscription is tied to. Past orders are unchanged; items in unsent orders pick up the new product.
Returns 400 when:
productdoesn’t exist for the merchant- The subscription isn’t
live - The subscription is prepaid, has prepaid orders remaining, and the new product’s
pricediffers from the current product’s
Merchants can ask Ordergroove support to allow prepaid swaps to a lower-priced product. Swaps to a higher-priced product stay blocked while prepaid orders remain.
Authentication
x-api-keystring
Application API Scope — server-to-server, sent in the x-api-key header. See Authentication.
OR
Path parameters
subscription_public_id
Unique subscription ID
Request
This endpoint expects an object.
product
Product ID
Response
200
customer
merchant
product
payment
shipping_address
offer
subscription_type
components
extra_data
public_id
product_attribute
quantity
price
frequency_days
reminder_days
every
every_period
start_date
cancelled
cancel_reason
cancel_reason_code
iteration
sequence
session_id
merchant_order_id
customer_rep
club
created
updated
live
Errors
403
Forbidden Error
404
Not Found Error