Anchor to UserErrorsCustomerAddressUserErrorsUser
objectUser Errors Customer Address User Errors
The error codes that are provided for failed address mutations.
Anchor to FieldsFields
- code (UserErrorsCustomerAddressUserErrorsCode)
- field ([String!])
- message (String!)
- 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.
Was this section helpful?
Anchor to MutationsMutations
- customerAddressCreate (CustomerAddressCreatePayload)
- customerAddressDelete (CustomerAddressDeletePayload)
- customerAddressUpdate (CustomerAddressUpdatePayload)
- •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•Boolean
Address Default:false The flag to set the address as the default address.
Arguments
- •mutation
Deletes a specific address for a customer.
- Anchor to addressIdaddress•ID!
Id required The ID of the address to be deleted.
Arguments
- •mutation
Updates a specific address for a customer.
- Anchor to addressIdaddress•ID!
Id required The ID of the address to be updated.
- Anchor to addressaddress•Customer
Address Input Specifies the fields to use when updating the address.
- Anchor to defaultAddressdefault•Boolean
Address Default:null The flag to set the address as the default address.
Arguments
Was this section helpful?