Coupons
Get Coupon
Retrieves a coupon by its ID.
get/v1/coupons/{id}
Request
- Base URLhttps://api.withflex.com
- URLhttps://api.withflex.com/v1/coupons/{id}
- AuthHTTP bearer
Path parameters
idstring required
Example:fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA
Response
An envelope wrapping a single coupon object.
Example response
{
"coupon": {
"coupon_id": "fcoup_1234567890",
"amount_off": 2500,
"applies_to": {
"products": [
"fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA"
]
},
"duration": "once",
"duration_in_months": 0,
"metadata": {
"order_id": "8842",
"channel": "shopify"
},
"name": "Example",
"percent_off": 0,
"max_redemptions": 0,
"times_redeemed": 0,
"valid": false,
"created_at": "2026-06-15T14:30:00Z",
"test_mode": false
}
}Changes
No recorded changes to this operation across all 2 revisions of this API.