I’m having the same issue of not being able to send the fulfillments, and I tried this solution, and it didn’t work. The documentation says you should use endpoint
/admin/api/2023-07/orders/fulfillments.json. i.e don’t put the fulfillment id in the url. When I do that it returns no errors but doesn’t do it. So I added the fulfillment id per your suggestion and it now says. “Not Found”. I then changed the 2023 to be 2022 and it still returns “Not Found”. I verified the Fulfillment ID again and it is correct. Any ideas?
I’ve managed to get the call working. A couple of things to check are:
ensure you have the necessary read and write capabilities on the shop.
and that the fulfilment order id being used is the correct one (this is something I got wrong)
I use postman client to test the API calls - the first call was as @Milkbottlelough suggested https://{ShopName}.myshopify.com/admin/api/2023-07/orders/{OrderId}/fulfillment_orders.json
}
]
}
}
It should hopefully work.
I didn’t need to put in tracking information - I think this is an optional parameter.
Let me know if you get any luck with this approach.
Things have certainly become that bit more complicated on the API side of things when it comes to fulfillments but I guess that was inevitable as partial fulfilment functionality must have been a real head-scratcher for the Shopify devs to roll out without breaking lots of things already in the wild!
i.e. the /orders/{fulfillmentid} was removed and that does work. I had the correct GET part, but not the POST. Thank you for clarifying how to do it. I’m going to try to add tracking information now.
You are absolutely correct, typo on my part in the second URL - apologies.
I tried to edit my answer but I can’t as it’s the accepted solution. For anyone in the future who wanders on here the corrected urls in my solution are:
How did you mange this? As soon as we send in the initial fulfilment Shopify closes the fulfilment and rebuffs any further event or fulfilment messages with a “fulfilment closed” message and doesn’t alter the state nor update the customer. This means that once the fulfilment has been sent with tracking info and carrier, we cannot inform the customer of out for delivery or delivered