delete
https://example.com/v2/shop/commercial-orders/
Deletes a commercial order and all associated logistic orders.
This operation is subject to access rights and business rules:
- The commercial order must have all related logistic orders in
DRAFT_ORDERstatus. - The authenticated user must belong to the account linked to the order (checked via
customer-account-idheader). - The user must have the permission flag
CHECKOUT_ORDER_DELETEenabled.
⚠️ Only REFERENCE-type IDs are accepted in the commercialOrderId path parameter.
Permissions: Requires a valid API key, client type, and deletion rights.
Multistore Support: Optional store view context header allows routing in multi-store environments.
