Update Customer
Customers
Update Customer
Update an existing customer
PUT
Update Customer
Update Customer
Updates an existing customer’s information. Only include the fields you want to update.Request
Path Parameters
The unique customer ID
Body Parameters
All body parameters are optional. Only include the fields you want to update.Customer email address
Customer’s first name
Customer’s last name
Customer’s phone number
Marketing opt-in status
Array of tags (replaces existing tags)
Internal notes about the customer
Whether customer is exempt from taxes
Array of addresses to add or update
Response
Whether the request succeeded
The updated customer object
Example Response
Deleting Addresses
To delete an address, use the dedicated endpoint:Error Codes
| Code | Description |
|---|---|
UNAUTHORIZED | Invalid or missing access token |
FORBIDDEN | App doesn’t have write_customers scope |
NOT_FOUND | Customer with the specified ID does not exist |
VALIDATION_ERROR | Invalid request body |
DUPLICATE_EMAIL | Email already in use by another customer |