AccountAddressCreate
Create a new address for the customer.
Requires one of following set of permissions: AUTHENTICATED_USER or AUTHENTICATED_APP + IMPERSONATE_USER.
Triggers the following webhook events:
- CUSTOMER_UPDATED (async): A customer account was updated.
- ADDRESS_CREATED (async): An address was created.
type AccountAddressCreate {
user: User
accountErrors: [AccountError!]! @deprecated
errors: [AccountError!]!
address: Address
}
Fields
AccountAddressCreate.user ● User object users
A user instance for which the address was created.
AccountAddressCreate.accountErrors ● [AccountError!]! deprecated non-null object users
DEPRECATEDThis field will be removed in Saleor 4.0. Use
errorsfield instead.
AccountAddressCreate.errors ● [AccountError!]! non-null object users
AccountAddressCreate.address ● Address object users
Returned By
accountAddressCreate mutation