Methods to retrieve your store's navigation menus.

Fetches your store's navigation menus and saves them to an internal cache for accessing synchronously. Pass a menu ID to retrieve a single menu — calling menus() with no ID does not return the full list.

Retrieve all nav menus
await swell.get('/settings/menus')

Returns a single navigation menu object.

Get nav menu by ID
await swell.settings.menus('header')