Actions36
- 📦 Producto Actions
- 📊 Stock Actions
- 📋 Movimiento Actions
- 🛒 Venta Actions
- 📥 Recepción Actions
- 📥 Borrador Recepción (n8n) Actions
- 📝 Borrador (texto) Actions
- 🤖 Propuesta IA Actions
- 🏭 Bodega Actions
- 👤 Cliente Actions
- 📚 Catálogo Actions
- 📰 Reportes (legacy) Actions
📦 Producto → Actualizar Producto
AI-generatedSummary
Updates an existing Ditextil product by ID via PATCH /api/products/{id}, sending only the fields you fill in, and returns the updated product record.
Inputs
- productId (required) — Numeric ID of the product to update; used in the request path.
- productNameUpdate — New product name (sent as
name). - sku — SKU value.
- categoryName — Category by name (sent as category_name).
- supplierName — Supplier by name (sent as supplier_name).
- categoryId — Category chosen from a loaded list (category_id).
- supplierId — Supplier chosen from a loaded list (supplier_id).
- systemName — System name.
- matcherCode — Matcher code, e.g. patrio, ande.
- matcherType — Matcher type, e.g. PATRIOT, ANDES.
- description — Product description.
- colorFamily — Color family, e.g. black, grey, red.
- whatsappName — Name used for WhatsApp.
- productStatus — Status: active, inactive or draft. Defaults to active, so it is always sent unless changed; set it deliberately to avoid reactivating a product.
- catalogStatus — Catalog status: no change (empty), active or inactive.
- salesPrice — Sales price. Default 0 is sent as-is, since 0 isn't treated as empty.
- costPrice — Cost price. Default 0 is sent as-is.
- barcode — Barcode.
- odooId — Odoo ID; omitted if 0.
- originalImageUrl — Original image URL; Google Drive file links are normalized to https://drive.google.com/uc?id=...
- catalogImageUrl — Catalog image URL; Drive links are normalized the same way.
- metersPerRoll — Meters per roll. Default 30 is sent every time.
- minStock — Minimum stock. Default 0 is sent.
- maxStock — Maximum stock. Default 0 is sent.
- locationGrid — Physical location, e.g. Pasillo A - Estante 2.
- fields — Comma-separated list of fields to return (also passed as a query parameter and applied client-side).
Output shape
One item per input item containing the updated product object returned by the API, optionally reduced to the requested fields.
Empty strings are omitted from the body, but numeric defaults (salesPrice, costPrice, minStock, maxStock = 0; metersPerRoll = 30; productStatus = active) are always sent and may overwrite existing values. With Continue On Fail enabled, errors are returned as an item with an
errormessage.
Examples
Example 1: Change a product's sales price and deactivate it
productId=15, salesPrice=12.5, productStatus=inactive, fields='id, sales_price, status'
Example 2: Reassign a product to a category and supplier
productId=42, categoryId and supplierId picked from the dropdowns
Example 3: Set a catalog image from a Drive share link
productId=7, catalogImageUrl=https://drive.google.com/file/d/