commercetools icon

commercetools

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

Actions671

Inventory → Delete InventoryEntry by ID

AI-generated

Summary

Delete an InventoryEntry in commercetools by specifying its Inventory ID and the version number.

Inputs

  • Inventory ID (required) — The unique identifier of the InventoryEntry to delete.
  • Version (required) — The current version of the InventoryEntry, required for optimistic concurrency control to prevent deletion conflicts.

Output shape

a single JSON object representing the deleted InventoryEntry.

The operation requires authentication with commercetools OAuth2 credentials. The version query parameter is mandatory for the deletion. Errors will throw exceptions unless the node is set to continue on failure.

Links

Discussion