When I receive a order/create webhook payload, that payload has the product_type field in the line_items object array, but product_type is showing “Unknown” instead of the type that is assigned to the product (“Tops” for what is actually assigned to that product).
I have the Product Type defined on the product in the Shopify store of “Tops”, but when it is ordered, the type simply says “Unknown” in the payload. I would expect this value to be “Tops” instead.
Hopefully Shopify address this inconsistency between the product type and what appears in webhooks.
In the meantime, a workaround would be: When you receive the webhook, use the product_id from each line item to make a follow-up API call to the Products API endpoint: GET /admin/api/2025-10/products/{product_id}.json
This will return the complete, accurate product data including the correct `product_type` value.
Or you could also use metafields or tags on your products as an alternative way to categorize them.