Unable to update order

Hello Shopify Community,

I am listening to the orders/create webhook on my server and creating the order in my delivery partner’s system. After successfully creating the order, I need to update the fulfillment status in Shopify along with the tracking URL.

However, on my Node.js server, the webhook data contains an empty fulfillments array. According to the API documentation, I need to pass the fulfillmentOrderId to update the order status.

How can I retrieve the fulfillmentOrderId for an order in this scenario? Any guidance would be greatly appreciated!

Thanks!

I have resolved this issue. We can close it. Thank you.