iVendNextDevelopers My apps

Reading iVendNext's events reliably — the event-feed recipe

Your service learns what happened in a retailer's iVendNext — a sale booked, a return, a customer created, goods received — without ever missing one while it was down. This recipe is for an iVendNext Partner's service, a customer's own system, a BI feed or an AI agent.

Next: Part 1, Register, pull and read the queueNext: the sample, S3 · Price-deviation auditAll recipes

In four parts

  1. 1Register, pull and read the queue

  2. 2The labels, the reconciliation and the reference client

  3. 3Two patterns built on the feed, and the nudge

  4. 4Technical notes

In the App library: Price-deviation audit

A sale with two offers, and the line the outside service recorded

A sale with two offers at the till; the outside service reads it from the feed and records the one price that broke its rule.

Reference client: tools/feed_client/feed_client.py (Python, standard library only; any language can do the same).

iVendNext keeps a queue of events per registered application. Your service pulls its own queue, acts on each event, and marks it done. Nothing is pushed at you, so nothing is lost when you are down: the events wait. The reliable feed is the retailer's existing pull feed, not webhooks. A webhook may still nudge you (appendix A).

When to use it. Whenever your service must act on what happens in a retailer's iVendNext and cannot afford to miss an event.

Needs this serves

This page in the kit