You are reading the documentation for SDK v2, which is no longer the latest version. Switch to current
inventoryEntriesQuery
Portion of the GraphQL query used in the getInventory API endpoint
inventoryEntriesQuery = "\n query inventoryEntries(
\n $where: String\n $sort: [String!]\n $limit: Int\n $offset: Int\n $locale: Locale!\n
) {\n inventoryEntries(\n where: $where\n sort: $sort\n limit: $limit\n offset: $offset\n ) {\n ...InventoryEntriesQueryResultFragment\n }\n }\n"