Skip to content
Saleor
Esc
↑↓navigate↵open⌘Jpreview

Schema: Saleor 3.23.43Download SDLUpgrade guides

On this page

customerBulkUpdate Mutation

Updates customers.

Requires one of the following permissions:MANAGE_USERS

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.

Applied directives

@webhookEventsInfo(asyncEvents: [CUSTOMER_UPDATED, CUSTOMER_METADATA_UPDATED], syncEvents: [])
customerBulkUpdate(customers: [CustomerBulkUpdateInput!]!, errorPolicy: ErrorPolicyEnum): CustomerBulkUpdate

Returns

CustomerBulkUpdate

Show return type
type CustomerBulkUpdate {
  count: Int!
  results: [CustomerBulkResult!]!
  errors: [CustomerBulkUpdateError!]!
}

Arguments

customers

customers · [CustomerBulkUpdateInput!]!

Input list of customers to update.

errorPolicy

errorPolicy · ErrorPolicyEnum

Policies of error handling. DEFAULT: REJECT_EVERYTHING


Schema: Saleor 3.23.43. Download SDL.

Last updated on April 13, 2026

Was this page helpful?