accountSetDefaultAddress
Sets a default address for the authenticated user.
Triggers the following webhook events:
- CUSTOMER_UPDATED (async): A customer's address was updated.
accountSetDefaultAddress(
id: ID!
type: AddressTypeEnum!
): AccountSetDefaultAddress
Arguments
accountSetDefaultAddress.id
● ID!
non-null scalar miscellaneous
ID of the address to set as default.
accountSetDefaultAddress.type
● AddressTypeEnum!
non-null enum miscellaneous
The type of address.
Type
AccountSetDefaultAddress
object users
Sets a default address for the authenticated user.
Triggers the following webhook events:
- CUSTOMER_UPDATED (async): A customer's address was updated.