Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 2.11 KB

CustomerProfileReward.md

File metadata and controls

35 lines (24 loc) · 2.11 KB

CustomerProfileReward

A reward instance held by a customer profile.

Properties

Name Type Description Notes
id Long The ID of the customer reward instance. A customer profile can have multiple instances of the same reward.
integrationId String The integration ID of the customer reward instance.
rewardId Long The ID of the reward this instance belongs to.
rewardIntegrationId String The integration ID of the reward this instance belongs to.
rewardName String The name of the reward.
description String The customer-facing description of the reward. [optional]
rule RuleMetadata [optional]
status StatusEnum The status of the customer reward: - `unlocked`: The reward is available for use. - `used`: The reward has been used.
unlockedAt OffsetDateTime The date and time when the reward was unlocked.
unlockedByProfileIntegrationId String The integration ID of the customer profile that unlocked the reward. For rewards unlocked with a loyalty card, this can be any customer profile linked to that loyalty card. [optional]
usedAt OffsetDateTime The date and time when the reward was used. [optional]
usedByProfileIntegrationId String The integration ID of the customer profile that used the reward. For rewards unlocked with a loyalty card, this can be any customer profile linked to that loyalty card. Only returned when the reward has been used. [optional]
loyaltyProgramId Long The ID of the loyalty program that the loyalty card belongs to. Only returned for rewards unlocked with a loyalty card. [optional]
loyaltyCardId String The identifier of the loyalty card, which must match the regular expression `^[A-Za-z0-9._%+@-]+$`. [optional]

Enum: StatusEnum

Name Value
UNLOCKED "unlocked"
USED "used"