Create webhook
loyverse_create_webhookCreate a Loyverse webhook to receive real-time notifications for store events. If a 400 error occurs, adjust the fields and retry.
Instructions
Create a new webhook in Loyverse (POST /webhooks). 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_webhook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | The webhook fields, per the Loyverse API schema. |