Actions23
Customer → Update
AI-generatedSummary
Update a customer in Shopify.
Inputs
- shopUrl (required) — The URL of the Shopify store
- accessToken (required) — The Admin API Access Token
- customerId (required) — The ID of the customer to update
- updateFields — Fields to update on the customer, such as first_name, last_name, email, phone, note, or tags
Output shape
a single updated customer record
The response contains the updated customer object returned by Shopify; fields not specified in updateFields remain unchanged.
Examples
Example 1: Update a customer's email and tags
shopUrl set to your-store.myshopify.com, accessToken set, customerId set, updateFields set to {"email":"new@example.com","tags":"VIP"}