In This Article
Wix Bookings: Service Page
Following are the slots and APIs that are available when building a plugin for Wix Bookings' Service page.
Slots
The Service Page can host a single plugin that users are free to reposition within the page by reordering the Service Page sections:
Use the following placement
object when configuring your plugin in the Dev Center:
Copy
1{2 "appDefinitionId": "13d21c63-b5ec-5912-8397-c3a5ddb27a97",3 "widgetId": "a91a0543-d4bd-4e6b-b315-9410aa27bcde",4 "slotId": "slot1"5}
Plugin API
Use the following API to integrate with the plugin's host.
BOOKINGS_SERVICE
The BOOKINGS_SERVICE
API provides data about the current booking service.
Properties
Property | Type | Description |
---|---|---|
bookingsServiceId | String | ID of the Wix Bookings service that is currently applied on the plugin's host. |
Code example
Copy
1const {bookingsServiceId} = $widget.props;
Related Wix Backend APIs
In your Blocks widget or in your app's server code, you may want to perform actions or implement logic that is dependent on the current booking or related data.
You can do this using the Wix Bookings APIs (Velo and REST).
Was this helpful?
Yes
No