curl --request POST \
--url https://{cluster}.voucherify.io/v2/loyalties/benefits \
--header 'Content-Type: application/json' \
--header 'X-App-Id: <api-key>' \
--header 'X-App-Token: <api-key>' \
--data '
{
"name": "Benefit 2026-11-16-01",
"type": "MATERIAL",
"material": {
"type": "PRODUCT",
"product": {
"id": "prod_128f4cd0a94c4bef25"
}
},
"stock": {
"type": "LIMITED",
"limited": {
"quantity": 313
}
},
"status": "ACTIVE"
}
'{
"id": "lben_135b378c642d653862",
"name": "Benefit 2026-11-16-01",
"type": "MATERIAL",
"status": "ACTIVE",
"stock": {
"type": "LIMITED",
"limited": {
"quantity": 313
}
},
"material": {
"type": "PRODUCT",
"product": {
"id": "prod_128f4cd0a94c4bef25"
}
},
"created_at": "2026-11-16T19:56:22.800Z",
"updated_at": null,
"object": "benefit"
}Create benefit
Creates a new benefit. Exactly one type-specific configuration object (points, points_proportional, material, or digital) is required, matching the type.
When status is omitted the benefit is created in DRAFT status. When stock is omitted, it defaults to { "type": "UNLIMITED" }.
Referenced resources are validated: the card definition (for points-based types) must exist and - when creating with status: ACTIVE - must be ACTIVE (423 non_active_card_definition otherwise); the product/SKU (for MATERIAL) and campaign (for DIGITAL) must exist; the campaign type must match the digital benefit type (DISCOUNT_COUPONS or GIFT_VOUCHERS, 400 invalid_campaign_type otherwise); and when creating with status: ACTIVE, the campaign must not be a draft (423 non_active_campaign otherwise).
A successful call records vl.benefit.created.
curl --request POST \
--url https://{cluster}.voucherify.io/v2/loyalties/benefits \
--header 'Content-Type: application/json' \
--header 'X-App-Id: <api-key>' \
--header 'X-App-Token: <api-key>' \
--data '
{
"name": "Benefit 2026-11-16-01",
"type": "MATERIAL",
"material": {
"type": "PRODUCT",
"product": {
"id": "prod_128f4cd0a94c4bef25"
}
},
"stock": {
"type": "LIMITED",
"limited": {
"quantity": 313
}
},
"status": "ACTIVE"
}
'{
"id": "lben_135b378c642d653862",
"name": "Benefit 2026-11-16-01",
"type": "MATERIAL",
"status": "ACTIVE",
"stock": {
"type": "LIMITED",
"limited": {
"quantity": 313
}
},
"material": {
"type": "PRODUCT",
"product": {
"id": "prod_128f4cd0a94c4bef25"
}
},
"created_at": "2026-11-16T19:56:22.800Z",
"updated_at": null,
"object": "benefit"
}Authorizations
Body
Request body schema for POST /v2/loyalties/benefits.
Response
The created benefit.
Response body schema for POST /v2/loyalties/benefits.

