customer.rewards_updated
A customer's rewards changed
The one event for rewards. Sent after any change to the rewards a customer holds —points, stamps, vouchers, stamp vouchers, time-limited offer progress and vouchers, gift card balance — whatever caused it: an order on any channel, a voucher used, a change made by staff in the dashboard, a bonus for joining a group.
One order or one dashboard action sends one event per customer, with the state after all of it.
data is the full current state, not the change: replace what you store with it. There are no
separate events per kind of reward.
No event is sent when a voucher expires: expiry is a time, not a change. Use valid_until and
expires_at, or fetch GET /customers/{id}/rewards.
Request Lynked sends
POST to your subscribed URL, JSON body below, signed with X-Lynked-Signature.
idstring · uuidThe event id. Retries and re-sends of this event keep it; use it to skip duplicates.
typestringAlways
"customer.rewards_updated"versionstringThe subscription's API version;
datahas the shape of this version.Always
"v1"created_atstring · date-timeWhen the event happened.
dataRewardsThe customer's rewards, the same object as
GET /customers/{id}/rewardsreturns.9 fields
customer_idintegercurrencyCurrencyThe business currency. Amounts in Rewards and Orders are in this currency.
One of
123pointsoneOfnullwhen points are not used.2 variants
Exactly one of:
RewardPoints
balanceintegerPoints the customer holds, rounded down.
targetinteger | nullPoints needed for a voucher;
0ornullmeans points do not turn into vouchers.rewardstring | nullWhat the customer gets at the target, as set up in the dashboard.
Option 2
stamp_cardsarray of StampCard5 fields
pos_stamp_rule_idinteger | nullThe POS stamp rule of this card;
nullfor the main card.titlestring | nulldetailsstring | nullstampsintegerStamps collected, rounded down.
targetintegerStamps needed for a free item.
vouchersarray of RewardVoucherValue vouchers the customer can use now or later (pending ones included).
8 fields
idintegerkindVoucherKindOne of
"points""gift_card""min_spend"titlestringamountnumberThe discount, in the business currency, rounded to cents.
min_spendinteger | nullThe smallest order total the voucher applies to;
nullwhen there is none.active_fromstring | null · date-timeThe voucher can be used from this time; a future time means it is pending.
valid_untilstring | null · date-timenullwhen it does not expire.created_atstring · date-time
stamp_vouchersarray of StampVoucherFree items earned on a stamp card.
7 fields
idintegertitlestringpos_stamp_rule_idinteger | nullThe POS stamp rule it was earned under;
nullfor the main card or a deleted rule.is_rule_deletedbooleantruewhen the rule was deleted after the voucher was issued; the voucher stays valid.applies_tooneOfThe rule's items as they were when the voucher was issued;
nullfor the main card (any item).2 variants
Exactly one of:
RuleScope
included_skusarray of stringexcluded_skusarray of stringincluded_categoriesarray of stringCategory paths; a category includes its subcategories.
excluded_categoriesarray of string
Option 2
expires_atstring | null · date-timenullwhen it does not expire.created_atstring · date-time
time_limited_offeroneOfThe customer's progress in the time-limited offer running now;
nullwhen none runs.2 variants
Exactly one of:
TimeLimitedOfferProgress
idintegertitlestringstarts_atstring · date-timeends_atstring · date-timepointsintegerOffer points collected, rounded down.
targetintegerOffer points needed for a voucher.
Option 2
time_limited_vouchersarray of TimeLimitedVoucherVouchers earned in a time-limited offer; listed while valid, also after the offer ended.
9 fields
idintegertime_limited_offer_idintegerdiscount_typeTimeLimitedDiscountTypeOne of
"percent""fixed"discount_valuenumbermax_itemsinteger | nullHow many items the offer discounts in total;
nullwhen there is no limit.items_leftinteger | nullItems still discountable, counted over the whole offer;
nullwhen there is no limit.applies_toRuleScopeThe items a voucher applies to. Empty included lists mean any item; excluded lists always win.
4 fields
included_skusarray of stringexcluded_skusarray of stringincluded_categoriesarray of stringCategory paths; a category includes its subcategories.
excluded_categoriesarray of string
valid_untilstring · date-timecreated_atstring · date-time
gift_cardoneOfnullwhen the customer has no gift card balance.2 variants
Exactly one of:
GiftCard
balancenumberRemaining gift card balance, in the business currency, rounded to cents.
Option 2
Your response
Any 2xx status within 5 seconds; the body is ignored. Anything else (another status, a timeout, a redirect) is retried after 1 minute, 5 minutes, 30 minutes, 2 hours and 12 hours. The same event can arrive more than once: skip an id you already processed. See the Webhooks guide.
POST /your/webhook/url HTTP/3
Content-Type: application/json
User-Agent: Lynked-Webhooks/1
X-Lynked-Signature: t=1764244800,v1=5257a869e7ecebeda32affa62cdca3fa51cad7e77a0e56ff536d0ce8e108d8bd
X-Lynked-Event: customer.rewards_updated
X-Lynked-Event-Id: 01936f4e-7b2a-7c3d-9e8f-1a2b3c4d5e6f
{
"id": "01936f4e-7b2a-7c3d-9e8f-1a2b3c4d5e6f",
"type": "customer.rewards_updated",
"version": "v1",
"created_at": "2026-11-27T12:00:00+00:00",
"data": {
"customer_id": 1042,
"currency": 2,
"points": {
"balance": 120,
"target": 200,
"reward": "€5 off"
},
"stamp_cards": [
{
"pos_stamp_rule_id": 14,
"title": "Bagels",
"details": "Buy 5 bagels",
"stamps": 2,
"target": 5
}
],
"vouchers": [
{
"id": 881,
"kind": "points",
"title": "€5 off",
"amount": 5,
"min_spend": null,
"active_from": "2026-01-01T12:00:00Z",
"valid_until": "2026-12-31T23:59:59+00:00",
"created_at": "2026-01-01T12:00:00Z"
}
],
"stamp_vouchers": [
{
"id": 312,
"title": "Free bagel",
"pos_stamp_rule_id": 14,
"is_rule_deleted": true,
"applies_to": {
"included_skus": [
"BAGEL-PLAIN"
],
"excluded_skus": [],
"included_categories": [
"Bakery/Bagels"
],
"excluded_categories": []
},
"expires_at": "2026-01-01T12:00:00Z",
"created_at": "2026-01-01T12:00:00Z"
}
],
"time_limited_offer": {
"id": 9,
"title": "Double December",
"starts_at": "2026-01-01T12:00:00Z",
"ends_at": "2026-01-01T12:00:00Z",
"points": 40,
"target": 100
},
"time_limited_vouchers": [
{
"id": 51,
"time_limited_offer_id": 9,
"discount_type": "percent",
"discount_value": 20,
"max_items": 2,
"items_left": 1,
"applies_to": {
"included_skus": [
"BAGEL-PLAIN"
],
"excluded_skus": [],
"included_categories": [
"Bakery/Bagels"
],
"excluded_categories": []
},
"valid_until": "2026-01-01T12:00:00Z",
"created_at": "2026-01-01T12:00:00Z"
}
],
"gift_card": {
"balance": 12.5
}
}
}
HTTP/3 200 OK