commercetools icon

commercetools

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

Actions671

Associate Quote Request → Check if QuoteRequest exists in BusinessUnit by Query Predicate as Associate

AI-generated

Summary

Check the existence of a Quote Request within a Business Unit for a specified Associate using a query predicate filter.

Inputs

  • Associate Quote Request Key (required) — The key identifier of the Quote Request resource to check.
  • Associate ID (required) — The identifier of the Associate within the Business Unit.
  • Filters — Optional query predicate string to refine the search criteria for the Quote Request existence check.

Output shape

a single JSON object indicating existence

The output includes an 'exists' boolean field, HTTP status code, and the URL used for the HTTP HEAD request. It performs an HTTP HEAD request to determine existence, returning exists=false if a 404 status code is returned. Errors other than 404 result in execution failure.

Examples

Example 1: Check if a Quote Request with a specific key exists for an Associate, applying a filter predicate.

Provide the Associate Quote Request Key, Associate ID, and optionally set the 'Where' filter with the query predicate string to specify search conditions.

Links

Discussion