The Products API manages the Yakult catalog — the source of truth for what can be sold, at what price, and how much remains in stock. Each product is identified by a human-readable SKU that must be unique across the catalog. When an order is placed, stock is deducted automatically; use these endpoints to inspect or correct inventory levels at any time. No authentication is required on any products endpoint.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/160906/Yakultt-App/llms.txt
Use this file to discover all available pages before exploring further.
GET /api/productos
Returns the full product catalog ordered alphabetically by name, including current stock levels for every item. Products with a blank category are returned with"General" as the category value.
Example request
Unique numeric ID of the product.
Display name of the product.
Unique stock-keeping unit identifier.
Unit price in the local currency.
Available units currently in inventory.
Product category label. Blank categories are returned as
"General".ISO 8601 timestamp of when the product was added.
POST /api/productos
Adds a new product to the catalog. No authentication is required.Display name of the product, e.g.
"Yakult Original 65ml".Unique stock-keeping unit code, e.g.
"YKL-ORIG-65".Unit sale price in the local currency.
Initial inventory quantity.
Optional category label to group products. Defaults to
"General" if omitted or left blank.Auto-generated ID assigned to the new product.
Product name as stored.
SKU as stored.
Unit price as stored.
Initial stock as stored.
Category label as stored. Defaults to
"General" when not provided.PUT /api/productos/:id
Replaces all editable fields on an existing product. Supply all five fields —nombre, sku, precio, stock, and categoria. No authentication is required.
Numeric ID of the product to update.
Updated product name.
Updated SKU.
Updated unit price.
Updated stock level. Use this to manually correct inventory discrepancies.
Updated category label. Defaults to
"General" if omitted or left blank.DELETE /api/productos/:id
Permanently removes a product from the catalog. This action cannot be undone. No authentication is required.Numeric ID of the product to delete.