User Errors Customer Address User Errors
The error codes that are provided for failed address mutations.
Anchor to FieldsFields
- Anchor to codecode•User
Errors Customer Address User Errors Code The error code.
- Anchor to fieldfield•[String!]
The path to the input field that caused the error.
- Anchor to messagemessage•String!non-null
The error message.
Anchor to MutationsMutations
- •mutation
Creates a new address for a customer.
- Anchor to addressaddress•Customer
Address Input!required Specifies the fields to use when creating the address.
- Anchor to defaultAddressdefault•BooleanDefault:false
Address The flag to set the address as the default address.
Arguments
- Anchor to customerAddresscustomer•Customer
Address Address The created customer address.
- Anchor to userErrorsuser•[User
Errors Errors Customer Address User Errors!]!non-null The list of errors that occurred from executing the mutation.
Fields
- •mutation
Deletes a specific address for a customer.
- Anchor to addressIdaddress•ID!required
Id The ID of the address to be deleted.
Arguments
- Anchor to deletedAddressIddeleted•ID
Address Id The ID of the deleted address.
- Anchor to userErrorsuser•[User
Errors Errors Customer Address User Errors!]!non-null The list of errors that occurred from executing the mutation.
Fields
- •mutation
Updates a specific address for a customer.
- Anchor to addressaddress•Customer
Address Input Specifies the fields to use when updating the address.
- Anchor to addressIdaddress•ID!required
Id The ID of the address to be updated.
- Anchor to defaultAddressdefault•BooleanDefault:null
Address The flag to set the address as the default address.
Arguments
- Anchor to customerAddresscustomer•Customer
Address Address The updated address.
- Anchor to userErrorsuser•[User
Errors Errors Customer Address User Errors!]!non-null The list of errors that occurred from executing the mutation.
Fields