Skip to main content
Version: 202601

List menus

GET 

/openapi/2026-01/menus

List the store's menus (navigation). Supports filtering by ids and hiding disabled items.

Request​

Query Parameters

    ids string[]

    Optional menu ids to filter, e.g. ?ids=header&ids=1790649397502042737

    hide_disabled boolean

    When true, hide disabled menu items

    page int32

    Page number

    page_size int32

    Page size, defaults to 100

Responses​

OK

Schema
    codestring

    error code

    messagestring

    error message

    data object
    menus object[]

    Menu list

  • Array [
  • idstring

    Menu ID; built-in menus are header and footer

    titlestring

    Menu title

    categoryint32

    Menu category:

    • 1: Header menu
    • 2: Footer menu
    • 3: Custom menu
    children object[]

    All menu items as a flat list in display order; rebuild the tree via pid

  • Array [
  • idint64

    Menu item ID

    titlestring

    Menu item title

    origin_typeint32

    Numeric code of the link type, paired with type (e.g. -1 web, 0 no link, 1 product, 2 collection, 3 page, 15 home)

    typestring

    Link type, e.g. home, product, collection, page, article, blog, web; 0 means no link

    source_idstring

    ID of the linked resource (product, collection, page, etc.)

    urlstring

    Link URL

    pidint64

    Parent menu item ID; 0 for a top-level item

    statusint32

    Menu item status

    disabledint32

    Whether the item is disabled: 1 disabled, 0 enabled

    targetstring

    Link target, e.g. _blank opens in a new window

    url_obj object

    Link object

    typestring

    Link type, same values as the menu item's type

    source_idstring

    ID of the linked resource

    urlstring

    Link URL

    titlestring

    Title of the linked resource; not populated in the menu list

    expandedboolean

    Whether the item is expanded in the editor; always false in the menu list

  • ]
  • ]
  • totalint32

    Total number of menus

    pageint32

    Current page number

    limitint32

    Page size

    has_moreboolean

    Whether more pages exist