If you just run a qbXML query with a FromModifiedDate
clause, it will give you exactly what you want.
Orders have their FromModifiedDate
timestamp set when they are created as well as modified, so you can use FromModifiedDate
to get orders that were created or modified within a date/time range.
There is no way to OR/AND the queries, but you don't need to do that anyway if you use the above approach.