Skip to content

Latest commit

 

History

History
41 lines (25 loc) · 1.39 KB

Card.md

File metadata and controls

41 lines (25 loc) · 1.39 KB

Card

A full loyalty card snapshot.

Properties

Name Type Description
id String Identifies the card.
cardDefinitionId String Identifies the card definition.
cardType CardTypeEnum Card type. Currently only `INDIVIDUAL` is supported.
code String Human-readable card code. Card code generation is asynchronous - this field is `null` right after member creation and is populated shortly after, once the background code generation completes.
lifetimeBucket CardLifetimeBucket
balance CardBalance
_object ObjectEnum Object type. Always `card`.
programId String Identifies the loyalty program.
customerId String Identifies the customer linked to the card.
memberId String Identifies the member linked to the card.
createdAt OffsetDateTime Records when the card was created (ISO 8601).
updatedAt OffsetDateTime Records the last update (ISO 8601). `null` if the card has never been updated.

Enum: CardTypeEnum

Name Value
INDIVIDUAL "INDIVIDUAL"

Enum: ObjectEnum

Name Value
CARD "card"