Get Coupon Codes for Coupon
GEThttps://a.klaviyo.com/api/coupons/{id}/coupon-codes
Gets a list of coupon codes associated with the given coupon id
- Revision header
revision: 2025-01-15required- Scopes
coupon-codes:read- Rate limits
- Burst:
75/sSteady:700/m
Path parameters
The ID of the coupon to look up the relationship of.
Query parameters
For more information please visit API overview
For more information please visit API overview
Allowed field(s)/operator(s):expires_at:greater-or-equal,greater-than,less-or-equal,less-thanstatus:equalscoupon.id:any,equalsprofile.id:any,equalsFor more information please visit API overview
Headers
API endpoint revision (format: YYYY-MM-DD[.suffix])
2025-01-15
Responses
200Success
Content type: application/vnd.api+json
Show 5 fields
The id of a coupon code is a combination of its unique code and the id of the coupon it is associated with.
Show 3 fields
This is a unique string that will be or is assigned to each customer/profile and is associated with a coupon.
The datetime when this coupon code will expire. If not specified or set to null, it will be automatically set to 1 year.
The current status of the coupon code.
Show 1 field
4XXClient Error
Content type: application/vnd.api+json
5XXServer Error
Content type: application/vnd.api+json