customerAddressCreate

Creates a new address for a customer.

Required access

unauthenticated_write_customers access scope

Arguments

address ( MailingAddressInput! ) required

The customer mailing address to create.

customerAccessToken ( String! ) required

The access token used to identify the customer.

Return Fields

customerAddress (MailingAddress)

The new customer address object.

customerUserErrors ([CustomerUserError!]!)

List of errors that occurred executing the mutation.

Deprecated return fields

Show/Hide
userErrors ([UserError!]!) deprecated

List of errors that occurred executing the mutation.

Deprecation warning

Use customerUserErrors instead

Creates a new address for a customer.

Required access

unauthenticated_write_customers access scope

Arguments

address ( MailingAddressInput! ) required

The customer mailing address to create.

customerAccessToken ( String! ) required

The access token used to identify the customer.

Return Fields

customerAddress (MailingAddress)

The new customer address object.

customerUserErrors ([CustomerUserError!]!)

List of errors that occurred executing the mutation.

Deprecated return fields

Show/Hide
userErrors ([UserError!]!) deprecated

List of errors that occurred executing the mutation.

Deprecation warning

Use customerUserErrors instead

Sign up for a Partner account to get started.

Sign up