commercetools icon

commercetools

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

Actions671

Message → Query Messages

AI-generated

Summary

Query retrieves a list of messages from commercetools based on optional filters and pagination parameters.

Inputs

  • Filters — Optional filter parameters to customize the query results, including 'expand' to control expansion of references, 'sort' to define sorting order, 'limit' to restrict the number of returned messages, 'offset' for pagination, 'withTotal' to include the total count of results, and 'where' to apply a predicate filter.

Output shape

a list of message objects matching the specified query parameters, returned as a JSON array in the node's output

Supports optional pagination and filtering. Errors during execution will either cause the node to fail or return error information per item if 'Continue On Fail' is enabled.

Examples

Example 1: Query messages sorted by creation time, limited to 10, including total count

Set Filters: sort='createdAt desc', limit='10', withTotal='true'

Links

Discussion