Skip to main content
PUT
Update Customer

Update Customer

Updates an existing customer’s information. Only include the fields you want to update.

Request

Path Parameters

id
string
required
The unique customer ID

Body Parameters

All body parameters are optional. Only include the fields you want to update.
email
string
Customer email address
first_name
string
Customer’s first name
last_name
string
Customer’s last name
phone
string
Customer’s phone number
accepts_marketing
boolean
Marketing opt-in status
tags
array
Array of tags. Accepted by the request but not persisted — a customer record has no tags field.
note
string
Internal notes about the customer
addresses
array
Array of address objects. Only the first address is persisted, and only its flat fields (address1, city, province, country, zip) are stored on the customer record — there is no separate addresses collection.

Response

The response is a bare object keyed by customer containing the updated, Shopify-shaped customer object (the same shape returned by the read endpoints). There is no { success, data } envelope.
customer
object
The updated customer object

Example Response

Errors

Errors are returned as a Shopify-style { "errors": { "base": ["..."] } } body with the corresponding HTTP status code.
StatusDescription
401Invalid or missing access token
403App doesn’t have the write_customers scope
404Customer with the specified ID does not exist