Request body schema for PUT v1/customers/{customerId}
.
Name | Type | Description |
---|---|---|
name | String | Customer's first and last name. |
description | String | An arbitrary string that you can attach to a customer object. |
String | Customer's email address. | |
phone | String | Customer's phone number. This parameter is mandatory when you try to send out codes to customers via an SMS channel. |
birthday | LocalDate | `Deprecated`. |
birthdate | LocalDate | Customer's birthdate; format YYYY-MM-DD. |
address | CustomersUpdateRequestBodyAddress | |
metadata | Object | A set of custom key/value pairs that you can attach to a customer. The metadata object stores all custom attributes assigned to the customer. It can be useful for storing additional information about the customer in a structured format. This metadata can be used for validating whether the customer qualifies for a discount or it can be used in building customer segments. |