Shop API icon

Shop API

Call Shop API

Offers → Search

AI-generated

Summary

Searches Shop API offers by sending a POST request to /v1/offers/search. Optionally provide a JSON filter and choose whether to retrieve one page or continue through available pages.

Inputs

  • Request filter — Optional JSON object sent as the search request body. Invalid JSON is ignored and an empty object is used.
  • Get All Pages — When enabled, requests pages of up to 100 records and continues while the response indicates more pages. Defaults to false.
  • Limit — Maximum records requested for the single page when Get All Pages is off. Defaults to 20; values at or below zero use 20.
  • Max Pages — Optional cap on pages fetched when Get All Pages is on. Unset or nonpositive values do not add a page cap.

Output shape

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

The search response may be an array, an object with an items array, or a single object. With Get All Pages enabled, pages are accumulated until the response reports no more pages or the configured Max Pages limit is reached.

Links

Discussion