Hi, I am using REST with filter location id and last update to pull latest inventory for items like /inventory_levels.json?location_ids=locationId&updated_at_min=lastDateTime
Now I want to perform same in GraphQL. Could you let me know best way to perform this with minimum API calls.
I tried below with Graph QL but its not providing me all updated QTYs. I am getting mismatch data when I run exact same filters on REST like REST sends me 50 records and GraphQL sends me 2.
{ inventoryItems( first: 100 after: null query: “updated_at:>2025-04-01”) { pageInfo { endCursor hasNextPage } nodes { createdAt id inventoryHistoryUrl legacyResourceId sku updatedAt harmonizedSystemCode countryCodeOfOrigin unitCost { amount currencyCode } inventoryLevel(locationId: “gid://shopify/Location/33068351570”) { createdAt id updatedAt quantities(names: “available”) { id name quantity updatedAt } } } } }