---
title: 'Shop By REST API'
url: 'https://info.srv.kowal.co/docs/magento/modules/layered-navigation-suite/layered-navigation-api'
markdown: 'https://info.srv.kowal.co/docs/magento/modules/layered-navigation-suite/layered-navigation-api.md'
lang: en
date: '2026-11-26'
description: 'Read and maintain Shop By attribute configurations and option pages through Magento REST. The two collections are exposed under `/V1/kowal/layered-navigation/shopby`.'
taxonomy:
  category:
    - docs
    - Magento
    - Catalog
---

# Shop By REST API

## Product page

[Layered Navigation Suite — kowal.co](https://kowal.co/kowal-layered-navigation-suite-for-magento-2)

## Description

Read and maintain Shop By attribute configurations and option pages through Magento REST. The two collections are exposed under `/V1/kowal/layered-navigation/shopby`.

## For whom

For developers connecting a catalog management tool to Shop By.

## Features

- List attribute configurations or option pages with GET.
- Create or update records with POST.
- Delete an attribute configuration by entity ID or an option page by page ID.

## Installation

This component is included in Layered Navigation Suite. Follow the [suite installation instructions](https://info.srv.kowal.co/docs/magento/modules/layered-navigation-suite).

## Configuration

1. Grant the Magento integration the Shop By resource `Kowal_LayeredNavigation::shopby` and authenticate using the integration’s configured method.
2. Send a GET request to `/rest/default/V1/kowal/layered-navigation/shopby/attributes`. Replace `default` with the applicable store code.
3. Use the sibling `option-pages` endpoint to retrieve configured pages. For a POST, send record fields inside the JSON object named `data`.

## Requirements / notes

The attribute endpoint lists Shop By configuration records. The entity ID used by its DELETE route identifies a configuration record.

## FAQ

**Can I read option pages for a single configured attribute?**

Add the query parameter `shopbyAttributeId` to the option-pages GET request and use the Shop By attribute record’s ID.

## Verify the installation

```sh
bin/magento module:status Kowal_LayeredNavigationApi
```

Issue an authenticated GET for attributes. Compare the returned records with **Shop By Attributes** in Admin. If the list is empty, check whether that screen contains a configured attribute.

---

## Navigation

- Parent: [Layered Navigation Suite](https://info.srv.kowal.co/docs/magento/modules/layered-navigation-suite.md)
- Previous: [Admin UI](https://info.srv.kowal.co/docs/magento/modules/layered-navigation-suite/layered-navigation-admin-ui.md)
- Next: [Shop By SEO](https://info.srv.kowal.co/docs/magento/modules/layered-navigation-suite/layered-navigation-seo.md)
