Skip to content
Saleor
Esc
↑↓navigate↵open⌘Jpreview

Schema: Saleor 3.23.43Download SDLUpgrade guides

On this page

assignNavigation Mutation

Assigns storefront’s navigation menus.

Requires one of the following permissions:MANAGE_MENUSMANAGE_SETTINGS
assignNavigation(menu: ID, navigationType: NavigationType!): AssignNavigation

Returns

AssignNavigation

Show return type
type AssignNavigation {
  menu: Menu
  menuErrors: [MenuError!]! @deprecated(reason: "Use `errors` field instead.")
  errors: [MenuError!]!
}

Arguments

menu · ID

ID of the menu.

navigationType · NavigationType!

Type of the navigation bar to assign the menu to.


Schema: Saleor 3.23.43. Download SDL.

Last updated on April 13, 2026

Was this page helpful?