Update Product
update_productUpdate an existing product's attributes by providing its ID along with any optional fields to modify.
Instructions
Update an existing product by providing correct id(mandatory) as input along with with sku(optional), name(optional), description(optional but better to have), price(optional), and quantity(optional).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| sku | No | ||
| name | No | ||
| price | No | ||
| quantity | No | ||
| description | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| sku | Yes | ||
| name | Yes | ||
| price | Yes | ||
| quantity | Yes | ||
| created_at | No | ||
| updated_at | No | ||
| description | No |