Menus
"header"
or "footer"
. It is commonly used to fetch menus for a particular component in your theme, typically for dynamically rendering navigation or other UI elements. While "header"
is the default component, you can specify "footer"
where needed.Payload
menus.payload
string
enum<string>
required
"header"
or "footer"
Allowed values:
headerfooter
Default:
header
Response
Success
menus.response.success
status
number
required
success
boolean
required
data
array [anyOf]
required
object (MenuItems)
optional
object
optional
Usage
Header Example
Footer Example
In the case of using
Header
, the developer can use the example below to receive the data.
Events
onMenuFetched
onMenuFetchFailed
Modified at 2024-12-18 19:55:58