Skip to main content

Revert To Receiving

POST 

/api/orders/revertordertoreceiving/:id

Tier: Public — stable, supported for third-party integration.

Reverts an order from Received back to Receiving, and raises OrderStateChanged on success.

Only valid from Received. Records an Enums.OrderTransactionType of RevertToReceiving on success. Uses the same CannotCompleteOrder error code as OrderController.RevertToAllocating(...) for a wrong-state rejection, which can be misleading since this action isn't a completion.

Request

Responses

Returns the reverted Orders.OrderDetailDto (state Receiving).