Create Coupon Code
POSThttps://a.klaviyo.com/api/coupon-codes
Synchronously creates a coupon code for the given coupon.
- Revision header
revision: 2025-01-15required- Scopes
coupon-codes:write- Rate limits
- Burst:
350/sSteady:3500/m
Headers
API endpoint revision (format: YYYY-MM-DD[.suffix])
2025-01-15
Request body
Content type: application/vnd.api+jsonrequired
Show 3 fields
Show 2 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.
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