Skip to content

Cancel an order

Cancel an order line in Tradecloud when it is cancelled at the buyer.

  • Issued, In Progress, Rejected and Confirmed lines will become Cancelled immediately
  • Completed lines cannot be cancelled
  • Cancelled lines cannot be cancelled again

Cancelling by resending an order using the /order endpoint

Section titled “Cancelling by resending an order using the /order endpoint”

You can cancel the order or line by setting indicators.cancelled on either order or line level and updating the order using the Send order endpoint:

Cancelling by resending the order without the cancelled line using the /order endpoint

Section titled “Cancelling by resending the order without the cancelled line using the /order endpoint”

When your ERP system cannot cancel a line, but instead removes a line from the order, you can still cancel an order line by setting the indicators.cancelLineWhenMissing on order level and updating the order WITHOUT including the cancelled line using the Send order endpoint:

Cancelling by sending the cancelled indicator using the /order/indicators endpoint

Section titled “Cancelling by sending the cancelled indicator using the /order/indicators endpoint”

You can cancel the order or line by setting indicators.cancelled on either order or line level, using the Send order indicators endpoint to send the cancelled indicator to Tradecloud.

Revert the cancellation of a Cancelled line by setting the line-level indicator cancelled=false on the /order endpoint (or /order/single-delivery).

Unlike reverting a completion, reverting a cancellation always asks the supplier to act before the line is agreed again. The resulting status depends on whether the line was agreed with the supplier before:

  • If the line was never confirmed, it returns to Issued and the supplier is asked to confirm it.
  • If the line was confirmed and the agreed prices, delivery schedule and charge lines are unchanged, the supplier is asked to reconfirm them. The line becomes InProgress with in progress status OpenBuyerReconfirmationRequest.
  • If the line was confirmed and the agreed prices, delivery schedule or charge lines changed, and the line has no open shipment reschedule request, a buyer reopen request is created. The line becomes InProgress with OpenBuyerReopenRequest and the confirmed values stay in place until the supplier approves. See Reopen an order. An open shipment reschedule request leaves the line Cancelled. Reconfirming an unchanged agreement is unaffected.

Webhook subscribers receive CancelledOrderLinesRevertedByBuyer, or OrderLinesReopenRequestedByBuyer on the changed-agreement path.