Shop API icon

Shop API

Call Shop API

Customer Groups → Search

AI-generated

Summary

Searches Shop API customer groups with an optional JSON filter. Returns matching records from one page or across multiple pages.

Inputs

  • filter — Optional JSON object sent as the search request body. Invalid JSON or a non-object value is ignored. The node sets the page and page size itself.
  • getAllPages — Defaults to false. When false, fetches one page; when true, fetches pages of up to 100 records until the API reports no more pages or the Max Pages limit is reached.
  • limit — Defaults to 20 and sets the page size when Get All Pages is false. Values at or below zero are reset to 20.
  • maxPages — When Get All Pages is true, optionally caps the number of pages fetched; unset or non-positive values do not impose a page cap.

Output shape

A list of n8n items, with each returned customer group as an item's JSON.

Posts to the customer group search endpoint. The response may be an array, an object with an items array, or a single object; results are normalized into individual items. With Get All Pages enabled, results from fetched pages are combined.

Links

Discussion