customerUpdate Mutation
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
Show return type
Arguments
externalReference ● String
External ID of a customer to update.
id ● ID
ID of a customer to update.
input ● CustomerInput!
Fields required to update a customer.
Type
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.