Skip to main content
Version: 3.x

accountAddressCreate

Create a new address for the customer.

Requires AUTHENTICATED_USERpermission.

Triggers the following webhook events:

  • CUSTOMER_UPDATED (async): A customer account was updated.
  • ADDRESS_CREATED (async): An address was created.
accountAddressCreate(
input: AddressInput!
type: AddressTypeEnum
): AccountAddressCreate

Arguments

accountAddressCreate.input ● AddressInput! non-null input

Fields required to create address.

accountAddressCreate.type ● AddressTypeEnum enum

A type of address. If provided, the new address will be automatically assigned as the customer's default address of that type.

Type

AccountAddressCreate object

Create a new address for the customer.

Requires AUTHENTICATED_USERpermission.

Triggers the following webhook events:

  • CUSTOMER_UPDATED (async): A customer account was updated.
  • ADDRESS_CREATED (async): An address was created.

Was this page helpful?