Loyalty Adapters Overview
Loyalty adapters integrate customer loyalty and CRM platforms with Norce Checkout. They let a signed-in loyalty member apply their promotions and reward vouchers to a Norce Checkout order.
For general requirements and access details, see How to access Norce Checkout.
API Environments and URLs
All Norce Checkout loyalty adapters use the same URL pattern:
| Environment | URL Pattern |
|---|---|
| Production | https://{slug}.api-se.norce.tech/checkout/{adapter}-adapter |
| Stage | https://{slug}.api-se.stage.norce.tech/checkout/{adapter}-adapter |
| Playground | https://{slug}.api-se.playground.norce.tech/checkout/{adapter}-adapter |
Replace {slug} with your unique Norce instance slug and {adapter} with the provider-specific name (e.g. voyado).
How Loyalty Adapters Work
Loyalty adapters read and write order.customer.loyalty on the Norce Checkout order. A typical flow is:
- The storefront identifies the customer in the loyalty platform and obtains an external contact id.
- The storefront calls the loyalty adapter's "set loyalty" endpoint with that contact id. The adapter validates the contact against the loyalty platform and stores it on
order.customer.loyalty.idtogether with the correctprovidervalue. - The storefront calls the adapter's
promotionsandrewardvouchersendpoints to list what the customer is entitled to. - The customer selects items to apply. The storefront calls the adapter's
applyandremoveendpoints. The adapter writes the selection toorder.customer.loyalty.promotions[]andorder.customer.loyalty.rewardVouchers[]. - The Norce Adapter reacts to those loyalty changes and adds the corresponding discount line items to the cart in Norce Commerce.
All promotion and reward-voucher endpoints require order.customer.loyalty.id to be set first. If it is missing, the adapter returns loyalty-id-missing.