Submit a barcode or QR code scan and queue the processing pipeline.
Documentation Index
Fetch the complete documentation index at: https://docs.closient.com/llms.txt
Use this file to discover all available pages before exploring further.
Request body for submitting a barcode or QR code scan.
Short ID of the active scan session.
How the capture was produced. BARCODE for client-side barcode/QR detection, IMAGE for a server-side image to be analyzed by the vision pipeline, MANUAL for an operator-typed identifier.
BARCODE, IMAGE, MANUAL Raw barcode or QR code value.
1 - 500Developer-attached key/value data. Send {} or null to clear. Empty-string values delete that key. Omitted keys are preserved.
Normalized GTIN-14, if applicable.
14Application Identifiers from a GS1 Digital Link QR code.
Created
Scan capture with processing status and matched product data.
Processing status of this capture. Captures progress PENDING → LOOKING_UP → ENRICHING → RESOLVING → COMPLETED; FAILED is set on any unrecoverable error (see error_message) and NOT_FOUND is set when the GTIN does not match a known product after lookup.
PENDING, LOOKING_UP, ENRICHING, RESOLVING, COMPLETED, FAILED, NOT_FOUND How the capture was produced. BARCODE for client-side detection, IMAGE for an uploaded image awaiting vision extraction, MANUAL for an operator-typed identifier.
BARCODE, IMAGE, MANUAL Raw value as detected.
Normalized GTIN-14.
Error message if processing failed.
Timestamp when the capture was created.
Developer-attached key/value data attached to this object. Up to 50 keys; key max 40 chars, value max 500 chars.
Application Identifiers from GS1 DL.
Slug of the matched product.
Name of the matched product.
Timestamp when processing completed.
Storage key of the uploaded image file.
QR-redirect-chain analysis result populated by the background pipeline when raw_value is an HTTP(S) URL. Keys: initial_url, final_url, hops (list of {url, status_code, headers}), hop_count, resolver_domain, resolver_type (CLOSIENT / GS1_DL / URL_SHORTENER / DIRECT / UNKNOWN), is_closient_resolver, extracted_gtin, error_message. None until the analyzer task has run or when the capture has no URL to analyze.