Skip to content

customerInformationUpdate

Mutationin Customer

Update customer billing address information

Arguments

ArgumentTypeDescription
billingAddressAddressInput!

Returns

CustomerInformationUpdateResponse!

FieldTypeDescription
customerCustomerUpdated customer account information
customerErrors[CustomerInformationUpdateError!]Error details if update failed

Example

mutation {
customerInformationUpdate(billingAddress: {
givenName: "John"
familyName: "Doe"
streetName: "Main Street"
streetNumber: "123"
city: "Amsterdam"
postalCode: "1000AA"
country: "NL"
}) {
customer {
id
billingAddress {
givenName
familyName
city
}
}
customerErrors {
... on ValidationError {
message
}
}
}
}

The query is the example the schema documents. The response shows its shape with placeholder values.

Served by

@evolve-framework/commercetoolsResolved
@evolve-framework/medusaResolved
@evolve-framework/sfccStub: answers Not implemented