Hi guys,
new to shopify API but have created an internal app and can communicate to see orders etc.
I am trying to get fulfillment id so I can update the tracking info and update the status.
I see https://myshop-2.myshopify.com/admin/api/2024-01/orders/6534376xxx/fulfillments.json but this returns
{
"fulfillments": []
}
I believe I then use
{
"fulfillment": {
"tracking_number": "new_tracking_number_123",
"tracking_urls": ["https://trackingurl.com/track/new_tracking_number_123"],
"tracking_company": "New Carrier Name",
"notify_customer": true
}
}
Why is the fulfillment blank?
Is this the correct approach.
Any help appreciated.