CustomerUpdateInput
Input for updating an existing customer account. All fields are optional, allowing partial updates to customer profile information including personal details, contact information, and address data.
Input Definition
input CustomerUpdateInput {
firstName: String
lastName: String
phone: String
address1: String
address2: String
city: String
zipcode: String
country: String
region: String
company: String
vatNumber: String
companyId: String
acceptsMarketing: Boolean
}Fields
Example
mutation UpdateCustomer {
updateCustomer(input: {
firstName: "John"
lastName: "Doe"
phone: "+1-555-0123"
address1: "123 Main Street"
address2: "Suite 100"
city: "New York"
zipcode: "10001"
country: "US"
region: "NY"
company: "Acme Corp"
vatNumber: "IE1234567T"
companyId: "comp_98765"
acceptsMarketing: true
}) {
id
firstName
lastName
email
}
}Related Types
No related types provided in source material.