Skip to content
Docs
API 1.0.0 · 22 Nov 2026

Search the docs

    Română

    Lanes, devices, baskets and interventions

    The four things the API is made of, how they relate and which identifiers connect them.

    On this page

    A store has lanes. A lane has four devices. A lane holds one basket at a time. When the lane cannot go on by itself, it raises an intervention and waits for a person.

    ThingWhat it isRead it with
    LaneA self-service position of a store, numbered from 1. It has a state and runs a config.listLanes, getLane
    DeviceThe scanner, the bagging scale, the card reader or the printer of a lane. It reports a heartbeat and may report a fault.listDevices
    BasketWhat one shopper scans on a lane: lines, an own bag if there is one, the total with VAT, and the receipt once it is paid.listBaskets, getBasket, listLines
    InterventionA request of a lane for a person. It has a reason, waits for an attendant and is approved, refused or voided.listInterventions, getIntervention

    How they connect

    • A basket names its lane with laneId, and a lane names its basket with basketId while the basket is open or just paid.
    • An intervention names the lane, the basket and, for an item, the line, with laneId, basketId and lineId.
    • A device names its lane with laneId. A device in fault takes its lane out of service.
    • Every record names its store with storeId. Lists take storeId as a query parameter.

    Who calls what

    The shopper’s screen sends the baskets and lines: openBasket, addLine, useOwnBag, startPayment, cancelPayment, requestHelp. The devices send recordWeight, recordPayment and reportHeartbeat. The attendant’s screen sends approveIntervention, refuseIntervention, voidLine, openLane, closeLane and releaseLane. The store view reads the lanes, the devices, the figures and the rollouts.