customerAddressCreate

Required access

unauthenticated_write_customers access scope

Creates a new address for a customer.

Interactive Example

This is an example mutation query. Use the embedded interactive tool below to edit the query.

Hint: use Ctrl + Space for autocompleting fields.


Arguments

Argument Type Default Description
address required MailingAddressInput!

The customer mailing address to create.

customerAccessToken required String!

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