commercetools icon

commercetools

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

Actions671

Order → head ByProjectKeyOrdersSearch

AI-generated

Summary

Check the existence and accessibility of orders matching search criteria in a commercetools project by sending a HEAD request to the orders search endpoint.

Inputs

None.

Output shape

a single JSON object indicating existence status, HTTP status code, and the searched URL

This operation sends an HTTP HEAD request to the orders search endpoint with applicable query parameters. It returns an object with 'exists' boolean (true if matching orders exist, false if none found), 'statusCode' (typically 200 if exists or 404 if not), and 'url' used in the request. No request body or additional input parameters are exposed through the node UI for this operation.

Examples

Example 1: Check if any orders match given search filters.

Use the 'Order' resource and the 'head ByProjectKeyOrdersSearch' operation. Supply search filters as query parameters hidden in the request or in the node's extended parameters, if available.

Links

Discussion