Parameters
| Parameter | Description |
|---|---|
| Addresses | JSON array of address objects to set on the customer.Input example:[{"address1": "Chestnut Street 92","address2": "Apartment 2","city": "Louisville","company": null,"country": "united states","first_name": "Bob","id": 207119551,"last_name": "Norman","phone": "555-625-1199","province": "Kentucky","zip": "40202","province_code": "KY","country_code": "US","country_name": "United States","default": true}] |
| Customer ID | The ID of the customer to update. |
| Email Address | New email address of the customer. Must be unique, will error if a customer exists already with the email. |
| First Name | Customer’s first name. |
| Last Name | Customer’s last name. |
| Metafields | JSON array of metafields to set on the customer.Input example:[{ “key”:“new”, “value”:“newvalue”, “type”:“singlelinetext_field”, “namespace”:“global”}] |
| Note | An additional note to save on the customer. |
| Phone Number | E.164 formatted phone number of the customer. |
| Tags | Comma-separated list of tags to set on this customer. |