commercetools icon

commercetools

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

Actions671

Customer → Check if Customer exists by ID

AI-generated

Summary

Check if a Customer exists in commercetools by providing the Customer ID, using a HEAD request to verify existence without retrieving full customer data.

Inputs

  • Customer ID (required) — The unique identifier of the Customer to check for existence.

Output shape

A JSON object containing 'exists' (boolean), 'statusCode' (HTTP status), and 'url' (the API endpoint checked).

The output indicates whether the Customer exists (true) or not (false). If the customer does not exist, the statusCode is 404. On other errors, an exception is thrown. This operation returns no customer details, only existence information.

Links

Discussion