Skip to main content
PUT
Update 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.

Body

application/json

Payload for updating a reward. All fields are optional. In ACTIVE/INACTIVE status only name and metadata may be updated. Supplying type resets the non-matching sub-configuration to null.

name
string

Reward display name.

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

Reward type.

Available options:
MATERIAL,
DIGITAL
material
object | null

Required when type is MATERIAL.

digital
object | null

Required when type is DIGITAL.

metadata
object | null

Key-value metadata. Merged with existing metadata on update.

Response

Updated reward.

Reward resource representation.

id
string
required

Unique reward identifier.

name
string
required

Reward display name.

type
enum<string>
required

Reward type.

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

Current lifecycle status.

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

Key-value metadata.

created_at
string<date-time>
required

ISO 8601 creation timestamp.

updated_at
string<date-time> | null
required

ISO 8601 last-update timestamp. Null if never updated.

object
string
required
Allowed value: "reward"
material
object

Material configuration. Present only when type is MATERIAL.

digital
object

Digital configuration. Present only when type is DIGITAL.

Last modified on July 7, 2026