commercetools icon

commercetools

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

Actions671

Shopping-list → Query ShoppingLists

AI-generated

Summary

Query shopping lists in commercetools with optional filters to control sorting, pagination, and result details.

Inputs

  • Filters — Collection of optional query parameters to filter the shopping lists results, including: Expand (to include additional related resources), Sort (order of results), Limit (maximum number of results), Offset (number of results to skip), With Total (whether to include total number of results), and Where (filter expressions).

Output shape

a list of shopping list objects in JSON format

Supports pagination via Limit and Offset; filtering and sorting can be applied via corresponding query parameters; the output includes expanded referenced resources if requested; errors raise NodeApiError unless continueOnFail is enabled.

Examples

Example 1: Retrieve all shopping lists with a limit of 10 items, sorted by creation date descending.

Set Filters with Limit = 10 and Sort = 'createdAt desc'.

Links

Discussion