commercetools icon

commercetools

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

Actions671

Customer → Delete Customer by ID

AI-generated

Summary

Delete a customer in commercetools by specifying their unique Customer ID and the current version number to handle concurrency.

Inputs

  • Customer ID (required) — The unique identifier of the customer to delete.
  • Version (required) — The current version of the customer object to ensure concurrency control; defaults to 1.

Output shape

a single JSON object representing the deleted customer resource as returned by the commercetools API

The operation requires a valid Customer ID and version number; the output includes the deleted customer data. If the version is out of date or the customer does not exist, an error is raised.

Links

Discussion