Skip to main content

AddressSetDefault Object

Sets a default address for the given user.

Requires MANAGE_USERSpermission.

Triggers the following webhook events:

  • CUSTOMER_UPDATED (async): A customer was updated.
type AddressSetDefault {
user: User
accountErrors: [AccountError!]! @deprecated
errors: [AccountError!]!
}

Fields

AddressSetDefault.user ● User object users

An updated user instance.

AddressSetDefault.accountErrors ● [AccountError!]! deprecated non-null object users

DEPRECATED

This field will be removed in Saleor 4.0. Use errors field instead.

AddressSetDefault.errors ● [AccountError!]! non-null object users

Returned By

addressSetDefault mutation