> ## Documentation Index
> Fetch the complete documentation index at: https://docs.fire.rest/llms.txt
> Use this file to discover all available pages before exploring further.

# Obtener pedido sugerido

> Genera una sugerencia de pedido basada en los niveles de reorden y el stock actual. Los artículos por debajo del punto de reorden aparecen en el resultado.

<ParamField header="x-api-key" type="string" required>
  API key de BOH con scope `procurement:read`.
</ParamField>

<ParamField path="vendorId" type="string" required>UUID del vendor.</ParamField>

<ParamField query="store_id" type="string">Filtrar por establecimiento.</ParamField>
<ParamField query="supplier_id" type="string">Filtrar por proveedor.</ParamField>

<ResponseField name="lines" type="object[]">
  Líneas sugeridas con artículo, cantidad sugerida y proveedor.
</ResponseField>

<ResponseExample>
  ```json 200 theme={null}
  {
    "lines": [
      {
        "item_id": "itm_01...",
        "item_name": "Tomate Bola",
        "supplier_id": "sup_01...",
        "current_stock": 3.5,
        "reorder_point": 5,
        "par_quantity": 20,
        "suggested_quantity": 16.5,
        "unit_id": "unit_kg_01..."
      }
    ]
  }
  ```
</ResponseExample>
