Update Coupon Code
PATCHhttps://a.klaviyo.com/api/coupon-codes/{id}
Updates a coupon code specified by the given identifier synchronously. We allow updating the 'status' and 'expires_at' of coupon codes.
- Revision header
revision: 2025-01-15required- Scopes
coupon-codes:write- Rate limits
- Burst:
350/sSteady:3500/m
Path parameters
The id of a coupon code is a combination of its unique code and the id of the coupon it is associated with.
Headers
API endpoint revision (format: YYYY-MM-DD[.suffix])
2025-01-15
Request body
Content type: application/vnd.api+jsonrequired
Show 3 fields
The id of a coupon code is a combination of its unique code and the id of the coupon it is associated with.
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