Subscriptions
Pause subscription
Changed onPauses 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 paused, they'll be triggered (example: email notifications).
NOTE: If the request to pause the subscription in Shopify fails, the subscription will still be paused in the Awtomic system to avoid future billing attempts.
post/customers/{customerId}/subscriptions/{subscriptionId}/pause
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
- info
added the non-success response with the status
- info
removed the non-success response with the status
- info