addressCreate Mutation
Creates user address.
Triggers the following webhook events:
- ADDRESS_CREATED (async): A new address was created.
Applied directives
@webhookEventsInfo(asyncEvents: [ADDRESS_CREATED], syncEvents: [])
addressCreate(input: AddressInput!, userId: ID!): AddressCreate
Returns
Show return type
type AddressCreate {
user: User
accountErrors: [AccountError!]! @deprecated(reason: "Use `errors` field instead.")
errors: [AccountError!]!
address: Address
}Arguments
input
input · AddressInput!
Fields required to create address.
userId
userId · ID!
ID of a user to create address for.
Schema: Saleor 3.23.43. Download SDL.