Updates multiple services by filter.
Refer to the supported filters article (REST) for more details.
See Update Service (SDK | REST) for more details about updating a service.
The call succeeds even if one or more individual services can't be updated.
Information about failures is returned in bulkActionMetadata
.
You can only call this method when authenticated as a Wix app or Wix user identity.
function bulkUpdateServicesByFilter(
filter: Record<string, any>,
options: BulkUpdateServicesByFilterOptions,
): Promise<BulkUpdateServicesByFilterResponse>;
Filter to identify the services to update.
import { services } from "@wix/bookings";
async function bulkUpdateServicesByFilter(filter, options) {
const response = await services.bulkUpdateServicesByFilter(filter, options);
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.