Authorization header.
GET /inventory
Returns a paginated list of products from your catalog. Each product record includes pricing, cost, and aninventarios array showing current stock levels broken down by warehouse and branch.
Query parameters
When
true, returns only products that have stock greater than zero across at least one warehouse.When
true, returns only products whose current stock is at or below their configured minimum stock threshold.Response example
Response fields
GET /inventory/{id}
Retrieves a single product record by its numeric ID. The response returns the same full Product object described above, including theinventarios array with stock levels per warehouse.
Path parameter
data key with "success": true. All fields, including inventarios, are identical to the structure documented in the GET /inventory response above.
GET /inventory/summary
Returns aggregate statistics for your entire product catalog and combined stock position. Use this endpoint to get a quick overview of catalog health — how many products are active, total stock on hand, total inventory value, and which categories contain the most products.Response example
Response fields
Total inventory value calculated using each product’s average cost (
costo_promedio) multiplied by its current stock.Number of products whose current stock is at or below their configured
stock_minimo threshold in at least one warehouse.