Provides metadata when the event type
is ACCUMULATE_POINTS
.
LoyaltyEventAccumulatePoints
Name | Type | Tags | Description | Getter | Setter |
---|---|---|---|---|---|
loyaltyProgramId |
?string |
Optional | The ID of the loyalty program. Constraints: Maximum Length: 36 |
getLoyaltyProgramId(): ?string | setLoyaltyProgramId(?string loyaltyProgramId): void |
points |
?int |
Optional | The number of points accumulated by the event. Constraints: >= 1 |
getPoints(): ?int | setPoints(?int points): void |
orderId |
?string |
Optional | The ID of the order for which the buyer accumulated the points. This field is returned only if the Orders API is used to process orders. |
getOrderId(): ?string | setOrderId(?string orderId): void |
{
"loyalty_program_id": "loyalty_program_id0",
"points": 104,
"order_id": "order_id4"
}