UpdateCustomerParameters
Parameters to update customer.
interface UpdateCustomerParameters {
accepts_product_review_abandoned_cart_emails?: boolean;
authentication?: Authentication;
company?: string;
email?: string;
first_name?: string;
last_name?: string;
phone?: string;
validation: ValidateCredentialsParameter;
}Properties
| Name | Required | Type | Description |
|---|---|---|---|
accepts_product_review_abandoned_cart_emails | Optional | boolean | It determines if the customer is signed up to receive product review or abandoned cart emails or recieve both emails. |
authentication | Optional | Authentication | Authentication information. |
company | Optional | string | The company of the customer. |
email | Optional | string | The email of the customer. Must be unique. |
first_name | Optional | string | The first name of the customer. |
last_name | Optional | string | The last name of the customer. |
phone | Optional | string | The phone number of the customer. |
validation | Required | ValidateCredentialsParameter | Validation object that holds customer credentials. The profile will update only if the credentials are valid |