Skip to main content
Anchor to customerAddressCreate

customerAddressCreate

mutation

Requires unauthenticated_write_customers access scope.

Creates a new MailingAddress for a Customer. Use the customer's access token to identify them. Successful creation returns the new address.

Each customer can have multiple addresses.

•MailingAddressInput!
required

The customer mailing address to create.

Show input fields
•String!
required

The access token used to identify the customer.


Was this section helpful?

Anchor to CustomerAddressCreatePayload returnsCustomerAddressCreatePayload returns

•MailingAddress

The new customer address object.

Show fields
•[CustomerUserError!]!
non-null

The list of errors that occurred from executing the mutation.

Show fields
•[UserError!]!
non-nullDeprecated

The list of errors that occurred from executing the mutation.

Show fields

Was this section helpful?