Revert To Allocating
POST/api/orders/revertordertoallocating/:id
Tier: Public — stable, supported for third-party integration.
Reverts an order from Allocated back to Allocating, and raises OrderStateChanged on success.
Only valid from Allocated. Records an
Enums.OrderTransactionType of
RevertToAllocating on success.
Request
Responses
- 200
- 400
- 401
- 403
Returns the reverted Orders.OrderDetailDto (state Allocating).
The order is not in Allocated state (CannotCompleteOrder); or the order id was not found (NotFound).
The caller is not authenticated.
The caller lacks Order Update permission.