Overview
What the Self-Checkout API does, how a call is built and where to go next.
On this page
The Self-Checkout API runs the lanes of a store. A caller opens a basket on a lane, adds what the scanner reads, reports the weight of the bagging scale, takes the payment and receives the receipt number. When a weight differs or an item needs an age check, the lane stops and an intervention waits for an attendant. The same API shows the lanes, the devices, the figures of a store and the rollout of a configuration, and sends every change as an event.
Client credentials, your base address and a test company are issued with your account. Accounts are opened by our team: ask for one through the contact form and we set it up with you.
Request an accountHow a call works
Sign in
Ask for a token with your client credentials. See Authentication.
Choose the lane
Every basket belongs to a lane of a store. List the lanes and keep the
idof a lane that isidle. See Lanes, devices, baskets and interventions.Change
Every change carries an
operationIdand, on an existing record, anexpectedRevision. See Idempotency and concurrency.Listen
Events tell you when a lane needs a person, a basket is paid or a device fails. See Event envelope.
Lane states
A lane has one state. The views show the same words. Lane states says what moves a lane from one to the next.
| Status | Meaning |
|---|---|
idle | The lane has no basket and can take one. |
scanning | A basket is open and waits for the next item. |
weight_pending | An item was scanned and the bagging scale has not confirmed its weight. |
assistance_needed | The lane is stopped until an attendant decides an intervention. |
payment | The basket waits for the answer of the card reader. |
complete | The payment was approved and the receipt has its number. |
out_of_service | The lane is closed, or a device reported a fault. |
Where next
- Pay your first basket in the Quickstart.
- Drive a lane and its devices by request in Lane simulator.
- See how the attendant decides in Interventions and approvals.
- Look up every operation in Baskets.