Core resources


Administration


Booking flow

Site nav items

Items in the navigation bar of a site

The site nav item object

Attributes

iduuid

Unique identifier

parent_iduuid | null
site_nav_items.id

Identifier of the parent navigation item

site_iduuid
sites.id

Identifier of the site this navigation item is defined in

site_page_iduuid | null
site_pages.id

Identifier of the related page. Only applies when type is internal

created_attimestamp with time zone

Creation timestamp

labeljsonb

Localized label of the navigation item

orderinteger

Order of the navigation item as displayed on the site

targettext

Where the link is opened (_self, or _blank)

urljsonb

URL of the navigation item. Only applies when type is external

The site nav item object
{
"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-12-30T14:54:10.830Z",
"label": {},
"order": 0,
"target": "_self",
"url": {}
}

List site nav items

Filters

idFilter<>

Unique identifier

parent_idFilter<>

Identifier of the parent navigation item

site_idFilter<>

Identifier of the site this navigation item is defined in

site_page_idFilter<>

Identifier of the related page. Only applies when type is internal

created_atFilter<>

Creation timestamp

labelFilter<>

Localized label of the navigation item

orderFilter<>

Order of the navigation item as displayed on the site

targetFilter<>

Where the link is opened (_self, or _blank)

urlFilter<>

URL of the navigation item. Only applies when type is external

Responses

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"

Create site nav items

Body

Partial<SiteNavItem>
| Array<Partial<SiteNavItem>>

Responses

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 '[]'

Delete site nav items

Filters

idFilter<>

Unique identifier

parent_idFilter<>

Identifier of the parent navigation item

site_idFilter<>

Identifier of the site this navigation item is defined in

site_page_idFilter<>

Identifier of the related page. Only applies when type is internal

created_atFilter<>

Creation timestamp

labelFilter<>

Localized label of the navigation item

orderFilter<>

Order of the navigation item as displayed on the site

targetFilter<>

Where the link is opened (_self, or _blank)

urlFilter<>

URL of the navigation item. Only applies when type is external

Responses

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"

Update site nav items

Filters

idFilter<>

Unique identifier

parent_idFilter<>

Identifier of the parent navigation item

site_idFilter<>

Identifier of the site this navigation item is defined in

site_page_idFilter<>

Identifier of the related page. Only applies when type is internal

created_atFilter<>

Creation timestamp

labelFilter<>

Localized label of the navigation item

orderFilter<>

Order of the navigation item as displayed on the site

targetFilter<>

Where the link is opened (_self, or _blank)

urlFilter<>

URL of the navigation item. Only applies when type is external

Body

Partial<SiteNavItem>

Responses

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 '{}'