cURL
curl --request GET \ --url https://api.withflex.com/v1/coupons \ --header 'Authorization: Bearer <token>'
{ "coupons": [ { "coupon_id": "fcoup_1234567890", "amount_off": 0, "duration_in_months": 0, "metadata": {}, "name": "Example", "percent_off": 0, "max_redemptions": 0, "times_redeemed": 0, "valid": false, "created_at": "2024-01-01T00:00:00Z", "test_mode": false } ] }
List coupons
Use a Bearer token to access this API.
Filter coupons by name.
"Example"
Success
Show child attributes