Hi @fitneshmaniaapp ,
You can fetch a product ID for an inventory item ID with a graphql query like this:
query GetProductIdFromInventoryItemId {
inventoryItem(id: "gid://shopify/InventoryItem/30322695") {
id
variant {
product {
id
title
}
}
}
}