update_customer
Update customer details like name, email, phones, or address by ID or external ID, sending only the fields you provide for a targeted edit.
Instructions
Edit an existing customer (name, email, phones, address) by id or externalId. Only the fields you pass are sent. Returns {success}.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| by | No | Lookup field | id |
| id | Yes | Customer ID or externalId to edit | |
| site | No | Site (store) symbolic code. Required on create/edit when the API key is scoped to multiple sites (see list_sites). | |
| No | Updated email | ||
| phones | No | Replace phone numbers | |
| last_name | No | Updated last name | |
| first_name | No | Updated first name | |
| patronymic | No | Updated patronymic | |
| address_city | No | Updated city | |
| address_text | No | Updated full address text | |
| address_region | No | Updated region/state |