A simple update to the orders query could function similar to how you added the ability to query for holds and have data returned via webhook:
query {
orders (
mergeable: boolean
) {
data {
edges {
node {
legacy_id
}
}
}
}
}