Update Product
update_productUpdate an existing product by sending only the fields to change. Specify the product ID and any fields to update.
Instructions
Update an existing product using PATCH semantics. Only the provided fields will be changed. Example: id='abc123', unitPrice=2000, taxRate=21 / Actualiza un producto existente. Solo se modifican los campos proporcionados.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Product ID / ID del producto | |
| name | No | Name / Nombre | |
| unitPrice | No | Unit price / Precio unitario | |
| description | No | Description / Descripcion | |
| taxRate | No | Tax rate % / IVA % |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| name | Yes | ||
| unitPrice | Yes | ||
| description | No | ||
| taxRate | No | ||
| createdAt | No | ||
| updatedAt | No |