Fetching ProductVariant from InventoryItem

Solved
Highlighted
Shopify Partner
9 0 0

Hi All,

 

Figuring my way around the API docs and I see that InventoryItem is a newly introduced construct but which maps 1-1 to ProductVariant. 

 

Question

Is there a way to get the ProductVariant from the InventoryItem (GET) API call?

As ProductVariant to InventoryItem is a 1-1 mapping, shouldn't we also have the ProductVariant ID in the inventory item GET response?

Kubric
Helping Brands convert customers with GIF's, Memes & Short Videos
0 Likes
Highlighted
Shopify Staff
Shopify Staff
1041 140 165

This is an accepted solution.

0 Likes