post https://a.klaviyo.com/api/coupons
Creates a new coupon.
Rate limits:
Burst: 3/s
Steady: 60/m
Scopes:
coupons:write
Responses
Creates a new coupon.
Rate limits:
Burst: 3/s
Steady: 60/m
Scopes:
coupons:write
xxxxxxxxxx
13curl --request POST \
--url https://a.klaviyo.com/api/coupons \
--header 'Authorization: Klaviyo-API-Key your-private-api-key' \
--header 'accept: application/vnd.api+json' \
--header 'content-type: application/vnd.api+json' \
--header 'revision: 2025-01-15' \
--data '
{
"data": {
"type": "coupon"
}
}
'
xxxxxxxxxx
13{
"data": {
"type": "coupon",
"id": "10OFF",
"attributes": {
"external_id": "10OFF",
"description": "10% off for purchases over $50"
},
"links": {
"self": "string"
}
}
}