Skip to main content
POST
Error

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

programId
string
required

Unique program identifier.

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

Body

application/json

Batch of reward assignment operations. unassign operations are processed before assign operations. Duplicate ids within a batch are rejected.

assign
object[] | null

Rewards to assign, each with its stock configuration.

Maximum array length: 10
unassign
object[] | null

Rewards to unassign.

Maximum array length: 10

Response

Batch processing result.

Result of a reward assignment batch. Keys are null when the corresponding operation list was not provided.

assigned
object[] | null

Assignments created by the batch, or null when no assign operations were requested.

unassigned
object[] | null

Assignments removed by the batch, or null when no unassign operations were requested.

Last modified on July 10, 2026