> To build or manage a Wix site with an AI agent, follow https://www.wix.com/headless/skill.md
> It builds a new Wix site or puts your own site online, from a prompt, and keeps changing it afterwards. The pages are code in any web technology, and Wix runs the backend.
> It works through the Wix plugin (the Wix MCP and the Wix skills), the Wix CLI or no Wix login, and puts the site live on Wix hosting or on another host.
> Business features include a store, bookings, events and tickets, a restaurant, a blog, forms, members and many more.
> Read the Wix skills online at https://www.wix.com/skills
> 
> Portal Navigation:
> 
> - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version.
> - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages).
> - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`).
> - If a reference page seems to be missing its schema (parameters, return types, or type definitions), append `?schema=true` to its `.md` URL (e.g. `https://dev.wix.com/docs/contexts/contexts/stores/category-info/use-category-info-context.md?schema=true`).
> - Top-level index of all portals: https://dev.wix.com/docs/llms.txt
> - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt

# BulkUpdateServicesByFilter

# Package: services

# Namespace: ServicesService

# Method link: https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/services-v2/bulk-update-services-by-filter.md

## Permission Scopes:
Manage Bookings: SCOPE.DC-BOOKINGS.MANAGE-BOOKINGS

## Introduction

Updates multiple services by filter.


See [Query Services](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/services-v2/query-services.md) for a list of supported filters.

