inventoryLevel returns empty quantities array

We started to use inventoryLevel quantities instead of available and incoming fields as they are deprecated in 2024-04. From time to time we see empty quantities array. Although the REST API and old 2024-01 graphql still returns available and incoming fields as 0.

Tracked field is true and managed by shopify. Can someone tell how we should treat it when we see an empty array instead of fields filled with zeros?

Example query on 2024-01 (which still works) to see all the values including available and incoming

{
          inventoryLevel(
            id: "gid://shopify/InventoryLevel/1134407?inventory_item_id=52545163067760"
          ) {
            id
            updatedAt
            createdAt
            canDeactivate
            deactivationAlert
            item {
                tracked
            }
            available
            incoming
            quantities(names: ["incoming", "available", "committed", "damaged","on_hand","quality_control", "reserved","safety_stock"]) {
              quantity
              name
            }
          }
        }
{
    "data": {
        "inventoryLevel": {
            "id": "gid://shopify/InventoryLevel/1134407?inventory_item_id=52545163067760",
            "updatedAt": "2025-01-03T08:35:46Z",
            "createdAt": "2025-01-03T08:35:46Z",
            "canDeactivate": true,
            "deactivationAlert": null,
            "item": {
                "tracked": true
            },
            "available": 0,
            "incoming": 0,
            "quantities": []
        }
    },
    "extensions": {
        "cost": {
            "requestedQueryCost": 3,
            "actualQueryCost": 3,
            "throttleStatus": {
                "maximumAvailable": 20000.0,
                "currentlyAvailable": 19997,
                "restoreRate": 1000.0
            }
        }
    }
}

x-request-id: 72d27463-e5b8-4d7b-be73-2127cfd95fdb-1735895699
date: Fri, 03 Jan 2025 09:14:59 GMT

If you view the product in Shopify, is it stocked at that location?

If you use the inventory Item ID and location to do it this way around, is an ID returned?

query getInventoryLevelID($inventoryItemID: ID!, $locationID: ID!) {
    inventoryItem(id: $inventoryItemID) {
      inventoryLevel(locationId: $locationID) {
        id
      }
    }
  }

Hey @JordanFinners ,

We already have inventoryLevel’s id if you check the response above. We see similar responses on some of the merchants. Doc doesn’t explain the difference between an empty array and array filled zeros. I expect clarification from Shopify Team.