customerAddressUpdateMutation top-level constant
String
const customerAddressUpdateMutation
Mutation to update a customer address
Implementation
const String customerAddressUpdateMutation = r'''
mutation MyMutation($address1 : String, $address2 : String, $company : String, $city : String, $country : String, $firstName: String, $lastName : String, $phone : String, $province : String, $zip : String, $customerAccessToken : String!, $id : ID!) {
customerAddressUpdate(address: {address1: $address1, address2: $address2, company: $company, city: $city, country: $country, firstName: $firstName, lastName: $lastName, phone: $phone, province: $province, zip: $zip}, customerAccessToken: $customerAccessToken, id: $id) {
customerUserErrors {
code
field
message
}
}
}
''';