Shop API icon

Shop API

Call Shop API

Categories → Search

AI-generated

Summary

Searches Shop API categories by sending a JSON filter to the categories search endpoint. Returns matching categories as n8n items, with optional pagination across all result pages.

Inputs

  • Request filter — Optional JSON object used as the search request body. Invalid JSON or a non-object value is ignored.
  • Get All Pages — Defaults to false. When enabled, requests pages of 100 results and continues while the response indicates more pages or provides a total page count.
  • Limit — Defaults to 20 and is used as the page size when Get All Pages is off. Values at or below zero fall back to 20.
  • Max Pages — When Get All Pages is enabled, optionally caps the number of pages fetched; unset or non-positive values do not add a cap.

Output shape

A list of n8n items, one per category returned.

The operation sends a POST request to /v1/categories/search. It accepts either an array response, an object with an items array, or a single response object; each result becomes an item's JSON. If the response is not an array or an object with an items array, a truthy response is returned as one item.

Links

Discussion