Coupons
Get coupon by code
Changed onUse when resolving a coupon by promo code (e.g. checkout or validation).
get/coupons/code/{code}
Request
- Base URLhttps://us.api.flexprice.io/v1
- URLhttps://us.api.flexprice.io/v1/coupons/code/{code}
- AuthAPI key in header x-api-key
Path parameters
codestring required
Coupon code
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
- 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