get https://a.klaviyo.com/api/coupons//coupon-codes
Gets a list of coupon codes associated with the given coupon id
Rate limits:
Burst: 75/s
Steady: 700/m
Scopes:
coupon-codes:read
Responses
Gets a list of coupon codes associated with the given coupon id
Rate limits:
Burst: 75/s
Steady: 700/m
Scopes:
coupon-codes:read
xxxxxxxxxx
curl --request GET \
--url https://a.klaviyo.com/api/coupons/id/coupon-codes \
--header 'Authorization: Klaviyo-API-Key your-private-api-key' \
--header 'accept: application/vnd.api+json' \
--header 'revision: 2025-01-15'
xxxxxxxxxx
37}
{
"data": [
{
"type": "coupon-code",
"id": "10OFF-ASD325FHK324UJDOI2M3JNES99",
"attributes": {
"unique_code": "ASD325FHK324UJDOI2M3JNES99",
"expires_at": "2023-01-01T00:00:00Z",
"status": "UNASSIGNED"
},
"links": {
"self": "string"
},
"relationships": {
"coupon": {
"links": {
"self": "string",
"related": "string"
}
},
"profile": {
"links": {
"self": "string",
"related": "string"
}
}
}
}
],
"links": {
"self": "string",
"first": "string",