cURL
curl --request GET \ --url https://api.gameball.co/api/v4.0/integrations/customers/{customerId}/coupons \ --header 'apikey: <api-key>' \ --header 'secretkey: <api-key>'
{ "coupons": [ { "name": "<string>", "code": "<string>", "value": 123, "type": "Free Shipping", "target": "Online", "currency": "<string>", "startDate": "2023-11-07T05:31:56Z", "expiryDate": "2023-11-07T05:31:56Z", "isExpired": true, "isActive": true, "usageLimit": 123, "limitPerCustomer": 123, "usedCount": 123, "customerUsedCount": 123, "isAvailableToUse": true } ] }
Retrieve available coupons for a customer in Gameball with detailed information.
Unique identifier for the customer
Customer coupons found
List of coupon objects associated with the customer
Show child attributes
Was this page helpful?