Subscriptions
Cancel subscription
Cancels the subscription.
If the subscription is in dunning, it'll be taken out of dunning.
If the shop has an actions set to trigger when a subscription is cancelled, they'll be triggered (example: email notifications).
NOTE: If the request to cancel the subscription in Shopify fails, the subscription will still be cancelled in the Awtomic system to avoid future billing attempts.
post/customers/{customerId}/subscriptions/{subscriptionId}/cancel
Request
- Base URLhttps://api.awtomic.com
- AuthAPI key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
customerIdstring required
Customer Id
subscriptionIdstring required
Subscription Id
Request body
Response
Updated subscription
Changes
No recorded changes to this operation across all 2 revisions of this API.