The Products API has two areas: the product catalog (materials and equipment tracked in inventory) and pendiente items (the specific quantities of products used in a given work order). Products are identified by barcode and have a unit cost. When a technician uses materials on a job, those are recorded as items on the pendiente.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/CLINTONARMANDO/apiregistropendientes/llms.txt
Use this file to discover all available pages before exploring further.
All endpoints require a valid Bearer token. Include
Authorization: Bearer <token> in every request header.Products
List active products
GET /api/productos
Returns a paginated list of active products.
Query parameters
Zero-based page index.
Number of records per page.
Response fields
Unique product ID.
Barcode identifier.
Product name.
Product description.
Unit cost in the local currency.
true if the product is active.Get product by ID
GET /api/productos/{id}
Returns a single product record.
Numeric product ID.
Create a product
POST /api/productos
Adds a new product to the catalog.
Unique barcode string for the product.
Product name (e.g.,
Router TP-Link TL-WR840N).Additional product description.
Unit cost. Use a decimal value (e.g.,
45.00).Update a product
PUT /api/productos/{id}
Updates an existing product record.
Numeric ID of the product to update.
Delete a product
DELETE /api/productos/{id}
Soft-deletes a product by setting vigente = false.
Numeric ID of the product to deactivate.
Pendiente items
Pendiente items record which products (and in what quantity) were used in a specific work order (pendiente). They link a product to a pendiente with cost details.List items for a pendiente
GET /api/productos/pendientes/{pendienteId}/items
Returns all active items associated with a specific work order.
The ID of the work order (pendiente) to retrieve items for.
Response fields
Item ID.
ID of the associated work order.
The product used.
Notes about this specific usage.
Quantity used.
Unit cost at time of use (may differ from current product cost).
Total cost:
cantidad × costoUnitario.Create a pendiente item
POST /api/productos/pendientes/items
Records a product as having been used in a work order.
ID of the work order.
ID of the product used.
Notes about this usage (e.g., installation details).
Quantity of the product used.
Unit cost at the time of use. Store the current price to preserve cost history.
Total cost. Should equal
cantidad × costoUnitario.Update a pendiente item
PUT /api/productos/pendientes/items/{id}
Updates an existing pendiente item (e.g., to correct quantity or cost).
Numeric ID of the pendiente item to update.
Delete a pendiente item
DELETE /api/productos/pendientes/items/{id}
Soft-deletes a pendiente item.
Numeric ID of the item to deactivate.