Topic 14
Gift Card Use (topic 14) is triggered when a linked gift card is used.
Payload
Loyale sends an HTTP POST whose JSON body is a GiftCardLinkedResultView.
| Property | Type | Notes |
|---|---|---|
id | uuid | Linked gift-card identifier |
giftCard | GiftCard | null | Gift-card definition |
giftCardId | uuid | |
customer | BasicCustomerModel | null | Recipient/customer |
customerId | string | null | |
barCode | string | null | |
toName | string | null | |
fromName | string | null | |
message | string | null | |
favorite | boolean | |
from | date-time | null | |
to | date-time | null | |
originalValue | decimal | |
currentValue | decimal | |
batchId | string | null | |
createdBy | string | null | |
updatedBy | string | null | |
isEnabled | boolean | |
comments | string | null | |
enabledBy | string | null | |
enabledDate | date-time | null | |
purchasingCustomer | BasicCustomerModel | null | |
purchasingCustomerId | string | null | |
state | string | DELIVERED, OPENED, or DISMISSED |
createdDate | date-time | UTC |
updatedDate | date-time | UTC |
metadata | object<string,string> | Included when metadata has been hydrated |
isValid | boolean | Computed from currentValue and validity dates |
Updated 5 days ago