update_customer
Modify customer profile fields such as email, name, phone, tags, and note. Provide only the fields to update; omitted fields stay unchanged. Tags are a full replacement.
Instructions
Update an existing customer's profile fields — email, name, phone, tags, internal note. Only provide fields you want changed; omitted fields stay as-is. Tags is a full replacement (use add_tags / remove_tags for additive/subtractive changes). Email and phone changes still need to satisfy the per-store uniqueness constraint. To change addresses, use Shopify's address-specific mutations (not yet exposed by this server). To change marketing consent, the dedicated customerEmailMarketingConsentUpdate mutation is preferred.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Customer GID or numeric ID. Get one from list_customers. | |
| No | New email. Must remain unique. | ||
| firstName | No | ||
| lastName | No | ||
| phone | No | New phone in E.164 format. | |
| tags | No | New tag set. REPLACES all existing tags. Use add_tags / remove_tags for additive/subtractive changes that preserve other tags. | |
| note | No | New internal staff note. Replaces prior note. |