Skip to main content

customerBulkUpdate Mutation

Updates customers.

Requires the MANAGE_USERSpermission.

Triggers the following webhook events:

  • CUSTOMER_UPDATED (async): A customer account was updated.
  • CUSTOMER_METADATA_UPDATED (async): Optionally called when customer's metadata was updated.
customerBulkUpdate(
customers: [CustomerBulkUpdateInput!]!
errorPolicy: ErrorPolicyEnum
): CustomerBulkUpdate
Show return type

Arguments

customers ● [CustomerBulkUpdateInput!]!

Input list of customers to update.

errorPolicy ● ErrorPolicyEnum

Policies of error handling. DEFAULT: REJECT_EVERYTHING

Type

CustomerBulkUpdate

Updates customers.

Requires the MANAGE_USERSpermission.

Triggers the following webhook events:

  • CUSTOMER_UPDATED (async): A customer account was updated.
  • CUSTOMER_METADATA_UPDATED (async): Optionally called when customer's metadata was updated.