commercetools icon

commercetools

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

Actions671

Store Customer → Delete Customer in Store by ID

AI-generated

Summary

Delete a customer in a specific store by their customer ID and store key, requiring the current version number for concurrency control.

Inputs

  • Store Key (required) — The key identifying the store from which to delete the customer.
  • Store Customer Key (required) — The key identifying the store customer resource (appears unused in the source but required in properties).
  • Customer ID (required) — The unique identifier of the customer to be deleted in the specified store.
  • Version (required) — The current version number of the customer resource used for optimistic concurrency control to prevent conflicting deletions.

Output shape

a single JSON object representing the deletion result from the commercetools API, typically the deleted customer resource or an empty response, wrapped as a JSON item.

Operation sends an authenticated DELETE HTTP request with version as a query parameter. Throws an error if deletion fails. If multiple input items are given, returns an array of results corresponding to each invocation; errors can optionally continue workflow execution depending on node settings.

Examples

Example 1: Delete a customer in the store with key 'store123' by customer ID 'cust-abc-123' at version 5.

Set 'Store Key' to 'store123', 'Customer ID' to 'cust-abc-123', and 'Version' to 5.

Links

Discussion