See [Update Service](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/services-v2/update-service.md) 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`.

---

## REST API

### Schema

```
 Method: bulkUpdateServicesByFilter
 Description: Updates multiple services by filter.   See [Query Services](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/services-v2/query-services.md) for a list of supported filters.  See [Update Service](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/services-v2/update-service.md) 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`.
 URL: https://www.wixapis.com/bookings/v2/bulk/services/update-by-filter
 Method: POST
 # Note: If the parameter `a.b` is listed under required parameters, `b` is only required if `a` is also present.
 Required parameters:  filter, service
 Method parameters: 
   param name: filter | type: filter | description: Filter to identify the services to update. | required: true 
   param name: service | type: Service | description: The `service` object represents an offering that a business provides to its customers. | required: true 
        - name: appId | type: string | description: GUID of the app associated with the service. You can't update `appId`. Services are displayed in Wix Bookings only if they are associated with the Wix Bookings appId or have no associated app GUID. Default: `13d21c63-b5ec-5912-8397-c3a5ddb27a97` (Wix Bookings app GUID) For services from Wix apps, the following values apply: - Wix Bookings: `"13d21c63-b5ec-5912-8397-c3a5ddb27a97"` - Wix Services: `"cc552162-24a4-45e0-9695-230c4931ef40"` - Wix Meetings: `"6646a75c-2027-4f49-976c-58f3d713ed0f"`.<!-- [Scheduling Form Fields](https://dev.wix.com/docs/api-reference/business-solutions/bookings/about-scheduling-form-fields.md) services also use this app GUID. Use `createdByAppId` to distinguish between Wix Meetings and Scheduling Form Fields services.--> [Full list of apps created by Wix](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/platform/about-apps-created-by-wix.md). <!-- TODO: Uncomment when Platform docs are published - Learn more about [app identity in the Bookings Platform](https://dev.wix.com/docs/api-reference/business-solutions/bookings/bookings-platform/app-identity-in-the-bookings-platform.md). -->  | validation: format GUID, immutable
        - name: type | type: ServiceType | description: Service type. Learn more about [service types](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/about-service-types.md).  
             - enum:
             -     APPOINTMENT: Appointment-based service.
             -     CLASS: Class service.
             -     COURSE: Course service.
        - name: sortOrder | type: integer | description: Order of the service within a [category](https://dev.wix.com/docs/rest/business-solutions/bookings/services/categories-v1/category-object.md).  | validation: format int32
        - name: name | type: string | description: Service name.  | validation: minLength 1, maxLength 400
        - name: description | type: string | description: Service description. For example, `High-class hair styling, cuts, straightening and color`.  | validation: maxLength 7000
        - name: tagLine | type: string | description: Short service description, such as `Hair styling`.  | validation: maxLength 6000
        - name: defaultCapacity | type: integer | description: Default maximum number of customers that can book the service. The service cannot be booked beyond this capacity.  | validation: minimum 1, maximum 1000, format int32
        - name: media | type: Media | description: Media associated with the service.  
           - name: items | type: array<MediaItem> | description: Media items associated with the service.  | validation: maxItems 100
              - ONE-OF: 
                 - name: image | type: Image | description: Details of the image associated with the service, such as URL and size.  
                    - name: id | type: string | description: WixMedia image GUID. (e.g. "4b3901ffcb8d7ad81a613779d92c9702.jpg")  | validation: maxLength 2048
                    - name: url | type: string | description: Image URL. (similar to image.id e.g. "4b3901ffcb8d7ad81a613779d92c9702.jpg")  | validation: maxLength 2048
                    - name: height | type: integer | description: Original image height.  
                    - name: width | type: integer | description: Original image width.  
                    - name: altText | type: string | description: Image alt text.  | validation: maxLength 134061
           - name: mainMedia | type: MediaItem | description: Primary media associated with the service.  
           - name: coverMedia | type: MediaItem | description: Cover media associated with the service.  
        - name: hidden | type: boolean | description: Whether the service is hidden from Wix Bookings pages and widgets.  
        - name: category | type: Category | description: [Category](https://dev.wix.com/docs/rest/business-solutions/bookings/services/categories-v2/introduction.md) the service is associated with. Services aren't automatically assigned to a category. Without an associated category, the service isn't visible on the live site.  
           - name: id | type: string | description: Category GUID.  | validation: format GUID
        - name: form | type: Form | description: Form the customer filled out when booking the service.  
           - name: id | type: string | description: GUID of the form associated with the service. The form information that you submit when booking includes contact details, participants, and other form fields set up for the service. You can manage the service booking form fields using the Bookings Forms API.  | validation: format GUID
        - name: payment | type: Payment | description: Payment options for booking the service. Learn more about [service payments](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/about-service-payments.md).  
           - ONE-OF: 
              - name: fixed | type: FixedPayment | description: The details for the fixed price of the service.  Required when: `rateType` is `FIXED`  
                 - name: price | type: Money | description: The fixed price required to book the service.  Required when: `rateType` is `FIXED`  
                    - name: value | type: string | description: Monetary amount. Decimal string with a period as a decimal separator. For example `25.05`.  | validation: format DECIMAL_VALUE, decimalValue {"gt":"0","maxScale":2}
                    - name: formattedValue | type: string | description: Monetary amount. Decimal string in local format. For example, `1 000,30`.  | validation: maxLength 50
                 - name: deposit | type: Money | description: The deposit price required to book the service.  Required when: `rateType` is `FIXED` and `paymentOptions.deposit` is `true`  
                 - name: fullUpfrontPaymentAllowed | type: boolean | description: Whether customers can choose to pay the full service price upfront instead of only the deposit.  Used only when a `deposit` amount is set.  Default: `false`.  
                 - name: depositDetails | type: DepositDetails | description: The deposit required to book the service, expressed as either a fixed amount or a percentage of the price.  Used only when `paymentOptions.deposit` is `true`.  
                    - ONE-OF: 
                       - name: amount | type: Money | description: The deposit as a fixed monetary amount.  
                       - name: percentage | type: string | description: The deposit as a percentage of the full service price, for example `20` for 20% or `20.5` for 20.5%. Resolved to a concrete amount when the customer books.  Min: `0.01` percent Max: `99.99` percent  | validation: format DECIMAL_VALUE, decimalValue {"gte":"0.01","lte":"99.99","maxScale":2}
              - name: custom | type: CustomPayment | description: The details for the custom price of the service.  Required when: `rateType` is `CUSTOM`  
                 - name: description | type: string | description: A custom description explaining to the customer how to pay for the service.  | validation: maxLength 50
              - name: varied | type: VariedPayment | description: The details for the varied pricing of the service. Read more about [varied price options](https://support.wix.com/en/article/wix-bookings-about-getting-paid-online#offering-varied-price-options).  Required when: `rateType` is `VARIED`  
                 - name: defaultPrice | type: Money | description: The default price for the service without any variants. It will also be used as the default price for any new variant.  
                 - name: deposit | type: Money | description: The deposit price required to book the service.  Required when: `rateType` is `VARIED` and `paymentOptions.deposit` is `true`  
                 - name: fullUpfrontPaymentAllowed | type: boolean | description: Whether customers can choose to pay the full service price upfront instead of only the deposit.  Used only when a `deposit` amount is set.  Default: `false`.  
                 - name: depositDetails | type: DepositDetails | description: The deposit required to book the service, expressed as either a fixed amount or a percentage of the price.  Used only when `paymentOptions.deposit` is `true`.  
              - name: subscription | type: SubscriptionPayment | description: Subscription pricing details for the service. Supported for course services only. The business charges recurring monthly payments instead of a one-time fee.  Required when: `rateType` is `SUBSCRIPTION`.  
                 - name: amountPerBillingCycle | type: Money | description: Base price charged per billing cycle before tax and discounts. The actual amount charged may differ after checkout applies tax and discounts.  
                 - name: frequency | type: FrequencyType | description: Billing frequency for recurring subscription charges. Reflected as `billingFrequency` in the booking's subscription info.  Currently supports `MONTHLY` only.  
                         - enum:
                         -     MONTHLY: Billing cycle repeats once per month.
                 - name: totalPayments | type: integer | description: Total number of billing cycles in the subscription. For example, `12` for a 12-month subscription with monthly payments. Reflected as `totalCycles` in the booking's subscription info.  Required when: `rateType` is `SUBSCRIPTION`.  | validation: minimum 2, format int32
                 - name: firstChargeDate | type: FirstChargeDateType | description: Determines when the first billing cycle payment is charged. Used together with `recurringStartDate` to define the subscription billing schedule.  
                         - enum:
                         -     CHECKOUT: The first billing cycle is charged at checkout. Recurring billing continues from the `recurringStartDate`.
                         -     SCHEDULED: The first billing cycle is charged on the `recurringStartDate`.
                 - name: recurringStartDate | type: string | description: Date and time when recurring billing starts.  When `firstChargeDate` is `CHECKOUT`, the first charge occurs at checkout and subsequent billing cycles start from this date.  When `firstChargeDate` is `SCHEDULED`, the first charge occurs on this date.  Customers who book after recurring billing starts are billed for the remaining billing cycles only.  Required when: `rateType` is `SUBSCRIPTION`.  | validation: format date-time
           - name: rateType | type: RateType | description: The rate the customer is expected to pay for the service.  
                 - enum:
                 -     FIXED: The service has a fixed price.
                 -     CUSTOM: The service has a custom price, expressed as a price description.
                 -     VARIED: This service is offered with a set of different prices based on different terms.
                 -     NO_FEE: This service is offered free of charge.
                 -     SUBSCRIPTION: The service charges recurring monthly payments. Supported for course services only.
           - name: options | type: PaymentOptions | description: The payment options a customer can use to pay for the service.  
              - name: online | type: boolean | description: Customers can pay for the service online. When `true`: + `rateType` must be `FIXED`, `VARIED`, or `SUBSCRIPTION`. + `fixed.price`, `varied.defaultPrice`, or `subscription.amountPerBillingCycle` must be specified respectively.  Required when: `rateType` is `SUBSCRIPTION`. Read more about [getting paid online](https://support.wix.com/en/article/wix-bookings-about-getting-paid-online).  
              - name: inPerson | type: boolean | description: Customers can pay for the service in person.  
              - name: deposit | type: boolean | description: This service requires a deposit to be made online in order to book it. When `true`: + `rateType` must be `VARIED` or `FIXED`. + A `deposit` must be specified. + `online` must be `true`. + `inPerson` must be `false`.  
              - name: pricingPlan | type: boolean | description: Whether customers can pay for the service using a pricing plan. Read more about [service payment options](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/services-v2/about-service-payments.md).  
           - name: addOnOption | type: AddOnPaymentOptions | description: How customers can pay for add-ons when paying for the related booking with a [pricing plan](https://dev.wix.com/docs/api-reference/business-solutions/pricing-plans/pricing-plans/introduction.md). If customers pay for the booking using any method other than a pricing plan, the value of this field is ignored.  
                 - enum:
                 -     ONLINE: Customers are required to pay online for add-ons when the booking is paid for with a pricing plan.
                 -     IN_PERSON: Customers are required to pay in person for add-ons when the booking is paid for with a pricing plan.
           - name: additionalFees | type: array<AdditionalFee> | description: Mandatory fees the customer pays in addition to the service price, for example a cleaning fee. Fees aren't part of the deposit.  When you update `additionalFees`, the list you send replaces the existing fees. Fees you leave out are removed. To keep a fee, including when you rename it, send it with its existing `id`.  Each fee's `amount.currency` is set to the service currency.  | validation: maxItems 5
              - name: name | type: string | description: Fee name, shown to the customer.  Required for each fee you send.  | validation: minLength 1, maxLength 50
              - name: amount | type: Money | description: Fee amount in the service currency. Must be greater than `0`. For a `PER_UNIT` fee, the amount charged for each unit.  Required for each fee you send.  
              - name: chargeType | type: ChargeType | description: Whether the fee is charged once per reservation or for each unit of the reservation's duration.  Required for each fee you send.  
                     - enum:
                     -     PER_RESERVATION: Charged once for the whole reservation.
                     -     PER_UNIT: Charged for each duration unit of the reservation, as set in `schedule.availabilityConstraints.durationRange.unitType`. For example, for each hour or day. For an overnight service, each day counts as 1 night, from the check-in time to the check-out time on the next day. Charged once when the service has no duration range.
        - name: onlineBooking | type: OnlineBooking | description: Online booking settings.  
           - name: enabled | type: boolean | description: Whether the service can be booked online. When set to `true`, customers can book the service online. Configure the payment options via the `service.payment` property. When set to `false`, customers cannot book the service online, and the service can only be paid for in person.  
           - name: requireManualApproval | type: boolean | description: Booking the service requires approval by the Wix user.  
           - name: allowMultipleRequests | type: boolean | description: Multiple customers can request to book the same time slot. This is relevant when `requireManualApproval` is `true`.  
        - name: conferencing | type: Conferencing | description: Conferencing options for the service.  
           - name: enabled | type: boolean | description: Whether a conference link is generated for the service's sessions.  
        - name: locations | type: array<Location> | description: The locations this service is offered at. Read more about [service locations](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/about-service-locations.md).  | validation: maxItems 500, immutable
           - ONE-OF: 
              - name: business | type: BusinessLocationOptions | description: Information about business locations. Required when `type` is `BUSINESS`.  
                 - name: id | type: string | description: GUID of the business [location](https://dev.wix.com/docs/api-reference/business-management/locations/introduction.md). When setting a business location, specify only the location GUID. Other location details are overwritten.  | validation: format GUID
              - name: custom | type: CustomLocationOptions | description: Information about custom locations. Required when `type` is `CUSTOM`.  
                 - name: address | type: Address | description: Address of the custom location.  
                    - ONE-OF: 
                       - name: streetAddress | type: StreetAddress | description: Street name and number.  
                          - name: number | type: string | description: Street number.  | validation: maxLength 255
                          - name: name | type: string | description: Street name.  | validation: maxLength 255
                          - name: apt | type: string | description: Apartment number.  | validation: maxLength 255
                       - name: addressLine | type: string | description:   | validation: maxLength 255
                    - name: country | type: string | description: 2-letter country code in an [ISO-3166 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format.  | validation: format COUNTRY
                    - name: subdivision | type: string | description: Code for a subdivision (such as state, prefecture, or province) in [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2) format.  | validation: maxLength 255
                    - name: city | type: string | description: City name.  | validation: maxLength 255
                    - name: postalCode | type: string | description: Postal or zip code.  | validation: maxLength 255
                    - name: formattedAddress | type: string | description: Full address of the location.  | validation: maxLength 512
           - name: type | type: LocationType | description: Location type.  Default: `CUSTOM`  
                 - enum:
                 -     CUSTOM: Location set by the business that is not a standard business [location](https://dev.wix.com/docs/api-reference/business-management/locations/introduction.md).
                 -     BUSINESS: Business [location](https://dev.wix.com/docs/api-reference/business-management/locations/introduction.md).
                 -     CUSTOMER: The customer specifies any address when booking. Available only for appointment-based services.
        - name: bookingPolicy | type: BookingPolicy | description: [Policy](https://dev.wix.com/docs/rest/business-solutions/bookings/policies/booking-policies/introduction.md) determining under what conditions this service can be booked. For example, whether the service can only be booked up to 30 minutes before it begins.  
           - name: id | type: string | description: The GUID to the policy for the booking.  | validation: format GUID
           - name: intakeFormPolicy | type: IntakeFormPolicy | description: Rule for requiring customers to complete an [intake form](https://dev.wix.com/docs/api-reference/crm/forms/other-services/intake-forms/introduction.md) during or after booking.  
              - name: enabled | type: boolean | description: Whether intake form integration is enabled for the service. Default: `false`  
              - name: formId | type: string | description: GUID of the intake form to integrate with the service.  | validation: format GUID
              - name: timing | type: Timing | description: When to present the intake form to the customer.  
                     - enum:
                     -     AFTER_BOOKING: Send form after booking.
                     -     BEFORE_BOOKING: Show form during booking flow.
              - name: completionRequirement | type: CompletionRequirement | description:   
                     - enum:
                     -     OPTIONAL: Form completion is optional and can be skipped entirely.
                     -     REQUIRED_BEFORE_BOOKING: Form must be completed before the booking can be finalized. can used only if timing is BEFORE_BOOKING.
        - name: schedule | type: Schedule | description: The service's [schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/introduction.md), which can be used to manage the service's [events](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/introduction.md).  
           - name: availabilityConstraints | type: AvailabilityConstraints | description: Limitations affecting the service availability.  
              - name: sessionDurations | type: array<integer> | description: List of supported session durations in minutes.  - For appointment-based services, specify `sessionDurations` when creating a service. - For appointment-based services with varied pricing by session length, you must still specify `sessionDurations`, but the values are ignored. Actual durations are taken from the [service variants](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/service-options-and-variants/introduction.md). - For classes or courses, don't specify `sessionDurations` when creating a service.  | validation: minimum 1, maximum 44639, maxItems 50
              - name: timeBetweenSessions | type: integer | description: The number of minutes between the end of a session and the start of the next.  | validation: minimum 0, maximum 720
              - name: durationRange | type: DurationRange | description: Duration range for the service. When set, the customer picks a duration within the configured min/max range instead of a fixed session duration. Mutually exclusive with `sessionDurations`. A service uses one or the other. Can't be combined with `workingHours`, unless `workingHours.mode` is `INTERSECT_BUSINESS_WORKING_HOURS`.  Use `durationRange` for services where the customer chooses how long to book, such as equipment or space rentals. The `unitType` determines whether the range is measured in hours or days.  
                 - ONE-OF: 
                    - name: hourOptions | type: HourlyConfig | description: Configuration for hourly duration ranges. Set when `unitType` is `HOUR`.  
                       - name: minDurationInMinutes | type: integer | description: Minimum bookable duration in minutes. The customer can't book for less than this duration.  | validation: minimum 30, maximum 1440
                       - name: maxDurationInMinutes | type: integer | description: Maximum bookable duration in minutes. The customer can't book for more than this duration.  Must be greater than or equal to `minDurationInMinutes`.  | validation: minimum 30, maximum 1440
                    - name: dayOptions | type: DailyConfig | description: Configuration for daily duration ranges. Set when `unitType` is `DAY`.  
                       - name: minDurationInDays | type: integer | description: Minimum bookable duration in days. The customer can't book for less than this number of days. For an overnight service, each day counts as 1 night, from the check-in time to the check-out time on the next day.  | validation: minimum 1, maximum 40
                       - name: maxDurationInDays | type: integer | description: Maximum bookable duration in days. The customer can't book for more than this number of days. For an overnight service, each day counts as 1 night, from the check-in time to the check-out time on the next day.  Must be greater than or equal to `minDurationInDays`.  | validation: minimum 1, maximum 40
                       - name: timeBoundaries | type: TimeBoundaries | description: Times of day at which each bookable day starts and ends. For example, check-in at `15:00` and check-out at `11:00` for a vacation house.  When not set, each bookable day runs from midnight to midnight, the same as `FULL_DAY`.  
                          - ONE-OF: 
                             - name: overnightTimes | type: OvernightTimes | description: Check-in and check-out times, applied to every day of the week. Required when `type` is `OVERNIGHT`.  
                                - name: checkInTime | type: string | description: Check-in time in `HH:mm` format, on the hour or half hour. Evaluated in the business time zone. For example, `15:00`.  | validation: format LOCAL_TIME
                                - name: checkOutTime | type: string | description: Check-out time on the day after the last booked night, in `HH:mm` format, on the hour or half hour. Evaluated in the business time zone. For example, `11:00`.  | validation: format LOCAL_TIME
                          - name: type | type: TimeBoundariesType | description: How the start and end times of each bookable day are set.  
                                     - enum:
                                     -     FULL_DAY: Each bookable day runs from midnight to midnight.
                                     -     OVERNIGHT: Each booking checks in at `overnightTimes.checkInTime` and checks out on a later day at `overnightTimes.checkOutTime`. Each day counts as 1 night, from the check-in time to the check-out time on the next day.
                 - name: unitType | type: UnitType | description: The unit type for this duration range. Determines which configuration to use in the `config` union.  
                         - enum:
                         -     HOUR: Hourly booking unit. Durations are configured in minutes via `hourOptions`.
                         -     DAY: Daily booking unit. Durations are configured in days via `dayOptions`.
        - name: staffMemberIds | type: array<string> | description: IDs of the [resources](https://dev.wix.com/docs/api-reference/business-solutions/bookings/resources/resources-v2/introduction.md) associated with the [staff members](https://dev.wix.com/docs/api-reference/business-solutions/bookings/staff-members/staff-members/introduction.md) providing the service. Note that these are the resource GUIDs, not the staff member GUIDs.  For appointment-based services, set this field when creating or updating the service. For classes and courses, this field is read-only and is automatically derived from staff assigned to the service's recurring scheduled sessions. Staff assigned only to single, non-recurring events are not included. Once all of a staff member's upcoming recurring sessions have ended, their GUID is removed from this field. To retrieve the full list of staff for classes or courses, query the service's calendar events instead. Learn more about [retrieving staff for classes and courses](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/services-v2/sample-flows.md#retrieve-staff-members-for-a-class-or-course).  | validation: maxItems 220, format GUID
        - name: staffMemberDetails | type: StaffMemberDetails | description: Staff members details. Returned only if `STAFF_MEMBER_DETAILS` conditional field was specified.  
           - name: staffMembers | type: array<StaffMember> | description: Staff members providing the service. For appointments only.  | validation: maxItems 220
        - name: serviceResources | type: array<ServiceResource> | description: Information about which resources must be available so customers can book the service. For example, a meeting room or equipment. Some nested fields are only returned when specific conditional fields are requested: pass `RESOURCE_TYPE_DETAILS` to retrieve `resourceType.name`, and `RESOURCE_DETAILS` to retrieve `resourceDetails.resources`.  | validation: maxItems 8
           - ONE-OF: 
              - name: resourceIds | type: ResourceIds | description: IDs of specific [resources](https://dev.wix.com/docs/api-reference/business-solutions/bookings/resources/resources-v2/introduction.md) assigned to this service resource. Each GUID must reference a resource within the specified `resourceType`.  When set, only these resources are considered for availability and booking. When not set, all resources of the specified resource type are eligible.  
                 - name: values | type: array<string> | description: Values of the resource GUIDs.  | validation: maxItems 100, format GUID
           - name: resourceType | type: ResourceType | description: Details about the required [resource type](https://dev.wix.com/docs/api-reference/business-solutions/bookings/resources/resource-types-v2/introduction.md).  
              - name: id | type: string | description: The type of the resource.  | validation: format GUID
        - name: extendedFields | type: ExtendedFields | description: Extensions enabling users to save custom data related to the service.  
           - name: namespaces | type: object | description: Extended field data. Each key corresponds to the namespace of the app that created the extended fields. The value of each key is structured according to the schema defined when the extended fields were configured.  You can only access fields for which you have the appropriate permissions.  Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields.md).  | validation: format map
        - name: seoData | type: SeoSchema | description: Custom SEO data for the service.  
           - name: tags | type: array<Tag> | description: The tags rendered into <head>, in no particular order. Render order is decided by the renderer, not by position in this list.  No maxSize: this list is already populated by data written years ago, and a bound added now could reject a page that is already stored.  
              - name: type | type: string | description: Legacy. Was a free-form string: "title" | "meta" | "script" | "link". The typed replacement is the `kind` oneof on `SeoSchemaV2.Tag`, which makes the invalid combinations unrepresentable rather than merely discouraged.  Which of these an API actually accepts depends on where the tag is being set: this list is not a blanket guarantee across every API that reuses this message. Site SEO Tags in particular accepts only `meta` (see `SiteSeoTags.tags`) and rejects `title`/`script`/`link` with a validation error even though they appear here — check the field description of the specific `tags`-typed field you are writing to.  Limitation: `title` and `script` (e.g. a `script` tag with `props.type` "application/ld+json" carrying structured data) are supported only when `custom` is unset or `false`. Setting `custom: true` on a `title` or `script` tag is rejected with `TAG_TYPE_NOT_ALLOWED`, because `custom: true` routes the write through the site's Advanced/Custom Tags list. To write structured data, omit `custom` (or set it to `false`).  No length limit: this field holds data written years ago by writers we are not migrating. A constraint here could reject a record that is already stored, which is exactly the promise this design makes.  
              - name: props | type: object | description: Legacy. Was an untyped bag of HTML attributes. Typed replacement: `SeoSchemaV2.TitleTag` / `MetaTag` / `LinkTag`.  
              - name: meta | type: object | description: Legacy. Was an untyped bag of 16 mixed-purpose keys. In `SeoSchemaV2` its contents are split by purpose: per-page structured-data state moves to StructuredDataTag, authorship to `written_by`, and render-time preset logic (variants, enabledByExperiment, removeSchemaIf*) moved out of the stored document entirely — it belongs to the preset definition, not to the page. See the design log for the full key-by-key mapping.  
              - name: children | type: string | description: Legacy. Was the tag's inner content, doubling as the JSON-LD payload for script tags. Typed replacement: `SeoSchemaV2.TitleTag.text` and `StructuredDataTag.json_ld`. No length limit, for the same reason as `type` above.  
              - name: custom | type: boolean | description: Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages) — i.e. an entry from the site's Advanced/Custom Tags list.  Setting this to `true` on a write restricts which `type` values are accepted — the same restriction the Advanced/Custom Tags UI enforces. `title` and `script` tags (including JSON-LD structured data) must be sent with `custom` omitted or `false`; sending them with `custom: true` is rejected with `TAG_TYPE_NOT_ALLOWED`.  Note this is a separate restriction from Site SEO Tags' own type restriction on `SiteSeoTags.tags`: even with `custom` unset, Site SEO Tags rejects `script` (e.g. for site-wide structured data) unconditionally. There is currently no way to set site-wide, every-page structured data through any of these APIs — write a per-page `script` tag through the Item SEO Tags API instead.  This flag is scoped to that feature only. It is NOT an indicator of whether a standard tag (`title`, `description`, Open Graph, etc.) reflects a manually configured value versus a computed default/pattern — standard tags always resolve with `custom: false`, even when their content comes from a page's manually saved SEO title/description override. Don't use this field to verify whether a live page reflects a manual per-page SEO edit.  Limitation: when `ResolveStaticPageSeoTags` is called without `seoData`, the per-page SEO data is read only from the Vibe/Wix-managed-headless override store. That store holds nothing for classic Wix Editor or Wix Studio pages, so even genuine Advanced/Custom Tags saved on those pages are missing from the response entirely — there, `false` means this API could not tell, not that no custom tag exists. Pass `seoData` explicitly to resolve against a known set of tags.  `SeoSchemaV2.Tag` expresses this as `written_by = USER_CUSTOM`.  
              - name: disabled | type: boolean | description: Whether the tag is excluded from the rendered <head>.  A disabled tag is still stored, so the user can re-enable it and so a pattern-provided tag stays suppressed on this page. Default false.  
           - name: settings | type: Settings | description: Page-level SEO settings that are not themselves tags.  
              - name: preventAutoRedirect | type: boolean | description: Whether to suppress the automatic redirect from this page's previous URL to its current one after a slug change.  Default false, meaning the redirect IS created. The field is named for the exception rather than the rule, which reads backwards; kept as-is because renaming a stored boolean is not worth the migration.  
              - name: keywords | type: array<Keyword> | description: Keyword terms the user is targeting for this page. Used by the SEO assistant and checklist; never rendered into <head>.  20 is a sanity bound, not the product limit. v1 declared 5 — the number the panel happens to allow today — which is exactly the mistake we are fixing for structured data. A product decision to allow 8 should not need a proto release, so the panel owns that number and the proto only stops something absurd.  | validation: maxItems 20
                 - name: term | type: string | description: The term itself, e.g. "trail running shoes".  No maxLength, for the same reason as the legacy tag fields: keywords are already stored, and a bound added now could reject a record written before the bound existed. The flynt `missing-string-validations` warning on this field is accepted deliberately.  
                 - name: isMain | type: boolean | description: Whether this is the page's primary focus keyword. At most one per page.  
                 - name: origin | type: string | description: Which surface added the term, e.g. a panel or a suggestion flow. Used for attribution in BI. Opaque to the renderer.  | validation: maxLength 1000
        - name: addOnGroups | type: array<AddOnGroup> | description: Information about the [add-on groups](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/services-v2/about-add-on-groups.md) associated with the service.  | validation: maxItems 3
           - name: name | type: string | description: Name of the add-on group.  | validation: maxLength 100
           - name: maxNumberOfAddOns | type: integer | description: Maximum number of different [add-ons](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/add-ons/introduction.md) from the group customers can add when booking the service. When empty, there's no upper limit.  | validation: format int32
           - name: addOnIds | type: array<string> | description: List of GUIDs of all [add-ons](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/add-ons/introduction.md) included in the group.  | validation: maxItems 7, format GUID
           - name: prompt | type: string | description: Description or instructional prompt of the add-on group that's displayed to customers when booking the service.  | validation: maxLength 200
        - name: taxableAddress | type: TaxableAddress | description: Taxable address used to calculate tax  
           - name: taxableAddressType | type: TaxableAddressType | description: Taxable address type.  
                 - enum: BUSINESS, BILLING
        - name: primaryResourceType | type: string | description: GUID of the [resource type](https://dev.wix.com/docs/api-reference/business-solutions/bookings/resources/resource-types-v2/introduction.md) that serves as the primary resource for this appointment service. The primary resource type determines which resources drive slot assignment and availability resolution.  For example, when set to a "Meeting Rooms" resource type, availability is calculated based on the rooms' schedules rather than staff schedules.  Default: The staff resource type.  | validation: format GUID
 Return type: BulkUpdateServicesByFilterResponse
  - name: jobId | type: string | description: GUID of the service update job.  Pass this GUID to [Get Async Job](https://dev.wix.com/docs/rest/business-management/async-job/introduction.md) to retrieve job details and metadata.  | validation: format GUID


```

