commercetools icon

commercetools

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

Actions671

Product-type → Query ProductTypes

AI-generated

Summary

Query Product Types in commercetools using optional filters to control result sorting, pagination, and expansion of references.

Inputs

  • Filters — Optional parameters to filter and customize the query results, including: 'expand' to include referenced objects, 'sort' to order results, 'limit' to set max number of results, 'offset' for pagination offset, 'withTotal' to include total count, and 'where' for a predicate filter expression.

Output shape

a list of ProductType objects returned as JSON, potentially including metadata such as total count if requested

The operation performs a GET request with optional query parameters; an empty or default filter returns Product Types according to commercetools API defaults. Errors are reported per item unless 'continueOnFail' is enabled.

Links

Discussion