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β
| Phase | Deliverable | Owner |
|---|---|---|
| 0 β Discovery | Agreed scope and a completed flow map | Company and Loyal Guru |
| 1 β Foundations | Working credentials in every environment | Integration team |
| 2 β Data | Company data loaded, Customer identity model agreed | Integration team |
| 3 β Runtime | Cart evaluation working end to end | Integration team |
| 4 β Events and frontends | Outbound events delivered, loyalty data displayed | Integration team |
| 5 β Test | Test plan executed, including failure cases | QA and Integration team |
| 6 β Launch and run | Live traffic, monitored, with rollback ready | Company 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.
| Decision | Confirm |
|---|---|
| Channels in scope | POS, e-commerce, app, kiosk, middleware, WL App SDK, or CRM |
| Integration model | Direct calls, mediated through a gateway and middleware, or hybrid |
| Runtime model | Promo Engine, Coupon Server, or legacy Coupon Server |
| Calculation owner | Loyal Guru calculates the final effects, or the external system calculates the final price after Loyal Guru validates eligibility |
| Environments | Test and production, base URLs, and Company configuration |
| Launch type | New 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-SecretandX-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β
| Data | Required checks |
|---|---|
| Products | IDs, codes, taxonomy, categories, and prices if local pricing logic needs them |
| Locations | Store IDs, store codes, country, operational status |
| Cart events | Historical load, ongoing cart events, cancellation and return behaviour |
| Attributes and audiences | Fields 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_discountsbehaviour 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/simulatefor previews that must not persist state. - Use
POST /carts/realtimeonly 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-Keyheader 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 AuthorJWT; 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 area | Examples |
|---|---|
| Authentication | Missing credentials, wrong credentials, rotated secret |
| Customer identity | Existing, new, duplicate, merged Customer, card renewal |
| Cart evaluation | Eligible cart, ineligible cart, coupon cart, store and product restrictions, payment method restriction |
| Resilience | Network timeout, retry carrying the original cart ID, reused cart ID for a different sale, retry with Idempotency-Key on point redemption, provider outage |
| Business rejections | Redeemed voucher, expired voucher, wrong location, inactive Customer |
| Degraded mode | Sale completes with the API unreachable, queued operations replay on recovery |
| Webhooks | Success, failure, retry, invalid JWT, duplicate event handling |
| Reconciliation | Cart 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β
| Symptom | What to check |
|---|---|
| No effects returned | Campaign active state, date window, Customer eligibility, product and location scope, coupon code, apply_discounts |
| Duplicate benefits | Cart 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 accounts | Customer ID mapping, merge flow, association versus household model |
| Checkout and Loyal Guru totals differ | Promo Engine versus Coupon Server model, local pricing rules, tax and rounding, line mapping |
| Webhook not received | Connector status, action configuration, destination URL, JWT validation, logs, retries |
Related pagesβ
- Integration model β direct or mediated, and how to split flows
- Flow mapping template β the Phase 0 checklist
- Reliability β idempotency, degraded mode and error handling
- Anti-patterns β what to avoid, and why