update_product
Update an existing product's details, including name, price, currency, stock quantity, and description, by specifying its product ID.
Instructions
Update an existing product by ID
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The id of the product to update | |
| name | No | The name of the product | |
| price | No | The price of the product. Price should be in the subunit of the supported currency | |
| currency | No | The currency of the product | |
| quantity | No | Number of products in stock. This is required if unlimited is false. | |
| unlimited | No | Whether the product has an unlimited quantity. Set to true if the product has unlimited stock. Leave as false if the product has limited stock | |
| description | No | The description of the product |