import Stigg from '@stigg/typescript';
const client = new Stigg({
apiKey: process.env['STIGG_API_KEY'], // This is the default and can be omitted
});
const cancelSubscription = await client.v1.subscriptions.futureUpdate.cancelSchedule('x');
console.log(cancelSubscription.data);{
"data": {
"id": "<string>"
}
}Cancels a scheduled subscription update, such as a future downgrade or plan change.
import Stigg from '@stigg/typescript';
const client = new Stigg({
apiKey: process.env['STIGG_API_KEY'], // This is the default and can be omitted
});
const cancelSubscription = await client.v1.subscriptions.futureUpdate.cancelSchedule('x');
console.log(cancelSubscription.data);{
"data": {
"id": "<string>"
}
}