commercetools icon

commercetools

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

Actions671

Attribute-group → Query AttributeGroups

AI-generated

Summary

Retrieve a list of AttributeGroups from the commercetools platform with optional filtering, sorting, and pagination parameters.

Inputs

  • Filters — Optional filters to refine the query results, including 'expand' (to expand references), 'sort' (to specify sorting criteria), 'limit' (maximum number of results), 'offset' (starting position), 'withTotal' (boolean to include total count), and 'where' (predicate to filter results).

Output shape

a JSON object containing the queried list of AttributeGroups, including items and optional metadata such as total count when requested.

The output structure corresponds to the commercetools API response for AttributeGroups query, supporting filters as query parameters. Pagination and total count are optional based on input parameters.

Examples

Example 1: Retrieve up to 10 AttributeGroups sorted by name with total count included.

Set 'limit' to 10, 'sort' to the desired field (e.g., 'name asc'), and 'withTotal' to true in Filters.

Links

Discussion