Get Coupon For Coupon Code
GET {{baseUrl}}/api/coupon-codes/:id/coupon/
Get the coupon associated with a given coupon code ID.
Rate limits:
Burst: 75/s
Steady: 700/m
Scopes:
coupons:read
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
fields[coupon] | string | For more information please visit https://developers.klaviyo.com/en/v2024-05-15/reference/api-overview#sparse-fieldsets |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
revision | string | (Required) API endpoint revision (format: YYYY-MM-DD[.suffix]) | |
Accept | string |
RESPONSES
status: OK
{"data":[{"type":"coupon","id":"\u003cstring\u003e","attributes":{"external_id":"\u003cstring\u003e","description":"\u003cstring\u003e"},"links":{"self":"\u003curi\u003e"}},{"type":"coupon","id":"\u003cstring\u003e","attributes":{"external_id":"\u003cstring\u003e","description":"\u003cstring\u003e"},"links":{"self":"\u003curi\u003e"}}],"links":{"self":"\u003curi\u003e","first":"\u003curi\u003e","last":"\u003curi\u003e","prev":"\u003curi\u003e","next":"\u003curi\u003e"}}