Core resources
Administration
Booking flow
Listed units on a site
id
uuid
Unique identifier
created_at
timestamp with time zone
Creation timestamp
updated_at
timestamp with time zone
Last modification timestamp
featured
boolean
Whether the listing is featured on the site
order
integer
Order of the listing as displayed on the site
slug
jsonb
Slug of the listing
{"id": "00000000-0000-0000-0000-000000000000","product_id": "00000000-0000-0000-0000-000000000000","site_id": "00000000-0000-0000-0000-000000000000","created_at": "2024-12-09T09:37:39.588Z","updated_at": "2024-12-09T09:37:39.588Z","featured": false,"order": 0,"slug": {}}
id
Filter<>
Unique identifier
product_id
Filter<>
Identifier of the related unit
site_id
Filter<>
Identifier of the site this listing is defined in
created_at
Filter<>
Creation timestamp
updated_at
Filter<>
Last modification timestamp
featured
Filter<>
Whether the listing is featured on the site
order
Filter<>
Order of the listing as displayed on the site
slug
Filter<>
Slug of the listing
200
A list of site listings with the selected columns
206
Partial Content
GET
/site_listings
curl -X GET "https://api.bookingmood.com/v1/site_listings?select=*" \ -H "Authorization: Bearer YOUR_API_KEY"
Partial<SiteListing>
| Array<Partial<SiteListing>>
201
The newly created site listings with the selected columns
POST
/site_listings
curl -X POST "https://api.bookingmood.com/v1/site_listings" \ -H "Authorization: Bearer YOUR_API_KEY" \ -d '[]'
id
Filter<>
Unique identifier
product_id
Filter<>
Identifier of the related unit
site_id
Filter<>
Identifier of the site this listing is defined in
created_at
Filter<>
Creation timestamp
updated_at
Filter<>
Last modification timestamp
featured
Filter<>
Whether the listing is featured on the site
order
Filter<>
Order of the listing as displayed on the site
slug
Filter<>
Slug of the listing
204
The deleted site listings with the selected columns
DELETE
/site_listings
curl -X DELETE "https://api.bookingmood.com/v1/site_listings" \ -H "Authorization: Bearer YOUR_API_KEY"
id
Filter<>
Unique identifier
product_id
Filter<>
Identifier of the related unit
site_id
Filter<>
Identifier of the site this listing is defined in
created_at
Filter<>
Creation timestamp
updated_at
Filter<>
Last modification timestamp
featured
Filter<>
Whether the listing is featured on the site
order
Filter<>
Order of the listing as displayed on the site
slug
Filter<>
Slug of the listing
Partial<SiteListing>
204
The updated site listings with the selected columns
PATCH
/site_listings
curl -X PATCH "https://api.bookingmood.com/v1/site_listings" \ -H "Authorization: Bearer YOUR_API_KEY" \ -d '{}'