Skip to main content
Version: 3.x

AddressSetDefault

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

An updated user instance.

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

DEPRECATED

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

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

Returned by

addressSetDefault mutation


Was this page helpful?