Age checks
What happens when an age-restricted item is scanned, who approves and what is recorded.
Some items of the catalogue are marked age-restricted. When one is scanned, the line is held and the lane stops with an intervention whose reason is age_check. The shopper’s screen says only that an age check is needed. The decision belongs to an attendant, who checks the shopper in person.
Scan
addLinewith the code of the item. The line isheldand the lane isassistance_needed.Read the intervention
It is in the queue with
reason=age_checkand carries thelineId.Decide
approveInterventionreleases the line. It becomesawaiting_weight, the lane isweight_pending, and the line carriesageApprovedBy.refuseInterventionvoids the line.Weigh
The shopper puts the item on the scale and you report the weight as for any item. See Weights and produce codes.
{
"id": "626ba1d4-2b3c-46d6-ad7d-962a8e1d8a98",
"storeId": "5c15af2a-ec60-41c3-b91c-db5b305b4fd1",
"laneId": "b0623320-6fc1-4c0f-8a09-af041e8d91ed",
"basketId": "9cb6d664-6e70-4497-b962-5c6e9fbb069a",
"lineId": "0a2091f1-a853-4bbd-864c-b52dd2a05f54",
"reason": "age_check",
"status": "waiting",
"expectedGrams": null,
"measuredGrams": null,
"raisedAt": "2026-11-23T07:11:20Z",
"decidedAt": null,
"decidedBy": null,
"revision": 1
} {
"id": "626ba1d4-2b3c-46d6-ad7d-962a8e1d8a98",
"storeId": "5c15af2a-ec60-41c3-b91c-db5b305b4fd1",
"laneId": "b0623320-6fc1-4c0f-8a09-af041e8d91ed",
"basketId": "9cb6d664-6e70-4497-b962-5c6e9fbb069a",
"lineId": "0a2091f1-a853-4bbd-864c-b52dd2a05f54",
"reason": "age_check",
"status": "approved",
"expectedGrams": null,
"measuredGrams": null,
"raisedAt": "2026-11-23T07:11:20Z",
"decidedAt": "2026-11-23T07:13:00Z",
"decidedBy": "cristina-lungu",
"revision": 2
} What is recorded
- The intervention keeps
decidedByanddecidedAt. - The line keeps
ageApprovedBy, so the basket and its receipt say who approved. - Events
intervention.raisedandintervention.resolvedtell your software when the check began and when it was decided.
An approval by a person who is not an attendant of the store is refused with not_an_attendant and nothing is recorded.