update_inventory
Update a listing's inventory by replacing all products. Retrieve current inventory with get_inventory, then modify as needed.
Instructions
Update the full inventory for a listing. You must provide ALL products (replaces entire inventory). Get current state with get_inventory first, then modify only what you need.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"listing_id": "<listing_id>",
"products": "<products>"
},
"name": "update_inventory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| products | Yes | Full product list. Each product has offerings (price+quantity). | |
| listing_id | Yes | ||
| sku_on_property | No | ||
| price_on_property | No | ||
| quantity_on_property | No |