Subscriptions
Add discount code to subscription
Add a discount code to a subscription contract.
The eligibility of the discount code will be checked.
post/customers/{customerId}/subscriptions/{subscriptionId}/discount-codes/{discountCode}
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
discountCodestring required
Discount Code
Response
Discount code added
Changes
No recorded changes to this operation across all 2 revisions of this API.