Scan
The pass is found by exact match of data against the barcode values each pass carries; when several passes carry the value, the most recently updated one wins. A pass-scanned event is emitted for that pass with the scanned data and type, for automations and connected partners. The pass itself is not changed.
A value read from a pass by a scanner, a camera or a keyboard.
The decoded content, exactly as read. It must equal, character for character, one of the barcode values rendered on a pass (its Apple or Google barcode message, trimmed).
How data was captured. Recorded on the scan event as scannedType, in PascalCase (for
example QRCode for qrcode).
Scan recorded; the body names the pass.
The pass the scanned value resolved to.
The pass carrying the scanned value. When several passes carry it, the most recently updated one.
data is missing or outside 3 to 2048 characters, or type is missing or unknown.
The caller is not authenticated.
The caller lacks the tenant.scan:scan scope, or the endpoint is not enabled for the tenant.
No pass carries the scanned value.
Over 1200 requests per minute to this endpoint for the tenant (default limit); retry after Retry-After.
POST /api/{tenantId}/scans HTTP/1.1
Host: app.neostore.cloud
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 31
{
"data": "text",
"type": "manual"
}{
"passId": "text"
}Last updated

