Skip to main content
Version: 3.x

addressSetDefault

Sets a default address for the given user.

Requires one of the following permissions: MANAGE_USERS.

addressSetDefault(
addressId: ID!
type: AddressTypeEnum!
userId: ID!
): AddressSetDefault

Arguments

addressSetDefault.addressId ● ID! non-null scalar

ID of the address.

addressSetDefault.type ● AddressTypeEnum! non-null enum

The type of address.

addressSetDefault.userId ● ID! non-null scalar

ID of the user to change the address for.

Type

AddressSetDefault object

Sets a default address for the given user.

Requires one of the following permissions: MANAGE_USERS.