update_product_stock
Adjust product stock quantity in CS-Cart by specifying the product ID and new stock amount. Simplifies inventory management for e-commerce stores.
Instructions
Update product stock quantity
Input Schema
Name | Required | Description | Default |
---|---|---|---|
amount | Yes | New stock quantity | |
product_id | Yes | Product ID |
Input Schema (JSON Schema)
{
"properties": {
"amount": {
"description": "New stock quantity",
"type": "number"
},
"product_id": {
"description": "Product ID",
"type": "number"
}
},
"required": [
"product_id",
"amount"
],
"type": "object"
}