Wix Rentals and the Bookings APIs

Wix Rentals has no APIs of its own. It stores its services, bookings, and calendar events in the same entities as Wix Bookings, using field values and restrictions specific to rentals.

This article maps each rentals concept to the API that manages it.

Services

A rental offering is a service with the following field values:

  • type is always APPOINTMENT.
  • appId is always ff5d6eb1-65e4-4f9a-8b14-64d34c12cc2e.
  • schedule.availabilityConstraints.durationRange replaces sessionDurations. These fields are mutually exclusive, so a service uses 1 or the other.
  • schedule.availabilityConstraints.durationRange.unitType is either HOUR or DAY. Each unit type has its own configuration:
    • Hourly services set hourOptions.minDurationInMinutes and hourOptions.maxDurationInMinutes. Both values range from 30 to 1440 minutes.
    • Daily services set dayOptions.minDurationInDays and dayOptions.maxDurationInDays. Both values range from 1 to 40 days. By default, each day runs from midnight to midnight.
    • Overnight services set dayOptions.timeBoundaries.type to OVERNIGHT and set dayOptions.timeBoundaries.overnightTimes.checkInTime and dayOptions.timeBoundaries.overnightTimes.checkOutTime. They're daily services with check-in and check-out times, for example a vacation house. For these services, minDurationInDays and maxDurationInDays are numbers of nights. Learn more about check-in and check-out times.
  • schedule.availabilityConstraints.workingHours.mode is optional and applies only to hourly services. When it isn't set, availability comes from the resources alone. Set it to INTERSECT_BUSINESS_WORKING_HOURS to accept rentals only while the business is open. Learn more about business working hours.
  • serviceResources lists the resource types the service requires, with 1 entry per type setting resourceType.id.
  • primaryResourceType holds a resource type ID instead of staff members. Wix derives availability from the schedules of the resources in that type. Learn more about Wix Rentals availability.
  • form.id is optional. On the services Wix Rentals creates it's the Wix Rentals default booking form, 3a2ea2ce-91f4-4617-ab24-629933c0c31a. Wix provisions that form when the app is installed, and its ID is identical on every site.
  • payment.rateType is either FIXED or VARIED. Learn more about pricing.

A service supports a single unit type. To rent the same resource by the hour and by the day, create a separate service for each.

Services created by Wix Rentals don't appear in the Wix Bookings services list. They appear in the Wix Rentals section of the site dashboard.

Learn more about duration range services.

Check-in and check-out times

To rent by the night with fixed check-in and check-out times, for example a vacation house, set schedule.availabilityConstraints.durationRange.dayOptions.timeBoundaries:

  • type: FULL_DAY or OVERNIGHT. When timeBoundaries isn't set, the service behaves as FULL_DAY.
  • overnightTimes.checkInTime: The check-in time on the first night, in HH:mm format. For example, 15:00. Required when type is OVERNIGHT.
  • overnightTimes.checkOutTime: The check-out time on the day after the last night, in HH:mm format. For example, 11:00. Required when type is OVERNIGHT.

Both times are in the business time zone, on the hour or half hour, and apply to every day of the week. The following rules apply:

  • Neither time can be 00:00.
  • The check-out time must be earlier than or the same as the check-in time, for example 11:00 and 15:00. If they're the same, each night lasts 24 hours.

If the times break a rule, the call fails with INVALID_OVERNIGHT_TIMES.

For an overnight service, each night runs from the check-in time to the check-out time on the next day. The price is per night.

Copy

Business working hours

To accept rentals of an hourly service only while the business is open, set schedule.availabilityConstraints.workingHours.mode to INTERSECT_BUSINESS_WORKING_HOURS. Wix then offers only slots that fit inside 1 continuous period of business working hours. Learn more about how business working hours affect availability.

Copy

Rental services support a single working hours mode, INTERSECT_BUSINESS_WORKING_HOURS. If you set INTERSECT_RESOURCE_HOURS or OVERRIDE_RESOURCE_HOURS, Create Service and Update Service fail with INVALID_WORKING_HOURS.

Pricing

A rental costs more the longer a customer keeps it. Wix Rentals uses the Pricing API to charge a service's base price as a rate per unit of time, rather than a flat price per session. The rate is per hour for an hourly service, per day for a full-day service, and per night for an overnight service. With a fixed rate, the final price is the base price multiplied by the number of units the customer books.

For an hourly service, Wix calculates the price at per-minute granularity, so a customer who books a partial hour pays a proportional amount. The price is the chosen duration in minutes multiplied by the base price divided by 60. On a service priced at $10 per hour, a 90-minute rental costs $15.

Because the price depends on the length of the rental, BookingLineItem also carries localStartDate, localEndDate, and timeZone. To show the customer an estimated price before creating the booking, call Preview Price with these fields. Learn more about how customers select a duration.

Fixed rate

Set payment.rateType to FIXED and payment.fixed.price to the price per unit.

Pricing tiers

To charge different rates, set payment.rateType to VARIED and payment.varied.defaultPrice to the base rate. Then create a service option and its variants, with 1 variant per tier, each with its own price. The base rate applies when no tier matches.

