However I’m getting response “Request failed with HTTP Code 404” back from the API. I’ve verified OrderID, LocationId & LineItemId they are correct (using dummy data in this post)
I’ve tried it with tracking_number: null, and also with no tracking number at all, but it’s always the same: 404.
It was working up until a few days ago.
I can’t figure out why it stopped working. I hope someone can help.
Hey @MikeMeshkati - thanks for getting in touch. Could you share an X-Request-ID that would have been sent out in the response headers for your API Call? There could be a few reasons why we might expect a 404 error here and having that ID would help us narrow down what could have happened in this specific case.
Hope to hear from you soon - happy to dig into this with you.
Hey Mike - no worries. I was able to do a little bit of digging on my end and based on the logs associated with that X-Request ID you shared the endpoint that was called was :“/admin/api/2022-07/orders/[ordernumber]/fulfillment.json”
Could you try using fulfillments.json instead of fulfillment.json as the endpoint and let us know if that works? This is the only reason why I could think you’d receive a 400 error on this as the rest of your info appears to be correct.
Hope this helps - as always let us know if we can clarify anything further on our end. Cheers!