{
"external_store_id": "tienda-principal",
"occurred_at": "2026-08-07T08:00:00.000Z",
"lines": [
{
"external_item_id": "tomate-bola",
"quantity": 8.5,
"unit_id": "unit_kg_01..."
}
],
"external_user_id": "almacenista_01"
}
{
"id": "sc_01...",
"status": "COMPLETED",
"store_id": "str_principal_01...",
"occurred_at": "2026-08-07T08:00:00.000Z"
}
Conteos de inventario
Crear conteo de inventario
Registra los niveles de stock actuales. Ajusta el inventario a las cantidades contadas.
POST
/
api
/
v1
/
public
/
vendors
/
{vendorId}
/
operations
/
stock-counts
{
"external_store_id": "tienda-principal",
"occurred_at": "2026-08-07T08:00:00.000Z",
"lines": [
{
"external_item_id": "tomate-bola",
"quantity": 8.5,
"unit_id": "unit_kg_01..."
}
],
"external_user_id": "almacenista_01"
}
{
"id": "sc_01...",
"status": "COMPLETED",
"store_id": "str_principal_01...",
"occurred_at": "2026-08-07T08:00:00.000Z"
}
string
requerido
API key de BOH con scope
inventory:write.string
requerido
UUID del vendor.
string
UUID del establecimiento. Se requiere
store_id o external_store_id.string
ID externo del establecimiento.
string
Cuándo se realizó el conteo (ISO 8601). Por defecto: ahora.
string
Notas de texto libre.
object[]
requerido
string
requerido
Actor que realiza el conteo.
string
Clave de idempotencia.
{
"external_store_id": "tienda-principal",
"occurred_at": "2026-08-07T08:00:00.000Z",
"lines": [
{
"external_item_id": "tomate-bola",
"quantity": 8.5,
"unit_id": "unit_kg_01..."
}
],
"external_user_id": "almacenista_01"
}
{
"id": "sc_01...",
"status": "COMPLETED",
"store_id": "str_principal_01...",
"occurred_at": "2026-08-07T08:00:00.000Z"
}

