← All guides

Gift Card and Loyalty Data in Third-Party Platforms: Sync Patterns That Hold Up

Data, integrations & replication · 8 min read · By Dex Carter · Published 2026-10-26 · Last updated 2026-10-26

Blank till on a counter, a gift card and a star loyalty card travelling on dashed paths toward a large blue cloud
Two cards, two paths, one platform holding the balance.

A shopper hands over a gift card issued online. The till asks a simple question, how much is left on this card? and behind that question sits a harder one: which system is allowed to answer? If two systems both keep a balance, they will eventually give two different answers.

Gift card and loyalty data attract that problem because both are money-like. A gift card balance is stored value. A points balance behaves like stored value at redemption. Sync patterns that hold up start by removing the ambiguity about ownership, then pick a movement pattern that fits each data type: live query where a documented service surface allows it, scheduled sync where it does not, and explicit handling for the constraints that break naive copying.

The decision first: whose balance is the truth?

Name one system as the balance of record for gift cards, and one, which may be a different system, for loyalty points. Every other copy is then a cache, a report, or a staging record, never a rival truth.

That naming sounds administrative. It is operational.

Once the owner is named, sync direction follows from it: other systems read from the owner, write requests go to the owner, and a disagreement between systems is resolved in the owner's favour while the cause is investigated. If the owner cannot be named for a data type, the project is not ready to choose a sync tool for it. Tool selection before ownership produces the classic failure: two tidy integrations moving balances in opposite directions, each correctly doing what it was configured to do.

Record the decision per data type, not per project. Gift cards, points balances, points entries and member contacts are separate data types in the documented LS service surface below, and they do not have to share an owner or a pattern.

Pattern 1: live balance query at the till

The LS Commerce service surface, the Omni IUCService, exposes named operations for exactly the questions a till asks. For gift cards it exposes GiftCardGetBalance and GiftCardGetHistory. For loyalty it exposes CardGetPointBalance, CardGetPointEntries and GetPointRate, the value rate for points. It also exposes member contact operations such as ContactGet and ContactCreateCard.

That operation list supports a live-query pattern with a specific shape:

The strength of the live pattern is freshness: the answer comes from the service at the moment of the sale. Its weakness is dependency: the answer exists only if the service can be reached and responds at sale time. That dependency is why the offline question later in this piece cannot be waved away.

Pattern 2: scheduled sync of customers, sales and points

Not every data type needs a live answer. Customers and sales history are the documented case for scheduled movement.

The LoyaltyLion for Business Central guide, a third-party loyalty platform syncing to Business Central, documented for a Shopify rewards setup rather than LS Central POS redemption, runs two named actions. Sync Customers syncs customers updated since the Customers Last Synced At timestamp. Sync Sales syncs invoices and credit memos added since the Sales Last Synced At timestamp. Both actions run manually and from the job queue.

Three details in that design carry across as pattern rules:

Pattern detailDocumented formWhy it holds up
Watermark, not full reloadSync runs since a Last Synced At timestamp, separately for customers and for salesA failed run resumes from a known point instead of re-importing everything
Identity match statedCustomers are matched by email address and must already exist in LoyaltyLionThe match key and its precondition are explicit, so unmatched records are a queue, not a surprise
Points state visible on the recordThe Customer Card carries Points Approved, Points Pending, Points Spent, Enrolled At, Last Updated and Last SyncAn operator can see sync state where they work, without opening the integration

A fourth detail earns a place in any pattern: exclusion. Items can be excluded from earning points with the Block LoyaltyLion Points field on the Item Card. A sync design that cannot express an exclusion will award points the business never intended, correctly and repeatedly.

Note the scope limit before borrowing this pattern. The guide documents a Business Central integration; no retrieved source covers POS-time balance validation against a third party in LS Central. Use the scheduled pattern for customer and sales movement, and keep the balance question on the live pattern above.

The constraints that break naive sync: currency, PIN, partial redemption

Currency is a hard limit, not a conversion task. LS Retail's Magento gift card documentation states that gift cards do not support multi-currency: the webstore currency must match the gift card currency because the card is generated on the POS. A sync that converts a gift card balance into another currency invents a value the card does not carry. Design the pattern so a card moves only where its currency is valid, and surface a mismatch as a refusal with a reason.

Partial redemption is normal use. The same documentation states gift cards can be used as a mode of payment at checkout, and the total amount or a partial amount can be redeemed depending on the order total. Any sync or reconciliation that assumes a card is either unused or fully spent will misstate the common middle case.

PIN checks are an unresolved design item in the retrieved sources. The service, sync and gift card sources behind this piece do not specify how a PIN check on a balance enquiry should work for a third-party card, so no behaviour is claimed here. The design still has to answer it before go-live: is a balance enquiry gated, and if so, where is that check enforced, at the POS, in the platform, or in both? Leaving the question unasked is how a balance service ends up exposed in a way nobody chose.

Offline tills and third-party balances: the unresolved edge

Now the gap, stated plainly: no retrieved source documents offline redemption behaviour for third-party gift card or loyalty platforms connected to LS Central. Sync direction, balance ownership and offline behaviour for that combination are not covered in the sources behind this piece.

So offline behaviour is a per-platform decision to resolve before go-live, not a fact to assume. The decision has to answer, in writing: can a till redeem against a third-party balance while offline, and if so, against what limit and with what later reconciliation? Or does redemption stop while the balance service is unreachable, while selling continues for other tenders?

Either answer can be defensible. An unstated answer cannot.

What not to do is fill the gap with a locally invented balance. A till that guesses a third-party balance offline has created a second balance of record, the exact defect the ownership decision at the top of this piece exists to prevent.

Sync pattern checklist and reconciliation routine

  1. Write the ownership line. For gift cards and for points, name the balance of record. File it with the integration design.
  2. Map each question to its operation. Balance to GiftCardGetBalance or CardGetPointBalance, movement to GiftCardGetHistory or CardGetPointEntries, redemption value to GetPointRate.
  3. Set watermarks for scheduled movement. Separate Last Synced At timestamps for customers and for sales, with manual and job-queue runs both possible.
  4. State the identity match. Name the match key, email in the documented LoyaltyLion pattern, and what happens to a record that does not match.
  5. Encode the constraints. Currency must match the card; partial redemption must reconcile; exclusions such as a blocked-points item field must be respected.
  6. Decide offline behaviour before go-live. Written answer, per platform, for redemption while the balance service is unreachable.
  7. Reconcile from history, on a schedule. Compare balances against the history and point-entry operations, investigate differences entry by entry, and resolve them in favour of the named balance of record while the cause is traced.

What success looks like: one named owner per balance, a balance question answered by the live operation rather than a stale copy, scheduled movement that resumes from its watermark after a failed run, and a reconciliation difference that can be traced to specific history entries. If a difference can only be described as a totals mismatch, the pattern is not yet holding up, the history operations exist so that it can be described precisely.

, Dex Carter, Tech Writer

Keep readingNext: How customer and member data moves between LS Central and Business Central →