Topics covering webhook creation & management, event handling, Pub/Sub, and Eventbridge, in Shopify apps.
One possible solution could be to use the StoreFront API to retrieve the missing variables. You can use the product ID obtained from the webhook to fetch the product details using the StoreFront API.
Here's an example query that you can use to retrieve the feature image and price range using the StoreFront API:
query getProduct($id: ID!) {
product(id: $id) {
id
featuredImage {
originalSrc
}
priceRange {
maxVariantPrice {
amount
currencyCode
}
minVariantPrice {
amount
currencyCode
}
}
}
}