Provides metadata when the event type
is ACCUMULATE_PROMOTION_POINTS
.
LoyaltyEventAccumulatePromotionPoints
Name | Type | Tags | Description |
---|---|---|---|
loyaltyProgramId |
string | undefined |
Optional | The Square-assigned ID of the loyalty program. Constraints: Maximum Length: 36 |
loyaltyPromotionId |
string | undefined |
Optional | The Square-assigned ID of the loyalty promotion. Constraints: Minimum Length: 1 , Maximum Length: 255 |
points |
number |
Required | The number of points earned by the event. |
orderId |
string |
Required | The ID of the order for which the buyer earned the promotion points. Only applications that use the Orders API to process orders can trigger this event. Constraints: Minimum Length: 1 |
{}