cURL
curl --request GET \ --url https://api.gameball.co/api/v4.0/integrations/customers/{customerId}/coupons \ --header 'apikey: <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
Name of the coupon
The coupon code that the customer will use
The monetary value or percentage value of the coupon
Type of the coupon
Free Shipping
Fixed Rate Discount
Percentage
Free Product
Custom
Percentage-based Fees Discount
Percentage-based Cashback
How the coupon is associated with the customer
Online
POS
Permanent
Reward
Automation
Currency code if the coupon has a fixed monetary value
The date and time when the coupon becomes valid
The date and time when the coupon will expire
Indicates if the coupon has expired
Status of the coupon, whether it is active or not
The total number of times the coupon can be used
The number of times a single customer can use the coupon
Number of times the coupon has been used
Number of times the coupon has been used by this customer
Flag determining whether coupon can be used by customer at given time
Was this page helpful?