---
title: "Lanes, devices, baskets and interventions | Docs | Self-Checkout by R&D Copilot"
description: "The four things the API is made of, how they relate and which identifiers connect them."
canonical: "https://checkout.rdcopilot.com/docs/concepts/lanes-devices-baskets-and-interventions/"
language: en
updated: 2026-11-22
---

# Lanes, devices, baskets and interventions

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

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.

| Thing | What it is | Read it with |
| --- | --- | --- |
| Lane | A self-service position of a store, numbered from 1. It has a `state` and runs a `config`. | `listLanes`, `getLane` |
| Device | The scanner, the bagging scale, the card reader or the printer of a lane. It reports a heartbeat and may report a fault. | `listDevices` |
| Basket | What 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` |
| Intervention | A 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.

A decision of an attendant carries `attendantId`. The system accepts only an attendant of the store, so a shopper’s screen cannot approve its own age check.
