Core resources
Administration
Booking flow
Units listed in a widget
id
uuid
Unique identifier
created_at
timestamp with time zone
Creation timestamp
updated_at
timestamp with time zone
Last modification timestamp
order
smallint
Order of the listing as displayed in the widget
url
jsonb
URL of the listing. Only applies when widget.interaction
is forward
{"id": "00000000-0000-0000-0000-000000000000","product_id": "00000000-0000-0000-0000-000000000000","widget_id": "00000000-0000-0000-0000-000000000000","created_at": "2024-12-21T14:28:24.532Z","updated_at": "2024-12-21T14:28:24.532Z","order": 0,"url": {}}
id
Filter<>
Unique identifier
product_id
Filter<>
Identifier of the related unit
widget_id
Filter<>
Identifier of the related widget
created_at
Filter<>
Creation timestamp
updated_at
Filter<>
Last modification timestamp
order
Filter<>
Order of the listing as displayed in the widget
url
Filter<>
URL of the listing. Only applies when widget.interaction
is forward
200
A list of widget listings with the selected columns
206
Partial Content
GET
/widget_listings
curl -X GET "https://api.bookingmood.com/v1/widget_listings?select=*" \ -H "Authorization: Bearer YOUR_API_KEY"
Partial<WidgetListing>
| Array<Partial<WidgetListing>>
201
The newly created widget listings with the selected columns
POST
/widget_listings
curl -X POST "https://api.bookingmood.com/v1/widget_listings" \ -H "Authorization: Bearer YOUR_API_KEY" \ -d '[]'
id
Filter<>
Unique identifier
product_id
Filter<>
Identifier of the related unit
widget_id
Filter<>
Identifier of the related widget
created_at
Filter<>
Creation timestamp
updated_at
Filter<>
Last modification timestamp
order
Filter<>
Order of the listing as displayed in the widget
url
Filter<>
URL of the listing. Only applies when widget.interaction
is forward
204
The deleted widget listings with the selected columns
DELETE
/widget_listings
curl -X DELETE "https://api.bookingmood.com/v1/widget_listings" \ -H "Authorization: Bearer YOUR_API_KEY"
id
Filter<>
Unique identifier
product_id
Filter<>
Identifier of the related unit
widget_id
Filter<>
Identifier of the related widget
created_at
Filter<>
Creation timestamp
updated_at
Filter<>
Last modification timestamp
order
Filter<>
Order of the listing as displayed in the widget
url
Filter<>
URL of the listing. Only applies when widget.interaction
is forward
Partial<WidgetListing>
204
The updated widget listings with the selected columns
PATCH
/widget_listings
curl -X PATCH "https://api.bookingmood.com/v1/widget_listings" \ -H "Authorization: Bearer YOUR_API_KEY" \ -d '{}'