Shop API icon

Shop API

Call Shop API

Contacts → Search

AI-generated

Summary

Searches Shop API contacts by sending a POST request to /v1/contacts/search. Returns each matching contact as an n8n item, with optional pagination across all pages.

Inputs

  • Request filter — Optional JSON object sent as the search body. Invalid JSON or a non-object value is ignored. The node sets its own page and pageSize values.
  • Get All Pages — Defaults to false. When enabled, requests pages of 100 records and continues according to the response's hasMorePages or totalPages fields.
  • Limit — Defaults to 20; used as pageSize when Get All Pages is false. Values of 0 or less 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 impose a cap.

Output shape

A list of n8n items, one per returned contact.

Accepts an API response that is an array, an object with an items array, or a single object; each result is emitted as an item's json. An empty result array produces no items. With Get All Pages enabled, pagination stops when the response indicates there are no more pages, reaches totalPages, or hits Max Pages.

Links

Discussion