Update customer
easystore_update_customerWRITE. Change fields of an existing customer; only the fields you pass change. Needs write_customers. PUT /api/3.0/customers/{id}.json.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | Your own customer code. | |
| No | Email (unique per store). | ||
| phone | No | Phone number, e.g. +60192233445. | |
| gender | No | Gender. | |
| groups | No | Group names to assign, e.g. ["VIP"]. | |
| birthdate | No | yyyy-mm-dd. | |
| last_name | No | Last name. | |
| first_name | No | First name. | |
| customer_id | Yes | EasyStore customer id. | |
| country_code | No | Two-letter country code, e.g. MY. |