List Items
Query Parameters
Filter by item type:
INSUMO (ingredient), PRODUCTO (finished product), or ACTIVO (asset)Filter by inventory tracking status
Filter by perishability (items with expiration dates)
Filter by active status
Search by SKU or name (case-insensitive partial match)
Number of items per page
Response
Pagination metadata (current_page, last_page, per_page, total)
Example Response
Create Item
Request Body
Unique SKU code (auto-uppercased, max 100 chars)
Item name (max 255 chars)
Item type:
INSUMO, PRODUCTO, or ACTIVOItem description
Track in inventory
Has expiration date
Active status
Response
Returns the created item object with status201.
Errors
422- Validation error (duplicate SKU, invalid type, etc.)403- Insufficient permissions
Get Item
Path Parameters
Item ID
Response
Errors
404- Item not found
Update Item
Path Parameters
Item ID
Request Body
All fields are optional. Only provided fields will be updated.SKU code (must be unique)
Item name
Description
Type:
INSUMO, PRODUCTO, or ACTIVOTrack in inventory
Has expiration
Active status
Response
Returns the updated item object with status200.
Errors
404- Item not found422- Validation error403- Insufficient permissions
Delete Item
Path Parameters
Item ID
Response
Errors
404- Item not found409- Cannot delete - item has variants. Delete all variants first.403- Insufficient permissions
Items with variants cannot be deleted. Remove all variants before deleting the parent item.