commercetools icon

commercetools

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

Actions671

Product → Query Product Selections for Product by Product Key

AI-generated

Summary

Query product selections that include a specified product identified by its product key.

Inputs

  • Product Key (required) — The unique key of the product to find associated product selections.
  • Filters — Optional filters to customize the query results, including parameters for total count ('withTotal'), data expansion paths ('expand'), sorting order ('sort'), pagination controls ('limit' and 'offset'), and conditional expressions ('where').

Output shape

a list of product selection records associated with the specified product key

Response may include total count if 'withTotal' is specified. Supports optional filtering, sorting, expansion, and pagination via query parameters.

Examples

Example 1: Provide the product key and optional filters to retrieve product selections containing that product

Product Key is required. Filters such as limit and where clause can be set to tailor results.

Links

Discussion