Skip to main content
POST
Batch create program members

Authorizations

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

Path Parameters

programId
string
required

Unique loyalty program ID (format lprg_[a-f0-9]+).

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

Body

application/json
customer_identification
Customer ID · object
required

Identifies the existing customer to enroll. Send exactly one identifier, matching type.

status
enum<string> | null
default:ACTIVE

Sets the initial member status. Allowed values are ACTIVE and INACTIVE. Defaults to ACTIVE when omitted or null.

Available options:
ACTIVE,
INACTIVE
metadata
object | null

Stores custom metadata on the member. Validated against the metadata schema for the vl_member related object when one is configured. Defaults to an empty object when omitted or null.

Response

The batch is scheduled. Use async_action_id to follow processing.

Response body schema for POST /v2/loyalties/programs/{programId}/members/batch.

async_action_id
string
required

Identifies the async action that processes the batch.

Pattern: ^aa_[a-f0-9]+$
Last modified on October 9, 2026