get inventoryLevelId(s) from product creations with variants

Shopify Partner
10 0 2

i made shopify inventory integration via graphql

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 ?


Replies 0 (0)