commercetools icon

commercetools

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

Actions671

Associate Quote → Query Quotes in BusinessUnit as Associate

AI-generated

Summary

Query quotes associated with a specific Associate ID within a Business Unit identified by an Associate Quote Key, applying optional filters such as expand, sort, limit, offset, withTotal, and where clause to refine the results.

Inputs

  • Associate Quote Key (required) — The unique key identifying the Associate Quote to scope the query within the Business Unit.
  • Associate ID (required) — The identifier of the associate for whom the quotes are queried within the Business Unit.
  • Filters — Optional filters to refine the query results, including expand, sort, limit, offset, withTotal, and where predicate conditions.

Output shape

a JSON array containing the list of quotes matching the query within the specified Business Unit and Associate scope

The output includes the full quote objects as returned by the commercetools API for this query; pagination and filtering parameters directly affect the result set size and contents.

Examples

Example 1: Retrieve up to 10 quotes associated with an associate in a business unit, sorted by creation date descending, and include total count

Set 'Associate Quote Key' and 'Associate ID' to target the business unit and associate, set 'Limit' to 10, 'Sort' to 'createdAt desc', and 'With Total' to true in Filters.

Links

Discussion