Create category
loyverse_create_categoryCreate a new product category in Loyverse by submitting category fields via POST. If a 400 error occurs, adjust the fields and retry.
Instructions
Create a new category in Loyverse (POST /categories). 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": {
"body": "<body>"
},
"name": "loyverse_create_category"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | The category fields, per the Loyverse API schema. |