### Examples

### Update the default capacity of all services of type CLASS
```curl
curl -X POST 'https://www.wixapis.com/bookings/v2/bulk/services/update-by-filter' \
-H 'Authorization: <AUTH>' \
-d '{
  "service": {
    "defaultCapacity": 25
  },
  "filter": {
    "type": "CLASS"
  }
}'
```

---

## JavaScript SDK

### Schema

```
 Method: wixClientAdmin.bookings.services.bulkUpdateServicesByFilter(filter, options)
 Description: Updates multiple services by filter.   See [Query Services](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/services-v2/query-services.md) for a list of supported filters.  See [Update Service](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/services-v2/update-service.md) 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`.
 # Note: If the parameter `a.b` is listed under required parameters, `b` is only required if `a` is also present.
 Required parameters:  filter, service, options
 Method parameters: 
   param name: filter | type: object | description: Filter to identify the services to update. | required: true 
   param name: options | type: BulkUpdateServicesByFilterOptions  none | required: true 
        - name: service | type: Service | description: Service to update. | required: true 
           - name: appId | type: string | description: GUID of the app associated with the service. You can't update `appId`. Services are displayed in Wix Bookings only if they are associated with the Wix Bookings appId or have no associated app GUID. Default: `13d21c63-b5ec-5912-8397-c3a5ddb27a97` (Wix Bookings app GUID) For services from Wix apps, the following values apply: - Wix Bookings: `"13d21c63-b5ec-5912-8397-c3a5ddb27a97"` - Wix Services: `"cc552162-24a4-45e0-9695-230c4931ef40"` - Wix Meetings: `"6646a75c-2027-4f49-976c-58f3d713ed0f"`.<!-- [Scheduling Form Fields](https://dev.wix.com/docs/api-reference/business-solutions/bookings/about-scheduling-form-fields.md) services also use this app GUID. Use `createdByAppId` to distinguish between Wix Meetings and Scheduling Form Fields services.--> [Full list of apps created by Wix](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/platform/about-apps-created-by-wix.md). <!-- TODO: Uncomment when Platform docs are published - Learn more about [app identity in the Bookings Platform](https://dev.wix.com/docs/api-reference/business-solutions/bookings/bookings-platform/app-identity-in-the-bookings-platform.md). -->  | validation: format GUID, immutable
           - name: type | type: ServiceType | description: Service type. Learn more about [service types](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/about-service-types.md).  
                 - enum:
                 -     APPOINTMENT: Appointment-based service.
                 -     CLASS: Class service.
                 -     COURSE: Course service.
           - name: sortOrder | type: integer | description: Order of the service within a [category](https://dev.wix.com/docs/rest/business-solutions/bookings/services/categories-v1/category-object.md).  | validation: format int32
           - name: name | type: string | description: Service name.  | validation: minLength 1, maxLength 400
           - name: description | type: string | description: Service description. For example, `High-class hair styling, cuts, straightening and color`.  | validation: maxLength 7000
           - name: tagLine | type: string | description: Short service description, such as `Hair styling`.  | validation: maxLength 6000
           - name: defaultCapacity | type: integer | description: Default maximum number of customers that can book the service. The service cannot be booked beyond this capacity.  | validation: minimum 1, maximum 1000, format int32
           - name: media | type: Media | description: Media associated with the service.  
              - name: items | type: array<MediaItem> | description: Media items associated with the service.  | validation: maxItems 100
                 - ONE-OF: 
                    - name: image | type: string | description: Details of the image associated with the service, such as URL and size.  
              - name: mainMedia | type: MediaItem | description: Primary media associated with the service.  
              - name: coverMedia | type: MediaItem | description: Cover media associated with the service.  
           - name: hidden | type: boolean | description: Whether the service is hidden from Wix Bookings pages and widgets.  
           - name: category | type: Category | description: [Category](https://dev.wix.com/docs/rest/business-solutions/bookings/services/categories-v2/introduction.md) the service is associated with. Services aren't automatically assigned to a category. Without an associated category, the service isn't visible on the live site.  
              - name: _id | type: string | description: Category GUID.  | validation: format GUID
           - name: form | type: Form | description: Form the customer filled out when booking the service.  
              - name: _id | type: string | description: GUID of the form associated with the service. The form information that you submit when booking includes contact details, participants, and other form fields set up for the service. You can manage the service booking form fields using the Bookings Forms API.  | validation: format GUID
           - name: payment | type: Payment | description: Payment options for booking the service. Learn more about [service payments](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/about-service-payments.md).  
              - ONE-OF: 
                 - name: fixed | type: FixedPayment | description: The details for the fixed price of the service.  Required when: `rateType` is `FIXED`  
                    - name: price | type: Money | description: The fixed price required to book the service.  Required when: `rateType` is `FIXED`  
                       - name: value | type: string | description: Monetary amount. Decimal string with a period as a decimal separator. For example `25.05`.  | validation: format DECIMAL_VALUE, decimalValue {"gt":"0","maxScale":2}
                       - name: formattedValue | type: string | description: Monetary amount. Decimal string in local format. For example, `1 000,30`.  | validation: maxLength 50
                    - name: deposit | type: Money | description: The deposit price required to book the service.  Required when: `rateType` is `FIXED` and `paymentOptions.deposit` is `true`  
                    - name: fullUpfrontPaymentAllowed | type: boolean | description: Whether customers can choose to pay the full service price upfront instead of only the deposit.  Used only when a `deposit` amount is set.  Default: `false`.  
                    - name: depositDetails | type: DepositDetails | description: The deposit required to book the service, expressed as either a fixed amount or a percentage of the price.  Used only when `paymentOptions.deposit` is `true`.  
                       - ONE-OF: 
                          - name: amount | type: Money | description: The deposit as a fixed monetary amount.  
                          - name: percentage | type: string | description: The deposit as a percentage of the full service price, for example `20` for 20% or `20.5` for 20.5%. Resolved to a concrete amount when the customer books.  Min: `0.01` percent Max: `99.99` percent  | validation: format DECIMAL_VALUE, decimalValue {"gte":"0.01","lte":"99.99","maxScale":2}
                 - name: custom | type: CustomPayment | description: The details for the custom price of the service.  Required when: `rateType` is `CUSTOM`  
                    - name: description | type: string | description: A custom description explaining to the customer how to pay for the service.  | validation: maxLength 50
                 - name: varied | type: VariedPayment | description: The details for the varied pricing of the service. Read more about [varied price options](https://support.wix.com/en/article/wix-bookings-about-getting-paid-online#offering-varied-price-options).  Required when: `rateType` is `VARIED`  
                    - name: defaultPrice | type: Money | description: The default price for the service without any variants. It will also be used as the default price for any new variant.  
                    - name: deposit | type: Money | description: The deposit price required to book the service.  Required when: `rateType` is `VARIED` and `paymentOptions.deposit` is `true`  
                    - name: fullUpfrontPaymentAllowed | type: boolean | description: Whether customers can choose to pay the full service price upfront instead of only the deposit.  Used only when a `deposit` amount is set.  Default: `false`.  
                    - name: depositDetails | type: DepositDetails | description: The deposit required to book the service, expressed as either a fixed amount or a percentage of the price.  Used only when `paymentOptions.deposit` is `true`.  
                 - name: subscription | type: SubscriptionPayment | description: Subscription pricing details for the service. Supported for course services only. The business charges recurring monthly payments instead of a one-time fee.  Required when: `rateType` is `SUBSCRIPTION`.  
                    - name: amountPerBillingCycle | type: Money | description: Base price charged per billing cycle before tax and discounts. The actual amount charged may differ after checkout applies tax and discounts.  
                    - name: frequency | type: FrequencyType | description: Billing frequency for recurring subscription charges. Reflected as `billingFrequency` in the booking's subscription info.  Currently supports `MONTHLY` only.  
                             - enum:
                             -     MONTHLY: Billing cycle repeats once per month.
                    - name: totalPayments | type: integer | description: Total number of billing cycles in the subscription. For example, `12` for a 12-month subscription with monthly payments. Reflected as `totalCycles` in the booking's subscription info.  Required when: `rateType` is `SUBSCRIPTION`.  | validation: minimum 2, format int32
                    - name: firstChargeDate | type: FirstChargeDateType | description: Determines when the first billing cycle payment is charged. Used together with `recurringStartDate` to define the subscription billing schedule.  
                             - enum:
                             -     CHECKOUT: The first billing cycle is charged at checkout. Recurring billing continues from the `recurringStartDate`.
                             -     SCHEDULED: The first billing cycle is charged on the `recurringStartDate`.
                    - name: recurringStartDate | type: Date | description: Date and time when recurring billing starts.  When `firstChargeDate` is `CHECKOUT`, the first charge occurs at checkout and subsequent billing cycles start from this date.  When `firstChargeDate` is `SCHEDULED`, the first charge occurs on this date.  Customers who book after recurring billing starts are billed for the remaining billing cycles only.  Required when: `rateType` is `SUBSCRIPTION`.  
              - name: rateType | type: RateType | description: The rate the customer is expected to pay for the service.  
                     - enum:
                     -     FIXED: The service has a fixed price.
                     -     CUSTOM: The service has a custom price, expressed as a price description.
                     -     VARIED: This service is offered with a set of different prices based on different terms.
                     -     NO_FEE: This service is offered free of charge.
                     -     SUBSCRIPTION: The service charges recurring monthly payments. Supported for course services only.
              - name: options | type: PaymentOptions | description: The payment options a customer can use to pay for the service.  
                 - name: online | type: boolean | description: Customers can pay for the service online. When `true`: + `rateType` must be `FIXED`, `VARIED`, or `SUBSCRIPTION`. + `fixed.price`, `varied.defaultPrice`, or `subscription.amountPerBillingCycle` must be specified respectively.  Required when: `rateType` is `SUBSCRIPTION`. Read more about [getting paid online](https://support.wix.com/en/article/wix-bookings-about-getting-paid-online).  
                 - name: inPerson | type: boolean | description: Customers can pay for the service in person.  
                 - name: deposit | type: boolean | description: This service requires a deposit to be made online in order to book it. When `true`: + `rateType` must be `VARIED` or `FIXED`. + A `deposit` must be specified. + `online` must be `true`. + `inPerson` must be `false`.  
                 - name: pricingPlan | type: boolean | description: Whether customers can pay for the service using a pricing plan. Read more about [service payment options](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/services-v2/about-service-payments.md).  
              - name: addOnOption | type: AddOnPaymentOptions | description: How customers can pay for add-ons when paying for the related booking with a [pricing plan](https://dev.wix.com/docs/api-reference/business-solutions/pricing-plans/pricing-plans/introduction.md). If customers pay for the booking using any method other than a pricing plan, the value of this field is ignored.  
                     - enum:
                     -     ONLINE: Customers are required to pay online for add-ons when the booking is paid for with a pricing plan.
                     -     IN_PERSON: Customers are required to pay in person for add-ons when the booking is paid for with a pricing plan.
              - name: additionalFees | type: array<AdditionalFee> | description: Mandatory fees the customer pays in addition to the service price, for example a cleaning fee. Fees aren't part of the deposit.  When you update `additionalFees`, the list you send replaces the existing fees. Fees you leave out are removed. To keep a fee, including when you rename it, send it with its existing `id`.  Each fee's `amount.currency` is set to the service currency.  | validation: maxItems 5
                 - name: name | type: string | description: Fee name, shown to the customer.  Required for each fee you send.  | validation: minLength 1, maxLength 50
                 - name: amount | type: Money | description: Fee amount in the service currency. Must be greater than `0`. For a `PER_UNIT` fee, the amount charged for each unit.  Required for each fee you send.  
                 - name: chargeType | type: ChargeType | description: Whether the fee is charged once per reservation or for each unit of the reservation's duration.  Required for each fee you send.  
                         - enum:
                         -     PER_RESERVATION: Charged once for the whole reservation.
                         -     PER_UNIT: Charged for each duration unit of the reservation, as set in `schedule.availabilityConstraints.durationRange.unitType`. For example, for each hour or day. For an overnight service, each day counts as 1 night, from the check-in time to the check-out time on the next day. Charged once when the service has no duration range.
           - name: onlineBooking | type: OnlineBooking | description: Online booking settings.  
              - name: enabled | type: boolean | description: Whether the service can be booked online. When set to `true`, customers can book the service online. Configure the payment options via the `service.payment` property. When set to `false`, customers cannot book the service online, and the service can only be paid for in person.  
              - name: requireManualApproval | type: boolean | description: Booking the service requires approval by the Wix user.  
              - name: allowMultipleRequests | type: boolean | description: Multiple customers can request to book the same time slot. This is relevant when `requireManualApproval` is `true`.  
           - name: conferencing | type: Conferencing | description: Conferencing options for the service.  
              - name: enabled | type: boolean | description: Whether a conference link is generated for the service's sessions.  
           - name: locations | type: array<Location> | description: The locations this service is offered at. Read more about [service locations](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/about-service-locations.md).  | validation: maxItems 500, immutable
              - ONE-OF: 
                 - name: business | type: BusinessLocationOptions | description: Information about business locations. Required when `type` is `BUSINESS`.  
                    - name: _id | type: string | description: GUID of the business [location](https://dev.wix.com/docs/api-reference/business-management/locations/introduction.md). When setting a business location, specify only the location GUID. Other location details are overwritten.  | validation: format GUID
                 - name: custom | type: CustomLocationOptions | description: Information about custom locations. Required when `type` is `CUSTOM`.  
                    - name: address | type: Address | description: Address of the custom location.  
                       - name: city | type: string | description: none  
                       - name: subdivision | type: string | description: none  
                       - name: country | type: string | description: none  
                       - name: postalCode | type: string | description: none  
                       - name: addressLine1 | type: string | description: none  
              - name: type | type: LocationType | description: Location type.  Default: `CUSTOM`  
                     - enum:
                     -     CUSTOM: Location set by the business that is not a standard business [location](https://dev.wix.com/docs/api-reference/business-management/locations/introduction.md).
                     -     BUSINESS: Business [location](https://dev.wix.com/docs/api-reference/business-management/locations/introduction.md).
                     -     CUSTOMER: The customer specifies any address when booking. Available only for appointment-based services.
           - name: bookingPolicy | type: BookingPolicy | description: [Policy](https://dev.wix.com/docs/rest/business-solutions/bookings/policies/booking-policies/introduction.md) determining under what conditions this service can be booked. For example, whether the service can only be booked up to 30 minutes before it begins.  
              - name: _id | type: string | description: The GUID to the policy for the booking.  | validation: format GUID
              - name: intakeFormPolicy | type: IntakeFormPolicy | description: Rule for requiring customers to complete an [intake form](https://dev.wix.com/docs/api-reference/crm/forms/other-services/intake-forms/introduction.md) during or after booking.  
                 - name: enabled | type: boolean | description: Whether intake form integration is enabled for the service. Default: `false`  
                 - name: formId | type: string | description: GUID of the intake form to integrate with the service.  | validation: format GUID
                 - name: timing | type: Timing | description: When to present the intake form to the customer.  
                         - enum:
                         -     AFTER_BOOKING: Send form after booking.
                         -     BEFORE_BOOKING: Show form during booking flow.
                 - name: completionRequirement | type: CompletionRequirement | description:   
                         - enum:
                         -     OPTIONAL: Form completion is optional and can be skipped entirely.
                         -     REQUIRED_BEFORE_BOOKING: Form must be completed before the booking can be finalized. can used only if timing is BEFORE_BOOKING.
           - name: schedule | type: Schedule | description: The service's [schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/introduction.md), which can be used to manage the service's [events](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/introduction.md).  
              - name: availabilityConstraints | type: AvailabilityConstraints | description: Limitations affecting the service availability.  
                 - name: sessionDurations | type: array<integer> | description: List of supported session durations in minutes.  - For appointment-based services, specify `sessionDurations` when creating a service. - For appointment-based services with varied pricing by session length, you must still specify `sessionDurations`, but the values are ignored. Actual durations are taken from the [service variants](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/service-options-and-variants/introduction.md). - For classes or courses, don't specify `sessionDurations` when creating a service.  | validation: minimum 1, maximum 44639, maxItems 50
                 - name: timeBetweenSessions | type: integer | description: The number of minutes between the end of a session and the start of the next.  | validation: minimum 0, maximum 720
                 - name: durationRange | type: DurationRange | description: Duration range for the service. When set, the customer picks a duration within the configured min/max range instead of a fixed session duration. Mutually exclusive with `sessionDurations`. A service uses one or the other. Can't be combined with `workingHours`, unless `workingHours.mode` is `INTERSECT_BUSINESS_WORKING_HOURS`.  Use `durationRange` for services where the customer chooses how long to book, such as equipment or space rentals. The `unitType` determines whether the range is measured in hours or days.  
                    - ONE-OF: 
                       - name: hourOptions | type: HourlyConfig | description: Configuration for hourly duration ranges. Set when `unitType` is `HOUR`.  
                          - name: minDurationInMinutes | type: integer | description: Minimum bookable duration in minutes. The customer can't book for less than this duration.  | validation: minimum 30, maximum 1440
                          - name: maxDurationInMinutes | type: integer | description: Maximum bookable duration in minutes. The customer can't book for more than this duration.  Must be greater than or equal to `minDurationInMinutes`.  | validation: minimum 30, maximum 1440
                       - name: dayOptions | type: DailyConfig | description: Configuration for daily duration ranges. Set when `unitType` is `DAY`.  
                          - name: minDurationInDays | type: integer | description: Minimum bookable duration in days. The customer can't book for less than this number of days. For an overnight service, each day counts as 1 night, from the check-in time to the check-out time on the next day.  | validation: minimum 1, maximum 40
                          - name: maxDurationInDays | type: integer | description: Maximum bookable duration in days. The customer can't book for more than this number of days. For an overnight service, each day counts as 1 night, from the check-in time to the check-out time on the next day.  Must be greater than or equal to `minDurationInDays`.  | validation: minimum 1, maximum 40
                          - name: timeBoundaries | type: TimeBoundaries | description: Times of day at which each bookable day starts and ends. For example, check-in at `15:00` and check-out at `11:00` for a vacation house.  When not set, each bookable day runs from midnight to midnight, the same as `FULL_DAY`.  
                             - ONE-OF: 
                                - name: overnightTimes | type: OvernightTimes | description: Check-in and check-out times, applied to every day of the week. Required when `type` is `OVERNIGHT`.  
                                   - name: checkInTime | type: string | description: Check-in time in `HH:mm` format, on the hour or half hour. Evaluated in the business time zone. For example, `15:00`.  | validation: format LOCAL_TIME
                                   - name: checkOutTime | type: string | description: Check-out time on the day after the last booked night, in `HH:mm` format, on the hour or half hour. Evaluated in the business time zone. For example, `11:00`.  | validation: format LOCAL_TIME
                             - name: type | type: TimeBoundariesType | description: How the start and end times of each bookable day are set.  
                                         - enum:
                                         -     FULL_DAY: Each bookable day runs from midnight to midnight.
                                         -     OVERNIGHT: Each booking checks in at `overnightTimes.checkInTime` and checks out on a later day at `overnightTimes.checkOutTime`. Each day counts as 1 night, from the check-in time to the check-out time on the next day.
                    - name: unitType | type: UnitType | description: The unit type for this duration range. Determines which configuration to use in the `config` union.  
                             - enum:
                             -     HOUR: Hourly booking unit. Durations are configured in minutes via `hourOptions`.
                             -     DAY: Daily booking unit. Durations are configured in days via `dayOptions`.
           - name: staffMemberIds | type: array<string> | description: IDs of the [resources](https://dev.wix.com/docs/api-reference/business-solutions/bookings/resources/resources-v2/introduction.md) associated with the [staff members](https://dev.wix.com/docs/api-reference/business-solutions/bookings/staff-members/staff-members/introduction.md) providing the service. Note that these are the resource GUIDs, not the staff member GUIDs.  For appointment-based services, set this field when creating or updating the service. For classes and courses, this field is read-only and is automatically derived from staff assigned to the service's recurring scheduled sessions. Staff assigned only to single, non-recurring events are not included. Once all of a staff member's upcoming recurring sessions have ended, their GUID is removed from this field. To retrieve the full list of staff for classes or courses, query the service's calendar events instead. Learn more about [retrieving staff for classes and courses](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/services-v2/sample-flows.md#retrieve-staff-members-for-a-class-or-course).  | validation: maxItems 220, format GUID
           - name: staffMemberDetails | type: StaffMemberDetails | description: Staff members details. Returned only if `STAFF_MEMBER_DETAILS` conditional field was specified.  
              - name: staffMembers | type: array<StaffMember> | description: Staff members providing the service. For appointments only.  | validation: maxItems 220
           - name: serviceResources | type: array<ServiceResource> | description: Information about which resources must be available so customers can book the service. For example, a meeting room or equipment. Some nested fields are only returned when specific conditional fields are requested: pass `RESOURCE_TYPE_DETAILS` to retrieve `resourceType.name`, and `RESOURCE_DETAILS` to retrieve `resourceDetails.resources`.  | validation: maxItems 8
              - ONE-OF: 
                 - name: resourceIds | type: ResourceIds | description: IDs of specific [resources](https://dev.wix.com/docs/api-reference/business-solutions/bookings/resources/resources-v2/introduction.md) assigned to this service resource. Each GUID must reference a resource within the specified `resourceType`.  When set, only these resources are considered for availability and booking. When not set, all resources of the specified resource type are eligible.  
                    - name: values | type: array<string> | description: Values of the resource GUIDs.  | validation: maxItems 100, format GUID
              - name: resourceType | type: ResourceType | description: Details about the required [resource type](https://dev.wix.com/docs/api-reference/business-solutions/bookings/resources/resource-types-v2/introduction.md).  
                 - name: _id | type: string | description: The type of the resource.  | validation: format GUID
           - name: extendedFields | type: ExtendedFields | description: Extensions enabling users to save custom data related to the service.  
              - name: namespaces | type: object | description: Extended field data. Each key corresponds to the namespace of the app that created the extended fields. The value of each key is structured according to the schema defined when the extended fields were configured.  You can only access fields for which you have the appropriate permissions.  Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields.md).  | validation: format map
           - name: seoData | type: SeoSchema | description: Custom SEO data for the service.  
              - name: tags | type: array<Tag> | description: The tags rendered into <head>, in no particular order. Render order is decided by the renderer, not by position in this list.  No maxSize: this list is already populated by data written years ago, and a bound added now could reject a page that is already stored.  
                 - name: type | type: string | description: Legacy. Was a free-form string: "title" | "meta" | "script" | "link". The typed replacement is the `kind` oneof on `SeoSchemaV2.Tag`, which makes the invalid combinations unrepresentable rather than merely discouraged.  Which of these an API actually accepts depends on where the tag is being set: this list is not a blanket guarantee across every API that reuses this message. Site SEO Tags in particular accepts only `meta` (see `SiteSeoTags.tags`) and rejects `title`/`script`/`link` with a validation error even though they appear here — check the field description of the specific `tags`-typed field you are writing to.  Limitation: `title` and `script` (e.g. a `script` tag with `props.type` "application/ld+json" carrying structured data) are supported only when `custom` is unset or `false`. Setting `custom: true` on a `title` or `script` tag is rejected with `TAG_TYPE_NOT_ALLOWED`, because `custom: true` routes the write through the site's Advanced/Custom Tags list. To write structured data, omit `custom` (or set it to `false`).  No length limit: this field holds data written years ago by writers we are not migrating. A constraint here could reject a record that is already stored, which is exactly the promise this design makes.  
                 - name: props | type: object | description: Legacy. Was an untyped bag of HTML attributes. Typed replacement: `SeoSchemaV2.TitleTag` / `MetaTag` / `LinkTag`.  
                 - name: meta | type: object | description: Legacy. Was an untyped bag of 16 mixed-purpose keys. In `SeoSchemaV2` its contents are split by purpose: per-page structured-data state moves to StructuredDataTag, authorship to `written_by`, and render-time preset logic (variants, enabledByExperiment, removeSchemaIf*) moved out of the stored document entirely — it belongs to the preset definition, not to the page. See the design log for the full key-by-key mapping.  
                 - name: children | type: string | description: Legacy. Was the tag's inner content, doubling as the JSON-LD payload for script tags. Typed replacement: `SeoSchemaV2.TitleTag.text` and `StructuredDataTag.json_ld`. No length limit, for the same reason as `type` above.  
                 - name: custom | type: boolean | description: Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages) — i.e. an entry from the site's Advanced/Custom Tags list.  Setting this to `true` on a write restricts which `type` values are accepted — the same restriction the Advanced/Custom Tags UI enforces. `title` and `script` tags (including JSON-LD structured data) must be sent with `custom` omitted or `false`; sending them with `custom: true` is rejected with `TAG_TYPE_NOT_ALLOWED`.  Note this is a separate restriction from Site SEO Tags' own type restriction on `SiteSeoTags.tags`: even with `custom` unset, Site SEO Tags rejects `script` (e.g. for site-wide structured data) unconditionally. There is currently no way to set site-wide, every-page structured data through any of these APIs — write a per-page `script` tag through the Item SEO Tags API instead.  This flag is scoped to that feature only. It is NOT an indicator of whether a standard tag (`title`, `description`, Open Graph, etc.) reflects a manually configured value versus a computed default/pattern — standard tags always resolve with `custom: false`, even when their content comes from a page's manually saved SEO title/description override. Don't use this field to verify whether a live page reflects a manual per-page SEO edit.  Limitation: when `ResolveStaticPageSeoTags` is called without `seoData`, the per-page SEO data is read only from the Vibe/Wix-managed-headless override store. That store holds nothing for classic Wix Editor or Wix Studio pages, so even genuine Advanced/Custom Tags saved on those pages are missing from the response entirely — there, `false` means this API could not tell, not that no custom tag exists. Pass `seoData` explicitly to resolve against a known set of tags.  `SeoSchemaV2.Tag` expresses this as `written_by = USER_CUSTOM`.  
                 - name: disabled | type: boolean | description: Whether the tag is excluded from the rendered <head>.  A disabled tag is still stored, so the user can re-enable it and so a pattern-provided tag stays suppressed on this page. Default false.  
              - name: settings | type: Settings | description: Page-level SEO settings that are not themselves tags.  
                 - name: preventAutoRedirect | type: boolean | description: Whether to suppress the automatic redirect from this page's previous URL to its current one after a slug change.  Default false, meaning the redirect IS created. The field is named for the exception rather than the rule, which reads backwards; kept as-is because renaming a stored boolean is not worth the migration.  
                 - name: keywords | type: array<Keyword> | description: Keyword terms the user is targeting for this page. Used by the SEO assistant and checklist; never rendered into <head>.  20 is a sanity bound, not the product limit. v1 declared 5 — the number the panel happens to allow today — which is exactly the mistake we are fixing for structured data. A product decision to allow 8 should not need a proto release, so the panel owns that number and the proto only stops something absurd.  | validation: maxItems 20
                    - name: term | type: string | description: The term itself, e.g. "trail running shoes".  No maxLength, for the same reason as the legacy tag fields: keywords are already stored, and a bound added now could reject a record written before the bound existed. The flynt `missing-string-validations` warning on this field is accepted deliberately.  
                    - name: isMain | type: boolean | description: Whether this is the page's primary focus keyword. At most one per page.  
                    - name: origin | type: string | description: Which surface added the term, e.g. a panel or a suggestion flow. Used for attribution in BI. Opaque to the renderer.  | validation: maxLength 1000
           - name: addOnGroups | type: array<AddOnGroup> | description: Information about the [add-on groups](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/services-v2/about-add-on-groups.md) associated with the service.  | validation: maxItems 3
              - name: name | type: string | description: Name of the add-on group.  | validation: maxLength 100
              - name: maxNumberOfAddOns | type: integer | description: Maximum number of different [add-ons](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/add-ons/introduction.md) from the group customers can add when booking the service. When empty, there's no upper limit.  | validation: format int32
              - name: addOnIds | type: array<string> | description: List of GUIDs of all [add-ons](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/add-ons/introduction.md) included in the group.  | validation: maxItems 7, format GUID
              - name: prompt | type: string | description: Description or instructional prompt of the add-on group that's displayed to customers when booking the service.  | validation: maxLength 200
           - name: taxableAddress | type: TaxableAddress | description: Taxable address used to calculate tax  
              - name: taxableAddressType | type: TaxableAddressType | description: Taxable address type.  
                     - enum: BUSINESS, BILLING
           - name: primaryResourceType | type: string | description: GUID of the [resource type](https://dev.wix.com/docs/api-reference/business-solutions/bookings/resources/resource-types-v2/introduction.md) that serves as the primary resource for this appointment service. The primary resource type determines which resources drive slot assignment and availability resolution.  For example, when set to a "Meeting Rooms" resource type, availability is calculated based on the rooms' schedules rather than staff schedules.  Default: The staff resource type.  | validation: format GUID
 Return type: PROMISE<BulkUpdateServicesByFilterResponse>
  - name: jobId | type: string | description: GUID of the service update job.  Pass this GUID to [Get Async Job](https://dev.wix.com/docs/rest/business-management/async-job/introduction.md) to retrieve job details and metadata.  | validation: format GUID


```

### Examples

### bulkUpdateServicesByFilter
```javascript
import { services } from '@wix/bookings';

async function bulkUpdateServicesByFilter(filter,options) {
  const response = await services.bulkUpdateServicesByFilter(filter,options);
};
```

### bulkUpdateServicesByFilter (with elevated permissions)
```javascript
import { services } from '@wix/bookings';
import { auth } from '@wix/essentials';

async function myBulkUpdateServicesByFilterMethod(filter,options) {
  const elevatedBulkUpdateServicesByFilter = auth.elevate(services.bulkUpdateServicesByFilter);
  const response = await elevatedBulkUpdateServicesByFilter(filter,options);
}
```

### bulkUpdateServicesByFilter (self-managed)
Self-managed SDK calls require you to [create a client](https://dev.wix.com/docs/sdk/articles/work-with-the-sdk/about-the-wix-client.md).

```javascript
import { createClient } from '@wix/sdk';
import { services } from '@wix/bookings';
// Import the auth strategy for the relevant access type
// Import the relevant host module if needed

const myWixClient = createClient ({
  modules: { services },
  // Include the auth strategy and host as relevant
});


async function bulkUpdateServicesByFilter(filter,options) {
  const response = await myWixClient.services.bulkUpdateServicesByFilter(filter,options);
};
```

---