Merged orders results in an inactive order that is not reachable via API
When you merge 2 orders, one order ends up inactive. The surviving order has a advancedOptions.mergedIds array with order IDs that are not reachable. Asking for them gives you a 404. There should be a way to query an inactive order.