Lookup variant by barcode or SKU

GET/api/v1/inventory/products/lookup

Resolve a single variant by a scannable identifier. Tries barcode first, then falls back to SKU. Used by receiving, cycle counting, and point-of-sale flows.

Operation ID: lookup_variant_api_v1_inventory_products_lookup_get·View as markdown·OpenAPI slice

Authentication

Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.

Parameters

Query

barcodestring

Scannable barcode (UPC/EAN/QR).

skustring

Stock Keeping Unit fallback.

Responses

200Successful Response

successboolean
messagestring
codestring
dataVariantResponse

400Bad Request - Invalid input

404Not Found - Resource does not exist

422Validation Error - Invalid data format