commercetools icon

commercetools

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

Actions671

Payment-method → Check if PaymentMethod exists by Query Predicate

AI-generated

Summary

Check if a PaymentMethod exists in commercetools by querying with a custom predicate.

Inputs

  • Filters — Specify the 'where' query predicate string to filter PaymentMethods according to commercetools query syntax.

Output shape

a single JSON object containing existence status and HTTP status code

Returns an object with 'exists' (boolean), 'statusCode' (number), and 'url' (string). No pagination or multiple results; it indicates presence based on the query predicate.

Links

Discussion