commercetools icon

commercetools

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

Actions671

Associate Business Unit → Check if Business Unit Search index exists

AI-generated

Summary

Check the existence of the Business Unit Search index for an Associate Business Unit by performing an HTTP HEAD request to the appropriate commercetools API endpoint.

Inputs

None.

Output shape

a single JSON object indicating whether the search index exists, with properties 'exists' (boolean), 'statusCode' (number), and 'url' (string) of the checked endpoint.

The operation makes a HEAD API call; if the index exists, it returns { exists: true, statusCode: 200, url }. If not found, it returns { exists: false, statusCode: 404, url }. Other HTTP errors are thrown as exceptions. No additional input parameters are required for this check.

Links

Discussion