What's your biggest current challenge? Have your say in Community Polls along the right column.
Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

get inventoryLevelId(s) from product creations with variants

get inventoryLevelId(s) from product creations with variants

alex0000
Shopify Partner
10 0 2

i made shopify inventory integration via graphql

problem
to manage stock from my products variant i have to get "inventoryLevelId"
but in the doc to get this i have to make 2 calls
1 with variant id to get "InventoryItem" id
1 with InventoryItem id to get "InventoryLevel" id

what i want
is it possible to get "inventoryLevelId" from productCreate methode graphql result ?
it its no possible how can i get at least variants data from products creation result ?

sincerely

Replies 0 (0)