Skip to main content

userAddressCreate

Create a new address for a user account.

Establishes a new address record associated with the specified user including address details, type designation, and validation. The address will be available for user operations immediately.

Possible errors:

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

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

userAddressCreate(
input: UserAddressCreateInput!
): Address!

Arguments

userAddressCreate.input ● UserAddressCreateInput! non-null input

User address creation data including address details and type.

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

Type

Address object