Get Warehouse Per each order

May you please help me in an issue while filtering orders , there are two fields to map warehouse in response one of them is
shipments{
warehouse{
identifier
}
}

and the other one is :
line_items(first: 10) {
edges {
node {
sku
warehouse
}
}
}

which one should I depend on?

Hey @ahmadMamdouh,

Thanks for reaching out!

In the first example that will return the warehouse identifier but not the id, which is returned in the second example. Using the response from the second example, you can filter by warehouse id.

Please let me know if you have any questions or concerns.

Best,
RayanP