Skip to main content

Integration checklist

Everything an integration project has to get through, in the order it has to get through it. Each phase states what it produces and who owns it, so the list works as a plan at the start and as a gate during delivery: the Deliverable line of each phase is its exit criterion, and nothing downstream should start before it is met.

The order is a dependency rather than a convention: campaigns cannot be evaluated against Customers and products that have not been loaded yet, and nothing can be loaded before credentials exist. Working out of sequence rarely saves time β€” it moves the failure into the test phase, where it costs the most to fix.

Before starting, decide the architecture β€” direct or mediated calls, and how flows split across channels. That is covered in Designing the integration, and it is a decision that is expensive to revisit once the POS work has started.

The sequence​

PhaseDeliverableOwner
0 β€” DiscoveryAgreed scope and a completed flow mapCompany and Loyal Guru
1 β€” FoundationsWorking credentials in every environmentIntegration team
2 β€” DataCompany data loaded, Customer identity model agreedIntegration team
3 β€” RuntimeCart evaluation working end to endIntegration team
4 β€” Events and frontendsOutbound events delivered, loyalty data displayedIntegration team
5 β€” TestTest plan executed, including failure casesQA and Integration team
6 β€” Launch and runLive traffic, monitored, with rollback readyCompany and Loyal Guru

Phase 0 β€” Discovery and scope​

The output of this phase is a decision, not a document for its own sake. Most rework later traces back to a scope question that was left open here.

DecisionConfirm
Channels in scopePOS, e-commerce, app, kiosk, middleware, WL App SDK, or CRM
Integration modelDirect calls, mediated through a gateway and middleware, or hybrid
Runtime modelPromo Engine, Coupon Server, or legacy Coupon Server
Calculation ownerLoyal Guru calculates the final effects, or the external system calculates the final price after Loyal Guru validates eligibility
EnvironmentsTest and production, base URLs, and Company configuration
Launch typeNew launch, migration from legacy, phased rollout, or pilot by store or channel

Then map every flow. The Flow mapping template is the checklist: trigger, channel, whether it blocks the sale, failure behaviour and owner. The completed set becomes the input to the test plan in Phase 5.

Deliverable: agreed scope and one completed template per flow. Owner: Company and Loyal Guru, jointly.

Phase 1 β€” Foundations​

Access and environments. Short phase, and a common source of delay when it starts late.

  • Request API credentials: X-Api-Key, X-Api-Secret and X-Api-Version. See API Keys.
  • Confirm who has Owner App access for campaign setup and validation.
  • Confirm test data and the production cutover date.
  • Define credential rotation and where secrets are stored β€” and who owns that.
  • Review authentication, idempotency, rate limits and error format in HTTP behavior.

Decide credential separation now rather than later: batch traffic and checkout traffic sharing one key means a nightly load can consume the quota that checkout depends on.

Deliverable: working credentials in every environment, with rotation ownership assigned. Owner: Integration team.

Phase 2 β€” Data​

Nothing downstream works until this phase does. It has two halves that can run in parallel.

Customer identity​

  • Choose the Customer identifier used across channels.
  • Decide how POS, e-commerce, app and CRM create or update Customers.
  • Define duplicate handling: update, merge, soft association, household, or card renewal.
  • Confirm how Customer consent fields are collected and updated.

See Customer Data.

Company data​

DataRequired checks
ProductsIDs, codes, taxonomy, categories, and prices if local pricing logic needs them
LocationsStore IDs, store codes, country, operational status
Cart eventsHistorical load, ongoing cart events, cancellation and return behaviour
Attributes and audiencesFields used by campaigns and personalization must be populated before campaign tests

See Company Data. Endpoint schemas are in the API Reference endpoint catalog.

Deliverable: company data loaded and verified, Customer identity model agreed and implemented. Owner: Integration team, with the data owners of each source system.

Phase 3 β€” Runtime​

The checkout loop: send the cart, read the effects, apply them.

Configure the evaluation model​

  • Create test campaigns in the Owner App.
  • Confirm whether discounts, points, rewards, vouchers, games and challenges are in scope.
  • Confirm apply_discounts behaviour for the Company and the per-request override.
  • Define the coupon and voucher lifecycle: selection, validation, redemption, rollback and expiration.

