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-09-08T00:35:49.077Z","updated_at": "2024-09-08T00:35:49.077Z","featured": false,"order": 0,"slug": {}}
id
Filter<uuid>
Unique identifier
product_id
Filter<uuid>
Identifier of the related unit
site_id
Filter<uuid>
Identifier of the site this listing is defined in
created_at
Filter<timestamp with time zone>
Creation timestamp
updated_at
Filter<timestamp with time zone>
Last modification timestamp
featured
Filter<boolean>
Whether the listing is featured on the site
order
Filter<integer>
Order of the listing as displayed on the site
slug
Filter<jsonb>
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<uuid>
Unique identifier
product_id
Filter<uuid>
Identifier of the related unit
site_id
Filter<uuid>
Identifier of the site this listing is defined in
created_at
Filter<timestamp with time zone>
Creation timestamp
updated_at
Filter<timestamp with time zone>
Last modification timestamp
featured
Filter<boolean>
Whether the listing is featured on the site
order
Filter<integer>
Order of the listing as displayed on the site
slug
Filter<jsonb>
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<uuid>
Unique identifier
product_id
Filter<uuid>
Identifier of the related unit
site_id
Filter<uuid>
Identifier of the site this listing is defined in
created_at
Filter<timestamp with time zone>
Creation timestamp
updated_at
Filter<timestamp with time zone>
Last modification timestamp
featured
Filter<boolean>
Whether the listing is featured on the site
order
Filter<integer>
Order of the listing as displayed on the site
slug
Filter<jsonb>
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 '{}'