Discount Codes
Create a discount code
Set at most one of percentOff and amountOffMinor. Set neither and the code carries no discount at all: the buyer pays full price and you still see who it brought in. A code with no discount cannot carry a name, because the code itself is its name. Terms are fixed once created: to change them, archive this code and create another.
post/gateway/discount-codes
Request
- Base URL: https://api.agentaos.ai/api/v1
- URL: https://api.agentaos.ai/api/v1/gateway/discount-codes
- Auth: API key in header x-api-key
Request body
Response
Discount code created.
Changes
No recorded changes to this operation across all 1 revision of this API.