Skip to main content
Anchor to UserErrorsCustomerAddressUserErrors

UserErrorsCustomerAddressUserErrors

object

The error codes that are provided for failed address mutations.

•UserErrorsCustomerAddressUserErrorsCode

The error code.

•[String!]

The path to the input field that caused the error.

•String!non-null

The error message.


Was this section helpful?

•mutation

Creates a new address for a customer.

Arguments

•CustomerAddressInput!required

Specifies the fields to use when creating the address.

•BooleanDefault:false

The flag to set the address as the default address.


Fields

•CustomerAddress

The created customer address.

•[UserErrorsCustomerAddressUserErrors!]!non-null

The list of errors that occurred from executing the mutation.

•mutation

Deletes a specific address for a customer.

Arguments

•ID!required

The ID of the address to be deleted.


Fields

•ID

The ID of the deleted address.

•[UserErrorsCustomerAddressUserErrors!]!non-null

The list of errors that occurred from executing the mutation.

•mutation

Updates a specific address for a customer.

Arguments

•CustomerAddressInput

Specifies the fields to use when updating the address.

•ID!required

The ID of the address to be updated.

•BooleanDefault:null

The flag to set the address as the default address.


Fields

•CustomerAddress

The updated address.

•[UserErrorsCustomerAddressUserErrors!]!non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?


Was this section helpful?