Topic 6

Coupon Link (topic 6) is triggered when a coupon is linked to a customer.

Payload

Loyale sends an HTTP POST whose JSON body is a CouponsLinkedResultView.

PropertyTypeNotes
couponCouponResultView | nullCoupon definition
iduuidLinked-coupon identifier
customerIdstring | null
usesLeftinteger
favoriteboolean
barCodestring | null
rewardIduuid
createdDatedate-timeUTC
updatedDatedate-timeUTC
couponIdstring | null
fromdate-time
todate-time | null
isUsedboolean
createdBystring | null
updatedBystring | null
customerBasicCustomerModel | null
statestring | null
isValidbooleanComputed from usesLeft and validity dates
metadataobject<string,string>Included when metadata has been hydrated
isTargetedboolean

What’s Next