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.
type CustomerBulkUpdate {
count: Int!
results: [CustomerBulkResult!]!
errors: [CustomerBulkUpdateError!]!
}

Fields

CustomerBulkUpdate.count ● Int! non-null scalar miscellaneous

Returns how many objects were created.

CustomerBulkUpdate.results ● [CustomerBulkResult!]! non-null object users

List of the updated customers.

CustomerBulkUpdate.errors ● [CustomerBulkUpdateError!]! non-null object users

Returned By

customerBulkUpdate mutation