GET /v1/ecommerce/products/find
Find a product or variant by exact SKU or barcode, falling back to a text search.
GET
Buscar un producto por SKU, código de barras o texto
Resolves what a cashier scans or types into the product and variant it belongs to. An exact SKU or barcode returns those matches; anything else runs a text search over the catalog.
This is the lookup to run before adjusting stock or creating a sale, since both take a
product_id and, on products with variants, a variant_id.
Endpoint
Required scope
ecommerce:products:read
Headers
Query parameters
Example request
Response
200 OK
401 Unauthorized
Missing, invalid, revoked, or expired token.403 Forbidden
The token does not have theecommerce:products:read scope.
502 Bad Gateway
ECOMMERCE_UPSTREAM_ERROR — the ecommerce service could not answer.
Operational notes
- SKU and barcode match loosely. Case and spaces are ignored, so
run-pro-42-negfindsRUN-PRO-42-NEG. - Branch on
match. Withexactyou can act on the item directly. Withsearch, the items are candidates: show them to a person, or pick one only when there is a single clear result.
Authorizations
Personal Access Token con prefijo kbai_pk_. Generar desde el portal con permiso developer.manage_tokens.
Query Parameters
Texto a buscar. Si coincide exacto con el SKU o el código de barras de un producto o variante, se devuelven solo esas coincidencias
Example:
"7801234567890"
Required range:
1 <= x <= 50Buscar un producto por SKU, código de barras o texto