HTTP status 409. An API key request can get this code.
The order cannot change that way from its current status.
Recovery
Read the order again and act on its current status.
Branch on code, not on the text of detail. Give Affinity the requestId when you report a problem.