commercetools icon

commercetools

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

Actions671

Associate-role → Query AssociateRoles

AI-generated

Summary

Retrieve a list of associate roles from the commercetools platform with optional filtering, sorting, pagination, and expansion of related resources.

Inputs

  • Filters — Collection of optional query parameters to filter and customize the results, including Expand (to expand reference objects), Sort (to specify sort order), Limit (to limit number of results), Offset (to skip a number of results), With Total (to include total count), and Where (to filter based on conditions).

Output shape

a list of associate role objects matching the query parameters

Supports optional filters for sorting, pagination, result expansion, and conditional querying. Returns JSON data as retrieved from the commercetools API associate roles query endpoint.

Examples

Example 1: Query associate roles filtered by a condition and sorted by name

Filters set with 'Where' for conditions and 'Sort' for ordering

Links

Discussion