Subscriptions
Mark subscription as failed
This endpoint is used to mark a subscription as failed.
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 failed, they'll be triggered (example: email notifications).
post/customers/{customerId}/subscriptions/{subscriptionId}/fail
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
Response
Updated subscription
Changes
No recorded changes to this operation across all 2 revisions of this API.