Skip to main content

customerAddressCreate

Create a new address for a customer account.

Establishes a new address record associated with the specified customer including delivery, billing, and contact address details. The address will be available for customer operations immediately.

Possible errors:

  • ADDRESS_CREATE_ERROR: Failed to create the customer address in the backend service
  • ADDRESS_UNKNOWN_ERROR: Unknown error occurred during customer address creation
  • FORBIDDEN: Insufficient permissions to create customer addresses

AUTH: Role=[user.OWNER] OR (('user is authenticated') AND ('customerId if present in input matches JWT'))

customerAddressCreate(
input: CustomerAddressCreateInput!
): Address!

Arguments

customerAddressCreate.input ● CustomerAddressCreateInput! non-null input

Customer address creation data including address details and type.

Contains customer ID, address information, type designation, and all data needed to create a functional customer address.

Type

Address object