Shop API icon

Shop API

Call Shop API

Preorders → Search

AI-generated

Summary

Searches Shop API preorders with an optional JSON filter and returns matching records. Choose whether to fetch one page or all available pages.

Inputs

  • filter — Optional JSON object sent as the search request body to filter preorders. Invalid JSON or a non-object value is ignored.
  • getAllPages — Defaults to false. When false, fetches one page; when true, fetches pages until the API reports no more pages, reaches totalPages, or the Max Pages limit.
  • limit — Defaults to 20. Page size when Get All Pages is false; values at or below zero fall back to 20.
  • maxPages — Optional cap on pages fetched when Get All Pages is true. A value above zero limits the number of pages; otherwise pagination continues according to the API response.

Output shape

A list of n8n items, one per preorder result.

Sends a POST request to /v1/preorders/search. Results are taken from an array response or an items array; another truthy response is returned as a single item. With Get All Pages enabled, the request uses a page size of 100 per page.

Links

Discussion