Is it possible to get inventory Level id using location id?

to deactivate a certain location in the product, you need to have an inventory level id. How to get?

Hey @Volodya_pr ,

That’s a great question. You can get that through the productVariant.InventoryItem field.

https://shopify.dev/docs/api/admin-graphql/2024-01/objects/ProductVariant#field-productvariant-inventoryitem

Hope that helps.

  • Kyle G.