Skip to main content
Version: 3.x

accountSetDefaultAddress

Sets a default address for the authenticated user.

Requires one of the following permissions: AUTHENTICATED_USER.

accountSetDefaultAddress(
id: ID!
type: AddressTypeEnum!
): AccountSetDefaultAddress

Arguments

id (ID!)

ID of the address to set as default.

type (AddressTypeEnum!)

The type of address.

Type

AccountSetDefaultAddress

Sets a default address for the authenticated user.

Requires one of the following permissions: AUTHENTICATED_USER.