commercetools icon

commercetools

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

Actions671

Order → Delete Order by OrderNumber

AI-generated

Summary

Delete an order in commercetools by specifying its unique Order Number along with the current version number to ensure concurrency control.

Inputs

  • Order Number (required) — The unique identifier of the order to delete.
  • Version (required) — The current version of the order used to ensure that the deletion applies to the correct state and prevent conflicting modifications.

Output shape

a JSON object representing the deleted order or an error object if the deletion fails.

The operation requires both the Order Number and the Version as input parameters. If the order does not exist or the version is outdated, an error will be returned. The output contains the full response from the commercetools API after deletion.

Links

Discussion