Skip to main content
POST
Create benefit

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

X-App-Id
string
header
required
X-App-Token
string
header
required

Body

application/json

Request body for creating a benefit. Exactly one type-specific configuration object is required, matching the type; the remaining type-specific properties must be omitted or null.

name
string
required

Benefit name. Must be unique within the project.

Required string length: 1 - 200
type
enum<string>
required

Benefit type. Determines which configuration object is required.

Available options:
POINTS,
POINTS_PROPORTIONAL,
MATERIAL,
DIGITAL
status
enum<string>

Initial status of the benefit. Defaults to DRAFT when omitted.

Available options:
DRAFT,
ACTIVE
points
object | null

Fixed points configuration. Required when type is POINTS, must be null otherwise.

points_proportional
object | null

Proportional points configuration. Required when type is POINTS_PROPORTIONAL, must be null otherwise.

material
object | null

Material (physical product/SKU) configuration. Required when type is MATERIAL, must be null otherwise.

digital
object | null

Digital (campaign-based) configuration. Required when type is DIGITAL, must be null otherwise.

stock
object | null

Stock configuration. Defaults to { "type": "UNLIMITED" } when omitted.

Response

The created benefit

A benefit object. Exactly one type-specific configuration object (points, points_proportional, material, or digital) is present, matching the type; the others are omitted.

id
string
required

Unique benefit ID, prefixed with lben_.

Pattern: ^lben_[a-f0-9]+$
name
string
required

Benefit name, unique within the project.

type
enum<string>
required

Benefit type.

Available options:
POINTS,
POINTS_PROPORTIONAL,
MATERIAL,
DIGITAL
status
enum<string>
required

Current benefit status. DELETED appears only in the response of the delete endpoint and in activity snapshots.

Available options:
DRAFT,
ACTIVE,
DELETED
created_at
string<date-time>
required

Timestamp of when the benefit was created, in ISO 8601 format.

object
string
required

Type of the object. Always benefit.

Allowed value: "benefit"
stock
object

Stock configuration. Omitted when not set.

points
object

Fixed points configuration. Present only when type is POINTS.

points_proportional
object

Proportional points configuration. Present only when type is POINTS_PROPORTIONAL.

material
object

Material configuration. Present only when type is MATERIAL.

digital
object

Digital configuration. Present only when type is DIGITAL.

updated_at
string<date-time> | null

Timestamp of the last update, in ISO 8601 format. Null when the benefit was never updated.

Last modified on July 27, 2026