Topic 12
Gift Card Create (topic 12) is triggered when a linked gift-card record is created.
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 13 days ago