commercetools icon

commercetools

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

Actions671

Extension → Check if Extension exists by Query Predicate

AI-generated

Summary

Check whether an Extension exists in commercetools by executing a query with a 'where' predicate filter.

Inputs

  • Filters — Add a 'where' string filter to specify the query predicate used to find the Extension.

Output shape

a JSON object containing the commercetools API search response for Extensions matching the query predicate.

The output includes commercetools search results, which will indicate if Extensions matching the query exist. The 'where' filter is optional but needed to specify the search criteria. No pagination is explicitly handled here.

Examples

Example 1: Check if an Extension exists with a specific key

Set the 'where' filter to key="extension-key" to query for Extensions with that key and check if any exist.

Links

Discussion