POST

Restore Event Defaults


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Restores the event's default values from the relevant schedule or MASTER event.

You must provide fields to specify which inheritedFields are restored.

For example, if you've created an event that takes place in a non-default location with a custom title and capacity, but you want to reset only title and capacity to default values without affecting the location, provide the event ID and set fields to ["TITLE", "CAPACITY"].

Refer to the default values article for more information.

Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
Manage Bookings - all permissions
Manage Bookings
Manage Calendars
Learn more about app permissions.
Endpoint
POST
https://www.wixapis.com/calendar/v3/events/{eventId}/restore-defaults

Event TriggersThis method triggers the following events:
Did this help?