Skip to main content
Version: 3.x

assignNavigation

Assigns storefront's navigation menus.

Requires one of the following permissions: MANAGE_MENUS, MANAGE_SETTINGS.

assignNavigation(
menu: ID
navigationType: NavigationType!
): AssignNavigation

Arguments

ID of the menu.

Type of the navigation bar to assign the menu to.

Type

AssignNavigation

Assigns storefront's navigation menus.

Requires one of the following permissions: MANAGE_MENUS, MANAGE_SETTINGS.