commercetools icon

commercetools

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

Actions671

Order → Delete Order by ID

AI-generated

Summary

Delete an existing order in commercetools by specifying its unique Order ID and current version number.

Inputs

  • Order ID (required) — The unique identifier of the order to delete.
  • Version (required) — The current version of the order to ensure concurrency control during deletion; defaults to 1.

Output shape

a single JSON object representing the deleted order response from the commercetools API or an error object if the deletion fails.

The deletion operation requires both Order ID and the correct version to succeed. If the specified version mismatches the current order version, the API returns an error indicating a conflict. No pagination applies. The response is the commercetools API's deletion confirmation or an error message encapsulated in the node output.

Links

Discussion