A service uses 1 kind of tier:

  • Duration tiers: The option type is DURATION_RANGE. The price depends on the total length of the rental. Each variant's choices.durationRange sets unitType to HOUR or DAY, a range in dayOptions, in days, or in hourOptions, in minutes, and an optional name displayed to customers, for example 7+ nights. Wix selects 1 tier for the whole rental, and its rate applies to every unit.

  • Date tiers: The option type is DATE_TIME. The price depends on when the rental takes place. Each variant's choices.dateTime sets ruleType, the matching rule object, and an optional name, for example Weekend or Holiday season. The rule types are:

    • HOURS_AND_DAYS, in hoursAndDaysRule: Days of the week, optionally in a time window.
    • MONTHS, in monthsRule: Months of the year.
    • DATE_RANGE, in dateRangeRule: A date range. Set dateRangeRule.repeatsAnnually to true to repeat it every year.

    For a daily service, Wix prices each day or night separately, using the tier that matches its start. For example, with a Weekend tier for Fridays and Saturdays, Wix charges a stay from Thursday to Sunday the base rate for Thursday night and the weekend rate for Friday and Saturday nights. When more than 1 tier matches, the highest price applies.

    For an hourly service, Wix splits the rental where a tier starts or ends, and prices each part by the minute at its tier's rate. For example, with an Evening tier from 19

    to 23
    , Wix charges a rental from 17
    to 21
    the base rate for 2 hours and the evening rate for 2 hours.

Additional fees

Use payment.additionalFees to charge mandatory fees on top of the rental price, such as a cleaning fee. A service can have up to 5 fees. Each fee has:

  • name: The fee name displayed to the customer, 1 to 50 characters.
  • amount.value: The fee amount in the service currency, greater than 0. For a PER_UNIT fee, this is the amount per unit.
  • chargeType: PER_RESERVATION to charge the fee once per rental, or PER_UNIT to charge it for each hour, day, or night booked.

When you update additionalFees, the list you send replaces the existing fees. To keep a fee, including when you rename it, send it with its existing id. Wix removes fees you leave out.

Preview Price and Calculate Price return fees separately from the rental price:

  • priceInfo.calculatedPrice: The rental price without fees.
  • additionalFees on each line item: The fees applied. Each fee has:
    • feeId: The fee's ID in the service.
    • units: 1 for a PER_RESERVATION fee, or the number of hours or days for a PER_UNIT fee. For an overnight service, this is the number of nights. For example, 2 for a stay from Monday at 15
      to Wednesday at 11
      .
    • amount: The fee amount multiplied by units.
  • priceInfo.totalAdditionalFees: The sum of the fees.
  • priceInfo.calculatedPriceWithFees: The total the customer pays, calculatedPrice plus totalAdditionalFees. Returned only when at least 1 fee applies.

At checkout, Wix adds the fees to the eCommerce order.

Bookings

Wix Rentals stores reservations as bookings.

Duration fields

Rental bookings carry 2 additional read-only fields on bookedEntity.slot, which Wix populates only for services configured with a duration range:

  • durationUnitType: The booking unit, either HOUR or DAY.
  • durationUnitCount: The booked duration. When durationUnitType is HOUR, this is a number of minutes, so a 2-hour rental has a durationUnitCount of 120. When durationUnitType is DAY, this is a number of days. For an overnight service, this is the number of nights, so a stay from Monday at 15
    to Wednesday at 11
    has a durationUnitCount of 2.

Because both fields are read-only, don't set them when creating a booking. Wix derives them from the slot's start and end times.

Booking creation

Every rental reservation creates a single booking:

  • Hourly rentals: A single booking covers the selected time range. Call Create Booking with the customer's chosen start and end times.
  • Daily rentals: A single booking covers the full date range. Call Create Booking with startDate set to the start of the first day's slot and endDate set to the end of the last day's slot.

Wix sets bookedEntity.slot.allDay as follows, so don't set it yourself:

  • Full-day services: allDay is true. startDate is midnight on the first day and endDate is midnight on the day after the last day, interpreted in the slot's time zone. A rental from Monday to Wednesday inclusive therefore ends at midnight on Thursday.
  • Overnight services: allDay is false. startDate is the check-in time on the first night and endDate is the check-out time on the day after the last night. A stay with check-in at 15
    and check-out at 11
    , from Monday night to Tuesday night, starts on Monday at 15
    and ends on Wednesday at 11
    , for 2 nights. If the times don't match the service's check-in and check-out times, the call fails with SLOT_NOT_AVAILABLE.

Booking retrieval

Rental bookings appear in the business calendar alongside other booking types. To retrieve them, filter by the Wix Rentals app ID, as described in Identify Wix Rentals entities in the API.

Calendar events

Wix Rentals creates and updates calendar events automatically as bookings change. An hourly rental gets a single timed event, and a daily rental gets a single event covering the full range.

Important: Don't interact directly with Calendar APIs to manage rental bookings. Use the Create Booking and Cancel Booking methods instead.

Attributes

Resources can carry custom typed properties through the Bookings Attributes API. An attribute definition, such as string, number, or boolean, is created once per site, then per-resource values are set using the resource ID as the entityId.

For example, a vacation rentals business might define capacity as a number, bedType as a string, and hasWifias a boolean, then store per-room values that are displayed on the public site.

Forms

Wix Rentals uses the same Wix Forms integration as Wix Bookings. Provisioning creates the booking form under wix.rentals.form. Learn more about the Wix Bookings forms integration.

The Catalog Search API lets you query a site's service catalog and get back only the services that customers can book, each including availability data. In a single call, you can filter by business location, resource type, resource attributes, and an availability window.

To retrieve only rental services, specify the Wix Rentals app ID in the filter parameter, as described in Identify Wix Rentals entities in the API.

Catalog search complements the Time Slots V2 API used for Wix Rentals availability. Use catalog search to discover which rental services are available across the catalog, and Time Slots V2 to let the customer select a specific start and end time for a chosen service. Learn more about how catalog search matches an availability window for rentals.

See also

Last updated: 2 December 2026

Did this help?