Cancellation depends on the order type, the portal you use, and the order status. Open the correct order, then follow its guide.
Merchant portal
Partner portal
For a partner inbound, follow Cancel an inbound.
If cancellation is unavailable or fails, contact support with the order number. Cancellation may still involve charges for operations that have already started.