All skills
wix avatar

/wix-manage

@4895cc9 official
by Wix.comwix/skills33 stars
33

REST recipes to configure and manage a Wix site's business solutions — stores, bookings, payments, CMS, and more. Open the matching recipe for the exact endpoint, method, and payload before calling — never guess a Wix API, never write Wix dashboard URL from memory. Routes to: stores, bookings, get-paid, CMS, contacts, forms, media, app-installation, pricing-plans, restaurants, ricos rich-content, sites, blog, calendar, domains, events, site-properties, ecommerce, marketing, google-ads, google-business-profile, analytics, accessibility, seo, dashboard-navigation.

Use this Skill: https://skilld.dev/gh/wix/skills/wix-manage

This session only. Nothing lands on disk.

referencesbookingsbooking-service-policy-setup.md

≈1.8k tokens on demand. Your agent reads this file only when SKILL.md points to it.

Technical Step-by-Step Instructions: Configuring Wix Bookings Service Policies (Real-World, API-First)

Description

Below are the recommended steps to successfully configure booking, cancellation, and waitlist policies for Wix Bookings services. This recipe covers policy inheritance, service-specific overrides, and common policy configurations for different business models.


Overview

Wix Bookings policy configuration allows businesses to set rules for:

  • Booking policies: When customers can book, how far in advance, booking deadlines
  • Cancellation policies: Cancellation deadlines, refund rules, fees
  • Waitlist policies: When waitlists are enabled, capacity handling
  • Group booking policies: Maximum participants per booking

Policies are standalone entities managed by the Booking Policies API (/bookings/v1/booking-policies), not fields nested on the service:

  • Installing Wix Bookings creates a "Default policy" (default: true) that every new service references.
  • Each service points at exactly one policy via its bookingPolicy field; many services can share a policy.
  • To change rules site-wide, update the default policy. To give one service different rules, create a separate policy and reference it from that service.

IMPORTANT NOTES

  • A default policy exists on any site with Wix Bookings installed — even before any service exists. "Set a cancellation window" is always actionable by updating the default policy.
  • Policy updates are PATCH-style: send only the sub-policies you want to change, plus the current revision (fetched via query/get) inside the bookingPolicy object.
  • Policy options are the same across service types (APPOINTMENT, CLASS, COURSE).

Steps

1. Find the Policy to Change

Query existing policies (POST https://www.wixapis.com/bookings/v1/booking-policies/query):

{ "query": { "cursorPaging": { "limit": 100 } } }

For a site-wide change, pick the policy with "default": true. For a specific service, read the service first — its embedded bookingPolicy.id names the policy it uses. Save the policy's id and revision.

2. Update the Policy

PATCH https://www.wixapis.com/bookings/v1/booking-policies/<POLICY_ID> with the current revision inside the bookingPolicy object and only the sub-policies you're changing. Example — cancellations allowed up to 24 hours before the session:

{
  "bookingPolicy": {
    "id": "<POLICY_ID>",
    "revision": "<CURRENT_REVISION>",
    "cancellationPolicy": {
      "enabled": true,
      "limitLatestCancellation": true,
      "latestCancellationInMinutes": 1440
    }
  }
}

Field map (business rule → policy field):

Business rule Sub-policy fields
Cancellation deadline cancellationPolicy.{enabled, limitLatestCancellation, latestCancellationInMinutes}
Reschedule deadline reschedulePolicy.{enabled, limitLatestReschedule, latestRescheduleInMinutes}
How far ahead customers can book limitEarlyBookingPolicy.{enabled, earliestBookingInMinutes}
Booking notice / last-minute cutoff limitLateBookingPolicy.{enabled, latestBookingInMinutes}
Booking after session start (courses/classes) bookAfterStartPolicy.enabled
Waitlist waitlistPolicy.{enabled, capacity, reservationTimeInMinutes}
Participants per booking participantsPolicy.{enabled, maxParticipantsPerBooking}

3. Per-Service Policies (Optional)

To give one service different rules, create a new policy (POST https://www.wixapis.com/bookings/v1/booking-policies) and point the service at it by updating the service's bookingPolicy reference (see Update Service).

4. Verify Policy Application

Read the service (GET /bookings/v2/services/<SERVICE_ID>) — the response embeds the full resolved bookingPolicy, so you can confirm the effective rules exactly as customers will experience them.

IMPORTANT NOTES

  • Revision required: Every policy update needs the current revision inside bookingPolicy; fetch it first, or the PATCH fails.
  • Partial updates: Send only the sub-policies you're changing; the rest keep their values.
  • Enabled flags matter: Each sub-policy has an enabled (and often a limit*) boolean — setting only the minutes value without enabling the limit has no effect.
  • Time calculations: Policy deadlines are calculated from the booking's start time, in minutes (24 hours = 1440).

Troubleshooting Common Issues

Policies not applying:

  • Policies are separate entities — verify you PATCHed /bookings/v1/booking-policies/<id>, not fields on the service object (there is no service.policy field)
  • Confirm the service actually references the policy you changed (service.bookingPolicy.id)
  • Check the revision was current — a stale revision fails the update

Waitlist not working:

  • Verify waitlistPolicy.enabled is true and waitlistPolicy.capacity is set
  • Confirm the service has capacity configured (defaultCapacity for CLASS/COURSE)

Cancellation policies not enforced:

  • Set all three fields together: cancellationPolicy.enabled: true, limitLatestCancellation: true, and latestCancellationInMinutes — the minutes value alone has no effect without the booleans

Group booking limits not working:

  • Confirm participantsPolicy.enabled is true and participantsPolicy.maxParticipantsPerBooking is set
  • Check that the booking UI respects the participant limit

API Documentation References

Source: SKILL.md on GitHub

1 warning1d4 checks · Risk SAFE
  • Gen Agent Trust Hub1d

    The wix-manage skill is an extensive collection of management recipes for Wix sites, covering business solutions such as eCommerce, Bookings, SEO, and site provisioning. It utilizes official Wix REST endpoints and incorporates robust safety patterns, including mandatory user confirmation for sensitive operations and careful validation of site data before mutation.

  • Socket1d

    No alerts

  • Snyk1d

    Risk: MEDIUM · 1 issue

  • ZeroLeaks5mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at 4895cc9. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated yesterday
compatibility
Requires Wix REST API access (API key or OAuth).
  • wix
  • rest-api
  • ecommerce
  • bookings
  • cms
  • contacts
  • blog
  • domains
  • restaurants
  • site-configuration
  • api-integration

README badge

README badge for wix/skills/wix-manage

REST API operations for configuring Wix business solutions including stores, bookings, CMS, contacts, domains, and ecommerce. Routes to site setup, entity management (products, services, staff), bulk administrative operations, and server-to-server integrations across Wix's business app ecosystem.

Generated from the current SKILL.md.

Do I need API credentials to use these recipes?
Yes. The skill requires Wix REST API access via either an API key or OAuth token to execute any management operations.
Can I use these recipes to display data on my site frontend?
No. These recipes are for backend REST API operations only — site configuration, entity management, and administrative tasks. They do not cover frontend development or displaying data to users.
What business domains do these recipes cover?
The skill covers stores, bookings, payments, CMS, contacts, forms, media, apps, pricing plans, restaurants, rich content, sites, blogs, calendars, domains, and site properties.
Do these recipes handle OAuth authentication with external services like Google Calendar?
Yes. The external calendar integration recipe covers OAuth-based setup with Google Calendar, Microsoft Outlook, and Apple Calendar for bidirectional event sync.

Generated from the current SKILL.md. These answers refresh after source changes.