Create coupon
Changed onUse when creating a discount (e.g. promo code or referral). Ideal for percent or fixed value, with optional validity and usage limits.
Request
- Base URLhttps://us.api.flexprice.io/v1
- URLhttps://us.api.flexprice.io/v1/coupons
- Auth
- API key in header x-api-key
- or API key in header x-api-key
Request body
Response
Created
Changes
- warning
added the new
not_implementedenum value to theresponse property for the response status - warning
added the new
not_implementedenum value to theresponse property for the response status - warning
added the new
not_implementedenum value to theresponse property for the response status - warning
added the new
not_implementedenum value to theresponse property for the response status - warning
added the new
not_implementedenum value to theresponse property for the response status
- warning
- breaking
the
response's property type changed from no type tostringfor status - warning
added the new
archivedenum value to theresponse property for the response status - warning
added the new
deletedenum value to theresponse property for the response status - warning
added the new
publishedenum value to theresponse property for the response status
- breaking