update_product
Modify product details in CS-Cart MCP Server, including name, price, description, stock, and status, by specifying the product ID and desired updates.
Instructions
Update an existing product
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | No | Product quantity in stock | |
| category_ids | No | Array of category IDs | |
| description | No | Product description | |
| full_description | No | Full product description | |
| price | No | Product price | |
| product | No | Product name | |
| product_id | Yes | Product ID to update | |
| shipping_freight | No | Shipping cost | |
| status | No | Product status (A=Active, D=Disabled, H=Hidden) | |
| weight | No | Product weight |
Input Schema (JSON Schema)
{
"properties": {
"amount": {
"description": "Product quantity in stock",
"type": "number"
},
"category_ids": {
"description": "Array of category IDs",
"items": {
"type": "number"
},
"type": "array"
},
"description": {
"description": "Product description",
"type": "string"
},
"full_description": {
"description": "Full product description",
"type": "string"
},
"price": {
"description": "Product price",
"type": "number"
},
"product": {
"description": "Product name",
"type": "string"
},
"product_id": {
"description": "Product ID to update",
"type": "number"
},
"shipping_freight": {
"description": "Shipping cost",
"type": "number"
},
"status": {
"description": "Product status (A=Active, D=Disabled, H=Hidden)",
"enum": [
"A",
"D",
"H"
],
"type": "string"
},
"weight": {
"description": "Product weight",
"type": "number"
}
},
"required": [
"product_id"
],
"type": "object"
}