customerAddressCreateMutation top-level constant
String
const customerAddressCreateMutation
Mutation to create a customer address
Implementation
const String customerAddressCreateMutation = 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!) {
customerAddressCreate(address: {address1: $address1, address2: $address2, company: $company, city: $city, country: $country, firstName: $firstName, lastName: $lastName, phone: $phone, province: $province, zip: $zip}, customerAccessToken: $customerAccessToken) {
customerAddress {
id
address1
address2
city
company
country
firstName
lastName
phone
province
zip
}
customerUserErrors {
message
field
code
}
}
}
''';