Shop API icon

Shop API

Call Shop API

Product Types → Search

AI-generated

Summary

Searches Shop API product types by sending a POST request to /v1/product-types/search. Returns matching records as n8n items, with optional pagination controls.

Inputs

  • Request filter — Optional JSON object sent as the search body. Invalid JSON or a non-object value is ignored.
  • Get All Pages — Defaults to false. When enabled, fetches pages of up to 100 records, stopping at the API’s pagination metadata or Max Pages.
  • Limit — Defaults to 20 and sets the page size when Get All Pages is off. Values of 0 or less use 20.
  • Max Pages — Optional cap on the number of pages fetched when Get All Pages is on.

Output shape

A list of n8n items, typically one per matching product type.

Each item contains a returned record under json. The response may be an array or an object with an items array; another truthy response is returned as one item. If the API returns no recognized results, the output is empty.

Links

Discussion