Skip to main content

customerBulkUpdate

Updates customers.

Added in Saleor 3.13
This API is currently in Feature Preview and can be subject to changes at later point.
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.

Added in Saleor 3.13
This API is currently in Feature Preview and can be subject to changes at later point.
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.