Updates an existing subscription to change the associated product and plan. Updating the subscription may modify the price of the subscription, and if so the balance will be billed immediately at a pro-rated amount. Parameters specific to the vendor may be specified to change the payment method for the subscription. Changing to a plan with a different billing frequency from the existing subscription is not supported for some payment providers (Braintree).
OK
Bad Request
Unauthorized
Not Found
{- "product_id": "premium-access-monthly-recurring",
- "plan_id": "plan-5",
- "vendor_fields": {
- "payment_nonce": "eyJ2ZXmsaW5nQWdyZWmVubW8iOiJvZmYifQ=="
}, - "navigated_from": "/some/path"
}
{- "grant_id": "33d576c7-d036-40e7-8141-8a91998a5c79"
}