Update item
loyverse_update_itemUpdate an existing item in Loyverse by providing the complete set of required fields—not just the changes—to prevent API rejection.
Instructions
Update an existing item (POST /items with "id" set — Loyverse uses the same create endpoint for updates when "id" is present in the body). This is not a partial patch: include all required fields for this resource, not just the ones changing, or Loyverse will reject the request. Field names follow the Loyverse API v1.0 (developer.loyverse.com/docs). If a call fails with a 400, the error message from Loyverse is returned verbatim — adjust the fields and retry.
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": {
"id": "<id>",
"body": "<body>"
},
"name": "loyverse_update_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The item id. | |
| body | Yes | Full set of fields for the item (required fields included, not just the ones changing). |