get https://a.klaviyo.com/api/coupon-codes/
Returns a Coupon Code specified by the given identifier.
Rate limits:
Burst: 350/s
Steady: 3500/m
Scopes:
coupon-codes:read
Responses
Returns a Coupon Code specified by the given identifier.
Rate limits:
Burst: 350/s
Steady: 3500/m
Scopes:
coupon-codes:read
xxxxxxxxxx
curl --request GET \
--url https://a.klaviyo.com/api/coupon-codes/id \
--header 'Authorization: Klaviyo-API-Key your-private-api-key' \
--header 'accept: application/vnd.api+json' \
--header 'revision: 2025-01-15'
xxxxxxxxxx
}
{
"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": {
"data": {
"type": "coupon",
"id": "10OFF"
},
"links": {
"self": "string",
"related": "string"
}
},
"profile": {
"links": {
"self": "string",
"related": "string"
}
}
}
},
"included": [