commercetools icon

commercetools

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

Actions671

Customer → Delete Customer by Key

AI-generated

Summary

Delete a customer in commercetools by specifying the customer's unique key and the expected resource version for concurrency control.

Inputs

  • Customer Key (required) — The unique key identifying the customer to be deleted.
  • Version (required) — The current version of the customer resource that must match for the delete operation to succeed, used for concurrency control.

Output shape

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

The operation requires authentication credentials for commercetools. If the version does not match the current resource version, the delete will fail. Errors are returned as API errors with descriptive messages.

Links

Discussion