Skip to content

Latest commit

 

History

History
40 lines (24 loc) · 1.49 KB

V2LoyaltiesProgramsMembersCreateResponseBody.md

File metadata and controls

40 lines (24 loc) · 1.49 KB

V2LoyaltiesProgramsMembersCreateResponseBody

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

Properties

Name Type Description
id String Identifies the member.
customerId String Identifies the enrolled customer.
programId String Identifies the loyalty program.
status StatusEnum Current member status. Allowed values: `ACTIVE`, `INACTIVE`, `DELETED`. `INACTIVE` members cannot earn points or redeem rewards.
metadata Object Stores custom member metadata. Empty object when none is set.
createdAt OffsetDateTime Records when the member was created (ISO 8601).
updatedAt OffsetDateTime Records the last update (ISO 8601). `null` if the member has never been updated.
_object ObjectEnum Object type. Always `member`.
cards List<MemberCard> Member's loyalty cards - one per card definition assigned to the program. Card codes are generated asynchronously, so `card.code` may be `null` right after member creation.

Enum: StatusEnum

Name Value
ACTIVE "ACTIVE"
INACTIVE "INACTIVE"
DELETED "DELETED"

Enum: ObjectEnum

Name Value
MEMBER "member"