cURL
curl --request GET \ --url https://api.zupy.com/api/v2/rewards/coupons/ \ --header 'X-API-Key: <api-key>'
{ "data": [ { "id": "<string>", "coupon_code": "<string>", "reward_name": "<string>", "reward_id": "<string>", "customer_id": "<string>", "customer_name": "<string>", "status": "active", "status_display": "<string>", "points_spent": 123, "redemption_date": "2023-11-07T05:31:56Z", "valid_until": "2023-11-07T05:31:56Z", "remaining_usages": 123, "total_usages_allowed": 123, "created_at": "2023-11-07T05:31:56Z" } ], "meta": { "cursor": "<string>", "has_next": true, "count": 123 } }
List active coupons with remaining usage counts and expiry dates.
API key for partner access via APISIX key-auth plugin
Pagination cursor value from previous response.
Number of results to return per page.
Show child attributes