> 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

## Resource: Default Values

## Article: Default Values

## Article Link: https://dev.wix.com/docs/api-reference/business-management/calendar/default-values.md

## Article Content:

# Default Values

Default values in [schedules](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/introduction.md)
and `MASTER` [events](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/introduction.md)
streamline event creation by acting as templates for fields like `title` and
`location`. These defaults allow events to inherit specified values unless
explicitly overridden, simplifying setup and ensuring consistency across related
events. You can identify which event fields have inherited values by checking
the event's `inheritedFields` array.

When default fields for a schedule or `MASTER` event are updated, future
events that inherit these values automatically reflect the changes, while
past events retain their original values.

## Override default values

To override a default value, specify that field when
[creating](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/create-event.md)
or [updating](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/update-event.md)
the event. Set a field to `null` to generate an empty value.

## Restore default values

To revert overridden fields to their default values, use
[Restore Event Defaults](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/restore-event-defaults.md).
Provide the relevant event ID and specify which fields to restore. For instance,
if an event has custom values for `location`, `title`, and `capacity`, but you
want to reset only the `title` and `capacity` to their defaults (leaving
`location` unchanged), include the event ID and set `fields` to
`["TITLE", "CAPACITY"]`.

## List of default fields in the `schedule` object

The values of the following fields in the
[schedule object](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/event-object.md)
serve as defaults for [event objects](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/event-object.md):

| Default field in `schedule`      | Affected field in `event`   |
|----------------------------------|-----------------------------|
| `defaultTitle`                   | `title`                     |
| `timeZone`                       | `timeZone`                  |
| `defaultLocation`                | `location`                  |
| `defaultCapacity`                | `capacity`                  |
| `defaultConferencingDetails`     | `conferencingDetails`       |

## Additional default fields for `MASTER` events

For single-occurrence events, defaults only come from the schedule. However,
`INSTANCE` and `EXCEPTION` events can inherit additional values from the
associated `MASTER` event.

| Default field in `MASTER` event  | Notes                            |
|----------------------------------|----------------------------------|
| `start`                          | Shown as `TIME` in `inheritedFields`. |
| `end`                            | Shown as `TIME` in `inheritedFields`. |
| `resources`                      |                                  |
| `participants`                   |                                  |

## How Wix Bookings uses default values

Wix Bookings utilizes the
[service](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/introduction.md)
`name` as `defaultTitle` in the relevant schedule. When the business owner
updates the service `name`, these changes occur automatically:

- The `defaultTitle` of the relevant [schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/introduction.md) is updated.
- The `title` for all future [events](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/introduction.md) belonging to that schedule is updated, while titles of past events remain unchanged.