create_customer
Create a new customer record with name, contact details, and address. Returns success status and customer ID.
Instructions
Create a customer with name, contacts, address, optional externalId. Returns {success, id}.
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": {
"first_name": "<first_name>"
},
"name": "create_customer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | No | Site (store) symbolic code. Required on create/edit when the API key is scoped to multiple sites (see list_sites). | |
| No | Customer email | ||
| phones | No | Array of phone numbers | |
| last_name | No | Customer last name | |
| first_name | Yes | Customer first name | |
| patronymic | No | Customer patronymic (middle name) | |
| external_id | No | External system ID for linking | |
| address_city | No | City | |
| address_text | No | Full address as free text | |
| address_region | No | Region/state |