AccountSetDefaultAddress
Sets a default address for the authenticated user.
Triggers the following webhook events:
- CUSTOMER_UPDATED (async): A customer's address was updated.
type AccountSetDefaultAddress {
user: User
accountErrors: [AccountError!]! @deprecated
errors: [AccountError!]!
}
Fields
AccountSetDefaultAddress.user
● User
object users
An updated user instance.
AccountSetDefaultAddress.accountErrors
● [AccountError!]!
deprecated non-null object users
DEPRECATEDThis field will be removed in Saleor 4.0. Use
errors
field instead.
AccountSetDefaultAddress.errors
● [AccountError!]!
non-null object users
Returned By
accountSetDefaultAddress
mutation