Skip to main content
Anchor to UserErrorsCustomerAddressUserErrors

UserErrorsCustomerAddressUserErrors

object

Requires customer_read_customers access scope.

The error codes that are provided for failed address mutations.

•UserErrorsCustomerAddressUserErrorsCode

The error code.

Show enum values
•[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.

Show payload

Arguments

•CustomerAddressInput!
required

Specifies the fields to use when creating the address.

Show input fields
•Boolean
Default:false

The flag to set the address as the default address.


•mutation

Deletes a specific address for a customer.

Show payload

Arguments

•ID!
required

The ID of the address to be deleted.

•Boolean
Default:false

Whether to delete the address when it's the customer's default address. When true, another of the customer's remaining addresses becomes the default, or the customer has no default address if none remain.


•mutation

Updates a specific address for a customer.

Show payload

Arguments

•CustomerAddressInput

Specifies the fields to use when updating the address.

Show input fields
•ID!
required

The ID of the address to be updated.

•Boolean
Default:null

The flag to set the address as the default address.



Was this section helpful?


Was this section helpful?