A space to discuss GraphQL queries, mutations, troubleshooting, throttling, and best practices.
When I call admin api to update the order tracking, there is an exception that returns 404.
In addition, I confirm to use fulfillment_ id to call this interface.
API: Updates the tracking information for a fulfillment
https url:
https://myshopdomain/admin/api/2022-04/fulfillments/4074256236714/update_tracking.json
http params:
{
"fulfillment": {
"notify_customer": false,
"tracking_info": {
"number": "MyTrackingNumber",
"url": "https://mytrackingdomain/tracking/index?trackingNumber=MyTrackingNumber",
"company": "Demo-Express"
}
}
}
http response (http status code is 404):
Hi @PaulYang - thanks for reaching out. I was able to confirm that the fulfillment ID you provided appears to be a valid one, so it is odd that it's not returning the expected response (per the documentation that you shared).
Could you share a Request ID ( also called a Shopify X-Request-ID) that would have be returned in the response headers to your API call? This would allow us to pull more in depth logs on our end so that we can see what may have caused the 404 response.
Hope to hear from you soon - let us know if we can clarify anything on our end.
Alan | API Support @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog
I'm having a similar issue when creating a fulfillment, 404 error. Line item/order/location ids are verified correct.
Seems to occur only on the 2022-07 api version. Reverting to 2022-04 fixes it.
EDIT:
here are some request ids so you can see what's happening. I can get more if you want.
eefcab8d-8914-4639-b78b-2092c3e10d09 c79851e0-0cd1-4900-9343-60bbc4b0f70e
469c482b-a014-40ec-8636-2efff54c9d01
9ceef986-9e59-4085-ac1e-f078de247d9a
I am also facing same issue. please help. Here is my request id in response: