Show examples in:
Menu Item

In DatoCMS you can organize the different Models present in your administrative area reordering and grouping them, so that their purpose will be more clear to the final editor.

Object payload

id  string
RFC 4122 UUID of menu item expressed in URL-safe base64 format
type  string
Must be exactly "menu_item"
label  string  Example: "Posts"

The label of the menu item

position  integer  Example: 1

Ordering index

external_url  null, string

The URL to which the menu item points to

open_in_new_tab  boolean  Example: true

Opens link in new tab (to be used together with external_url)

item_type{ type: "item_type", id: item_type.id }, null

Item type associated with the menu item

item_type_filter{ type: "item_type_filter", id: item_type_filter.id }, null

Item type filter associated with the menu item (to be used together with item_type relationship)

parentnull, { type: "menu_item", id: menu_item.id }

Parent menu item

childrenArray of { type: "menu_item", id: menu_item.id }

Underlying menu items

Available endpoints