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}.
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 |