commercetools icon

commercetools

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

Actions671

Product-discount → Query ProductDiscounts

AI-generated

Summary

Retrieve a list of ProductDiscount entities from commercetools, optionally applying filters such as expand, sort, limit, offset, withTotal, and where to control the query results.

Inputs

  • Filters — Optional filter parameters to refine the query results, including:
  • Expand: To include referenced resources.
  • Sort: Criteria to order the results.
  • Limit: Maximum number of results to return.
  • Offset: Number of results to skip.
  • With Total: Whether to include the total count of matching results.
  • Where: A predicate to filter which product discounts are returned.

Output shape

a list of product discount objects with details as returned by the commercetools API

The returned output is the JSON response from the commercetools API matching the query parameters provided. Error in API call will throw or return error objects if 'Continue On Fail' is enabled.

Links

Discussion