Skip to content

Latest commit

 

History

History
23 lines (14 loc) · 771 Bytes

loyalty-event-create-reward.md

File metadata and controls

23 lines (14 loc) · 771 Bytes

Loyalty Event Create Reward

Provides metadata when the event type is CREATE_REWARD.

Structure

LoyaltyEventCreateReward

Fields

Name Type Tags Description
loyaltyProgramId string Required The ID of the loyalty program.
Constraints: Minimum Length: 1, Maximum Length: 36
rewardId string | undefined Optional The Square-assigned ID of the created loyalty reward.
This field is returned only if the event source is LOYALTY_API.
Constraints: Maximum Length: 36
points number Required The loyalty points used to create the reward.

Example (as JSON)

{}