Skip to main content

AddressCreate

Creates user address.

Requires MANAGE_USERSpermission.

Triggers the following webhook events:

  • ADDRESS_CREATED (async): A new address was created.
type AddressCreate {
user: User
accountErrors: [AccountError!]! @deprecated
errors: [AccountError!]!
address: Address
}

Fields

AddressCreate.user ● User object users

A user instance for which the address was created.

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

DEPRECATED

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

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

AddressCreate.address ● Address object users

Returned By

addressCreate mutation