commercetools icon

commercetools

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

Actions671

Product Selection → Query Products in ProductSelection by ID

AI-generated

Summary

Query products within a specific Product Selection in commercetools by providing the Product Selection ID and optional filtering parameters.

Inputs

  • Product Selection ID (required) — The unique identifier of the Product Selection to query products from.
  • Filters — Optional collection of filters to refine the query, including where clause, withTotal flag, expand clause, limit, offset, and sort parameters.

Output shape

a JSON object representing the queried products in the specified Product Selection

The result shape follows commercetools' API response for querying products in a product selection. Outputs one item per input. Supports standard query parameters for filtering, pagination, expansion, and sorting. Returns an error object on failure if 'Continue On Fail' is enabled.

Examples

Example 1: Query products in a Product Selection by ID with optional filters to limit and sort the results.

Set 'Product Selection ID' to the target product selection's ID. Optionally set 'Filters' like 'limit', 'offset', 'where' to refine returned products.

Links

Discussion