Skip to main content
POST
Deactivate a reward

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

Path Parameters

id
string
required

Unique reward identifier, prefixed with lrew_.

Pattern: ^lrew_[a-f0-9]+$

Response

The deactivated reward.

A reward, as returned by the API.

id
string
required

Unique reward identifier, prefixed with lrew_.

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

Display name of the reward.

type
enum<string>
required

Reward type.

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

Current lifecycle status of the reward.

Available options:
ACTIVE,
DRAFT,
INACTIVE,
DELETED
validity_hours
object
required

Hours during which the reward can be purchased. Always present; defaults to { "type": "ANY_TIME" }.

refunds
object
required

Refund policy. Always present; defaults to { "type": "NONE" }.

costs
object[]
required

Point costs of the reward. Empty array when no costs are defined.

metadata
object
required

Arbitrary key-value metadata attached to the reward. Empty object when not set.

created_at
string<date-time>
required

Timestamp when the reward was created (ISO-8601).

object
string
required

Object type marker; always reward.

Allowed value: "reward"
start_date
string<date-time> | null

Date from which the reward is available, or null when not set.

end_date
string<date-time> | null

Date until which the reward is available, or null when not set.

material
object

Material reward definition. Present only when type is MATERIAL; omitted otherwise.

digital
object

Digital reward definition. Present only when type is DIGITAL; omitted otherwise.

updated_at
string<date-time> | null

Timestamp when the reward was last updated (ISO-8601), or null when never updated.

Last modified on July 13, 2026