Skip to main content
Anchor to customerAddressCreate

customerAddressCreate

mutation

Requires write_customers access scope.

Create a new customer address.

MailingAddressInput!required

Specifies the fields to use when creating the address.

ID!required

The ID of the customer.

Boolean

Whether to set the address as the customer's default address.


Was this section helpful?

Anchor to CustomerAddressCreatePayload returnsCustomerAddressCreatePayload returns

MailingAddress

The created address.

[UserError!]!non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?