Update coupon
Changed onUse when changing coupon config (e.g. value, validity, or usage limits).
Request
- Base URLhttps://us.api.flexprice.io/v1
- URLhttps://us.api.flexprice.io/v1/coupons/{id}
- Auth
- API key in header x-api-key
- or API key in header x-api-key
Path parameters
Coupon ID
Request body
Response
OK
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