commercetools icon

commercetools

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

Actions671

Store Order → Delete Order in Store by OrderNumber

AI-generated

Summary

Delete a specific order identified by its order number within a given store in commercetools.

Inputs

  • Store Order Key (required) — The unique order number of the order to be deleted.
  • Store Key (required) — The key of the store where the order exists.
  • Version (required) — The current version of the order resource; required for concurrency control when deleting.

Output shape

a single JSON object

Returns the deleted order object on success. Requires correct version number to avoid version conflicts. Throws error if order not found or version mismatch.

Links

Discussion