The "variant_title" is blank in the line_items object in my orders webhook?
I have a few variants of a product, of different sizes, and I need to know what size the customer purchased is there a way to get this information from a orders/create webhook?
The variant ID does not help me because I need it to be Humanly readable.
I think you need to hit another API to get Variant info from variant_id.
After you get variant_id use this API - https://shopify.dev/docs/admin-api/rest/reference/products/product-variant#show-2021-01
Please check the screenshot.
Yes, @yackov If you're not getting info through webhook then you must need to call another API to get a specific variant info select by the user.
Hey, @yackov Please like and accept the solution if this helps you.
I appreciate your help. But unfortunately it does not solve my issue. I created a webhook in notifications in settings. I want to be able to know what size item the customervordered (That should be a basic piece of information). If I have to to initiate a API request that's a whole new thing for me (getting keys and five more steps...) and not so ideal.