commercetools icon

commercetools

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

Actions671

Custom-object → Delete CustomObject by Container and Key

AI-generated

Summary

Delete a commercetools Custom Object identified by the specified container and key at a given version.

Inputs

  • Container (required) — The container name that groups the custom object (string).
  • Key (required) — The unique key identifying the custom object within the container (string).
  • Version (required) — The current version of the custom object to ensure safe deletion (number, default is 1).

Output shape

a single JSON object with the deleted Custom Object's data or an error if deletion fails

Requires correct version number for concurrency control; errors are returned if the object does not exist or version mismatch occurs.

Links

Discussion