I have implemented a webhook based order tracking for my app. So, whenever an order is placed I get a webhook with details of the order. The order has all the product information in line items apart from product image, tag and product_type. I wanted to be able to get those details in the order details itself. Can these details be added in the order webhook response? Is it possible?
As of now, I have to make another Product API call to get the information which I want to avoid.
Order API - https://help.shopify.com/en/api/reference/orders/order#show
Product API - https://help.shopify.com/en/api/reference/products/product#show
Solved! Go to the solution
This is an accepted solution.
Hi there!
Best wishes!
I came to the same conclusion after some research. The current graphsql just doesn't have those fields. Yes it would be nice to include those to save extra call. Thanks @KarlOffenberger for confirming. He's like an oracle!
User | Count |
---|---|
19 | |
15 | |
15 | |
14 | |
14 |