Get Coupon Code IDs for Coupon
GEThttps://a.klaviyo.com/api/coupons/{id}/relationships/coupon-codes
Gets a list of coupon code relationships associated with the given coupon id
- Revision header
revision: 2026-07-15required- Scopes
coupon-codes:read- Rate limits
- Burst:
75/sSteady:750/m
Path parameters
The ID of the coupon to look up the relationship of.
Query parameters
For more information please visit API overview
Allowed field(s)/operator(s):expires_at:greater-or-equal,greater-than,less-or-equal,less-than(date-time)status:equals(allowed values:'UNASSIGNED','PROCESSING','ASSIGNED_TO_PROFILE','VERSION_NOT_ACTIVE','DELETING','USED')profile.id:any,equals(string)For more information please visit API overview
Default: 100. Min: 1. Max: 100.
Enter a whole number. Until you do, the example request uses the example value.
Headers
API endpoint revision (format: YYYY-MM-DD[.suffix])
2026-07-15
Responses
200Success
Content type: application/vnd.api+json
Response-level metadata
4XXClient Error
Content type: application/vnd.api+json
5XXServer Error
Content type: application/vnd.api+json