Update customer
Update a customer.
Authentication
AuthorizationBearer
Authorization using a Mailchimp API key (a.k.a. Bearer token)
OR
AuthorizationBearer
Authorization using OAuth
Path parameters
store_id
The store id.
customer_id
The id for the customer of a store.
Request
This endpoint expects an object.
id
A unique identifier for the customer. Limited to 50 characters.
address
The customer's address.
company
The customer's company.
first_name
The customer's first name.
last_name
The customer's last name.
opt_in_status
The customer's opt-in status. This value will never overwrite the opt-in status of a pre-existing Mailchimp list member, but will apply to list members that are added through the e-commerce API endpoints. Customers who don't opt in to your Mailchimp list will be added as Transactional members.
total_spent
Response
_links
A list of link types and descriptions for the API schema documents.
address
The customer's address.
company
The customer's company.
created_at
The date and time the customer was created in ISO 8601 format.
email_address
The customer's email address.
first_name
The customer's first name.
id
A unique identifier for the customer.
last_name
The customer's last name.
opt_in_status
The customer's opt-in status. This value will never overwrite the opt-in status of a pre-existing Mailchimp list member, but will apply to list members that are added through the e-commerce API endpoints. Customers who don't opt in to your Mailchimp list will be added as Transactional members.
orders_count
The customer's total order count.
sms_phone_number
A US phone number for SMS contact.
total_spent
updated_at
The date and time the customer was last updated in ISO 8601 format.