Updates a customer profile.
PUT
/v2/customers/{customer_id}
Updates a customer profile.
To change an attribute, specify the new value. To remove an attribute, specify the value as an empty string or empty object.
As a best practice, you should include the version
field in the request to enable optimistic concurrency control. The value must be set to the current version of the customer profile.
To update a customer profile that was created by merging existing profiles, you must use the ID of the newly created profile.
You cannot use this endpoint to change cards on file. To make changes, use the Cards API or Gift Cards API.
The given name (that is, the first name) associated with the customer profile.
The family name (that is, the last name) associated with the customer profile.
An optional second ID used to associate the customer profile with an entity in another system.
The birthday associated with the customer profile, in RFC 3339 format. The year is optional. The timezone and time are not allowed. For example, 0000-09-21T00:00:00-00:00
represents a birthday on September 21 and 1998-09-21T00:00:00-00:00
represents a birthday on September 21, 1998. You can also specify this value in YYYY-MM-DD
format.
The current version of the customer profile.
As a best practice, you should include this field to enable optimistic concurrency control. For more information, see Update a customer profile.