v1
latestOpenAPI 3.1.02026-07-261444991.2 MBCoupon
Fetch coupon
This endpoint retrieves a coupon by its ID. To fetch coupons by their redemption code, use the List coupons endpoint with the redemption_code parameter.
get/coupons/{coupon_id}
Path parameters
coupon_idstring required
Response
OK
Example response
{
"id": "7iz2yanVjQoBZhyH",
"redemption_code": "HALFOFF",
"discount": {
"applies_to_price_ids": [
"h74gfhdjvn7ujokd",
"7hfgtgjnbvc3ujkl"
],
"percentage_discount": 0.15
},
"duration_in_months": 12
}