Subscriptions
Add cancel mitigation discount to subscription
Add a cancel mitigation discount to a subscription contract if it is defined in the shop settings.
post/customers/{customerId}/subscriptions/{subscriptionId}/discount
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
Discount code added
Changes
No recorded changes to this operation across all 2 revisions of this API.