# Mutation: Patch customer
Update specific fields of a customer, like `email`.
See [Variables](360024906591) for how to pass in `String` data as arguments.
See [Errors](360018571372) for additional information about error cases.
Replace `<CUSTOMER_ID>` with a real customer id.
Operation
: ```graphql
mutation ($input: CustomerPatchInput!) {
customerPatch(input: $input) {
didSucceed
inputErrors {
path
code
message
}
customer {
id
email
}
}
}
```
Operation Variables
: ```graphql
{
"input": {
"id": "<CUSTOMER_ID>",
"email": "jdoe@example.com"
}
}
```