Core resources
Administration
Booking flow
Items in the navigation bar of a site
id
uuid
Unique identifier
site_page_id
uuid | null
Identifier of the related page. Only applies when type is internal
created_at
timestamp with time zone
Creation timestamp
label
jsonb
Localized label of the navigation item
order
integer
Order of the navigation item as displayed on the site
type
"external" | "internal"
Type of the navigation item, either internal
or external
url
text
URL of the navigation item. Only applies when type is external
{"id": "00000000-0000-0000-0000-000000000000","parent_id": "00000000-0000-0000-0000-000000000000","site_id": "00000000-0000-0000-0000-000000000000","site_page_id": "00000000-0000-0000-0000-000000000000","created_at": "2024-11-21T14:27:24.960Z","label": {},"order": 0,"type": "internal","url": ""}
id
Filter<>
Unique identifier
parent_id
Filter<>
Identifier of the parent navigation item
site_id
Filter<>
Identifier of the site this navigation item is defined in
site_page_id
Filter<>
Identifier of the related page. Only applies when type is internal
created_at
Filter<>
Creation timestamp
label
Filter<>
Localized label of the navigation item
order
Filter<>
Order of the navigation item as displayed on the site
type
Filter<>
Type of the navigation item, either internal
or external
url
Filter<>
URL of the navigation item. Only applies when type is external
200
A list of site nav items with the selected columns
206
Partial Content
GET
/site_nav_items
curl -X GET "https://api.bookingmood.com/v1/site_nav_items?select=*" \ -H "Authorization: Bearer YOUR_API_KEY"
Partial<SiteNavItem>
| Array<Partial<SiteNavItem>>
201
The newly created site nav items with the selected columns
POST
/site_nav_items
curl -X POST "https://api.bookingmood.com/v1/site_nav_items" \ -H "Authorization: Bearer YOUR_API_KEY" \ -d '[]'
id
Filter<>
Unique identifier
parent_id
Filter<>
Identifier of the parent navigation item
site_id
Filter<>
Identifier of the site this navigation item is defined in
site_page_id
Filter<>
Identifier of the related page. Only applies when type is internal
created_at
Filter<>
Creation timestamp
label
Filter<>
Localized label of the navigation item
order
Filter<>
Order of the navigation item as displayed on the site
type
Filter<>
Type of the navigation item, either internal
or external
url
Filter<>
URL of the navigation item. Only applies when type is external
204
The deleted site nav items with the selected columns
DELETE
/site_nav_items
curl -X DELETE "https://api.bookingmood.com/v1/site_nav_items" \ -H "Authorization: Bearer YOUR_API_KEY"
id
Filter<>
Unique identifier
parent_id
Filter<>
Identifier of the parent navigation item
site_id
Filter<>
Identifier of the site this navigation item is defined in
site_page_id
Filter<>
Identifier of the related page. Only applies when type is internal
created_at
Filter<>
Creation timestamp
label
Filter<>
Localized label of the navigation item
order
Filter<>
Order of the navigation item as displayed on the site
type
Filter<>
Type of the navigation item, either internal
or external
url
Filter<>
URL of the navigation item. Only applies when type is external
Partial<SiteNavItem>
204
The updated site nav items with the selected columns
PATCH
/site_nav_items
curl -X PATCH "https://api.bookingmood.com/v1/site_nav_items" \ -H "Authorization: Bearer YOUR_API_KEY" \ -d '{}'