create_coupon_code
Generate and assign coupon codes in Klaviyo by specifying a coupon ID and code, enabling targeted marketing campaigns and promotions.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
code | Yes | Coupon code | |
coupon_id | Yes | ID of the coupon |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"code": {
"description": "Coupon code",
"type": "string"
},
"coupon_id": {
"description": "ID of the coupon",
"type": "string"
}
},
"required": [
"coupon_id",
"code"
],
"type": "object"
}