Overview
The Products API allows you to manage your product catalog, including inventory tracking, pricing, categorization, and brand associations. Products can be organized using categories, subcategories, brands, and tags.The Product Object
Unique identifier for the product (UUID)
Product name (max 150 characters)
Detailed product description
Stock Keeping Unit - unique product identifier (max 50 characters)
Product barcode (max 50 characters)
Product price
Tax rate percentage (default: 21.0)
Current stock quantity (default: 0)
Minimum stock threshold for alerts (default: 0)
URL to product image (max 255 characters)
Product status:
activo or inactivo (default: activo)Associated brand ID (UUID)
Associated category ID (UUID)
Associated subcategory ID (UUID)
Populated brand object with
name fieldPopulated category object with
name fieldPopulated subcategory object with
name fieldArray of associated tags with
tag_id and name fieldsProduct creation timestamp
Last update timestamp
List Products
Query Parameters
Filter products by category ID
Filter products by subcategory ID
Filter products by brand ID
Search products by name, description, SKU, or barcode (partial match)
Response
Returns an array of product objects, ordered by creation date (newest first).Create Product
Body Parameters
Product name (max 150 characters)
Product description
Unique SKU (max 50 characters)
Product barcode (max 50 characters)
Product price
Tax rate percentage (default: 21.0)
Initial stock quantity (default: 0)
Minimum stock threshold (default: 0)
URL to product image
Product status:
activo or inactivoBrand ID to associate with product
Category ID to associate with product
Subcategory ID to associate with product
Array of tag IDs to associate with product
Response
Returns the created product object with populated relations.Get Product
Path Parameters
The unique product identifier
Response
Returns the product object with full brand, category, subcategory, and tags details.Error Responses
Product ID is required
Product not found
Update Product
Path Parameters
The unique product identifier
Body Parameters
All fields are optional. Only include the fields you want to update.Product name
Product description
Product SKU
Product barcode
Product price
Tax rate percentage
Stock quantity
Minimum stock threshold
Product image URL
Product status
Brand ID (use empty string or null to remove association)
Category ID (use empty string or null to remove association)
Subcategory ID (use empty string or null to remove association)
Array of tag IDs to associate. This replaces all existing tags.
When updating tags, the existing tag associations are completely replaced with the new array. To remove all tags, pass an empty array
[].Response
Returns the updated product object with populated relations.Delete Product
Path Parameters
The unique product identifier