commercetools icon

commercetools

Interact with the commercetools API. Operations are auto-generated from the official Postman collection.

Actions671

Product → Search Products

AI-generated

Summary

Search products in commercetools using customizable boolean queries with sorting, limit, and offset controls.

Inputs

  • Query › And — A JSON array specifying the 'and' clause filters for matching products.
  • Sort (required) — A JSON array defining the sort criteria for the search results.
  • Limit (required) — A number indicating the maximum number of products to return.
  • Offset (required) — A number specifying the starting position within the result set from which to return products.

Output shape

a single JSON object containing the search results from the commercetools API, including product data and pagination information.

The response corresponds exactly to the commercetools product search API response structure. Limit and offset control paging. The 'Query › And' parameter allows complex filtering. Errors will throw unless 'Continue On Fail' is enabled, in which case error info is returned per item.

Links

Discussion