customerUpdate
Updates an existing customer.
Triggers the following webhook events:
- CUSTOMER_UPDATED (async): A new customer account was updated.
- CUSTOMER_METADATA_UPDATED (async): Optionally called when customer's metadata was updated.
customerUpdate(
externalReference: String
id: ID
input: CustomerInput!
): CustomerUpdate
Arguments
customerUpdate.externalReference ● String scalar miscellaneous
External ID of a customer to update.
Added in Saleor 3.10
customerUpdate.id ● ID scalar miscellaneous
ID of a customer to update.
customerUpdate.input ● CustomerInput! non-null input users
Fields required to update a customer.
Type
CustomerUpdate object users
Updates an existing customer.
Triggers the following webhook events:
- CUSTOMER_UPDATED (async): A new customer account was updated.
- CUSTOMER_METADATA_UPDATED (async): Optionally called when customer's metadata was updated.