A space to discuss GraphQL queries, mutations, troubleshooting, throttling, and best practices.
to deactivate a certain location in the product, you need to have an inventory level id. How to get?
Solved! Go to the solution
This is an accepted solution.
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-inven...
Hope that helps.
- Kyle G.
Developer Support @ Shopify
- Was this reply helpful? Click Like to let us know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog
This is an accepted solution.
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-inven...
Hope that helps.
- Kyle G.
Developer Support @ Shopify
- Was this reply helpful? Click Like to let us know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog