Update customer
phppos_update_customerWRITE: change fields of an existing customer; only the fields you pass are sent. Overwrites the current values. Needs a Read/Write API key. The store's 'edit customer' webhook, if configured, fires. POST /customers/{person_id}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zip | No | Postal code. | |
| city | No | City. | |
| No | Email address. | ||
| state | No | State or region. | |
| country | No | Country. | |
| taxable | No | Whether sales to this customer are taxed. | |
| comments | No | Comments. | |
| address_1 | No | Address line 1. | |
| address_2 | No | Address line 2. | |
| last_name | No | Last name. | |
| person_id | Yes | Customer person id (find it with phppos_list_customers). | |
| first_name | No | First name. | |
| company_name | No | Company name. | |
| phone_number | No | Phone number. | |
| account_number | No | Customer account number. | |
| internal_notes | No | Internal notes (not shown to the customer). |