Shop API icon

Shop API

Call Shop API

Products → Search

AI-generated

Summary

Searches Shop API products by submitting a filter to the products search endpoint. Configure optional pagination controls to return one page or fetch additional pages.

Inputs

  • Request filter — Optional JSON object used as the search request body. Invalid JSON or a value that is not an object is ignored.
  • Get All Pages — Defaults to false. When enabled, requests pages of 100 products and continues while the response indicates more pages, subject to Max Pages.
  • Limit — Defaults to 20. Sets the page size when Get All Pages is off; values of 0 or less fall back to 20.
  • Max Pages — Optional cap on pages fetched when Get All Pages is enabled. No cap is applied when unset or set to 0.

Output shape

A list of n8n items, with each product returned as one item's JSON.

Searches with POST /v1/products/search. The response may be an array, an object with an items array, or a single object; the node converts these into individual items. With Get All Pages enabled, it follows hasMorePages or totalPages in the response and stops at Max Pages if configured.

Links

Discussion