Build the requests​

  • Use POST /carts/simulate for previews that must not persist state.
  • Use POST /carts/realtime only when the purchase is confirmed.
  • Send stable cart IDs, generated once at the origin of the sale and reused on every retry β€” that identifier is what protects a retried cart confirmation. The Idempotency-Key header is declared in the reference on the point redemption endpoints, not on cart confirmation. See Reliability.
  • Include Customer, location, country, payment method, lines, totals, and desired coupons or vouchers when relevant.
  • Log request IDs, cart IDs, Customer IDs, returned effects and the business outcome.

Apply and reconcile the effects​

  • Map each returned effect to cart line or cart total behaviour.
  • Display coupon and voucher feedback to the Customer.
  • Confirm points or wallet feedback when it is visible at checkout.
  • Reconcile checkout totals against Loyal Guru reporting.
  • Define cancellation and rollback behaviour for failed payments, returns and order edits.

See Loyalty Management & Promotional Engine.

Deliverable: cart evaluation working end to end, including the degraded path. Owner: Integration team.

Phase 4 β€” Events and frontends​

Everything that happens around the sale rather than during it. This phase is often deferred to a second wave, and that is a legitimate choice as long as it is a choice.

Outbound events​

  • Decide which external systems need loyalty events.
  • Create the connectors and actions in Webhooks & Connectors.
  • Choose No Auth or JWT; use JWT for production integrations.
  • Make the destination endpoint idempotent and able to handle retries.
  • Use Webhook Logs to verify delivery.

See Webhooks.

Embedded Loyalty​

Display balances, tiers, rewards, challenges and games in your app, web or kiosk β€” either by calling the API and rendering natively, or by embedding the white-label screens.

See Embedded Loyalty.

Deliverable: events delivered to their destinations, loyalty data visible to the Customer. Owner: Integration team, with the owners of the destination systems.

Phase 5 β€” Test​

The flow templates from Phase 0 are the test plan. The failure cases matter more than the happy path, because the happy path is the one that gets tested informally all the way through the project.

Test areaExamples
AuthenticationMissing credentials, wrong credentials, rotated secret
Customer identityExisting, new, duplicate, merged Customer, card renewal
Cart evaluationEligible cart, ineligible cart, coupon cart, store and product restrictions, payment method restriction
ResilienceNetwork timeout, retry carrying the original cart ID, reused cart ID for a different sale, retry with Idempotency-Key on point redemption, provider outage
Business rejectionsRedeemed voucher, expired voucher, wrong location, inactive Customer
Degraded modeSale completes with the API unreachable, queued operations replay on recovery
WebhooksSuccess, failure, retry, invalid JWT, duplicate event handling
ReconciliationCart totals, discounts, points, voucher status, webhook logs, external system state

Test degraded mode deliberately, by making the API unreachable. An untested fallback is an assumption.

Deliverable: executed test plan with evidence, including the failure cases. Owner: QA, with the Integration team.

Phase 6 β€” Launch and run​

  • Launch with a small cohort of stores, channels or Customers where possible.
  • Monitor API errors, cart effects, webhook logs and the business KPIs together β€” a technically healthy integration can still be applying the wrong campaign.
  • Keep rollback procedures ready: campaign deactivation, credential rotation, POS fallback.
  • Review the first production day with Loyal Guru and the technical owner.

Deliverable: live traffic, monitored, with rollback ready and rehearsed. Owner: Company and Loyal Guru, jointly.

Troubleshooting​

SymptomWhat to check
No effects returnedCampaign active state, date window, Customer eligibility, product and location scope, coupon code, apply_discounts
Duplicate benefitsCart ID reuse, whether the retry carried the original cart ID, idempotency key handling on point redemption, retry logic, voucher redemption state
Customer benefits split across accountsCustomer ID mapping, merge flow, association versus household model
Checkout and Loyal Guru totals differPromo Engine versus Coupon Server model, local pricing rules, tax and rounding, line mapping
Webhook not receivedConnector status, action configuration, destination URL, JWT validation, logs, retries