Cancel a pending end-of-period subscription plan change
DELETE
/v1/portal/subscriptions/{id}/scheduled-change
const url = 'https://api.extport.dev/api/v1/portal/subscriptions/example/scheduled-change';const options = { method: 'DELETE', headers: {cookie: 'extport_buyer_session=<extport_buyer_session>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url https://api.extport.dev/api/v1/portal/subscriptions/example/scheduled-change \ --cookie extport_buyer_session=<extport_buyer_session>Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string
Responses
Section titled “Responses”Scheduled plan change canceled
Stripe not connected
No buyer session
Subscription not found
Stripe API unavailable