Skip to main content

customerBulkUpdate Mutation

Updates customers.

Requires 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

Arguments

customerBulkUpdate.customers ● [CustomerBulkUpdateInput!]! non-null input users

Input list of customers to update.

customerBulkUpdate.errorPolicy ● ErrorPolicyEnum enum miscellaneous

Policies of error handling. DEFAULT: REJECT_EVERYTHING

Type

CustomerBulkUpdate object users

Updates customers.

Requires 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.