Swap Subscription Product
Swap one of the customer’s current subscription items to a new product. The current item should come from GET /zaymo/customer-portal/subscription -> items[].id, and the new product should come from GET /zaymo/upsells/products. An optional discount code may be applied during the swap.
Authorizations
Zaymo will authenticate requests using the API key you provide
Body
Customer information and swap details for changing a current subscription item to a new product
The email address of the customer
The unique identifier of the customer's current subscription item, from GET /zaymo/customer-portal/subscription -> items[].id
The unique identifier for the product to swap to, from GET /zaymo/upsells/products
Optional discount code to apply to the swapped product or subscription
Response
Subscription item successfully swapped
Indicates if the request was successful
true