> For the complete documentation index, see [llms.txt](https://landofcoder.gitbook.io/magento-2-megamenu/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://landofcoder.gitbook.io/magento-2-megamenu/config-and-usage/graph-ql.md).

# Graph Ql

Please setup module graphql at here:

{% embed url="<https://github.com/landofcoder/module-megamenu-graph-ql>" %}

It support schema as this:

1. Get menu profile by alias:

```
{
  megamenu (alias: "top-menu") {
    name
    alias
    disable_bellow
    event
    classes
    width
    disable_iblocks
    nodes {
        ...MegamenuItemNode
        child_nodes {
            ...MegamenuItemNode
            child_nodes {
                ...MegamenuItemNode
            }
        }
    }
  }
}
```

2\. Get list available menu profiles

```
{
    megamenus (
        filters: {}
        pageSize: 10
        currentPage: 1
    ) {
        items {
            name
            alias
        }
    }
}
```

3\. Get Store Config

```
storeConfig {
    megamenu_general_enabled
    megamenu_general_menu_alias
    megamenu_general_custom_css
}
```

<br>
