Base URL
All product endpoints are prefixed with:Available Endpoints
Create Product
Create a new product in the inventory
List Products
Retrieve all products with pagination
Update Prices
Bulk update product prices
Price History
View price change history for a product
Authentication
All product endpoints require authentication with role-based access control:- admin: Full access to all operations
- gestor: Can create, update, and view products
- consultor: Read-only access to product information
Product Schema
Products in the system have the following structure:Unique identifier for the product (UUID format)
Stock Keeping Unit - unique product code
Product name
Detailed product description
Product category for organization
Unit of measurement (e.g., “kg”, “liters”, “units”)
Value per unit (default: 1.0)
Indicates if product has expiration date (default: false)
Expiration date for perishable products
Recommended selling price
Common Query Parameters
Number of records to skip for pagination
Maximum number of records to return