AccountSetDefaultAddress Object
Sets a default address for the authenticated user.
Triggers the following webhook events:
- CUSTOMER_UPDATED (async): A customer’s address was updated.
Applied directives
@webhookEventsInfo(asyncEvents: [CUSTOMER_UPDATED], syncEvents: [])
type AccountSetDefaultAddress {
user: User
accountErrors: [AccountError!]! @deprecated(reason: "Use `errors` field instead.")
errors: [AccountError!]!
}
Fields
user
user · User
An updated user instance.
accountErrors
accountErrors · [AccountError!]!
errors
errors · [AccountError!]!
Used by
Schema: Saleor 3.23.43. Download SDL.