Create customer
loyverse_create_customerAdd a customer to Loyverse via the API. Send customer fields; on error, the API message indicates what to fix.
Instructions
Create a new customer in Loyverse (POST /customers). 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_customer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | The customer fields, per the Loyverse API schema. |