We are trying to update our Shopify fulfilment with the latest endpoint (/admin/api/2023-01/fulfillments/{order_id}/update_tracking.json). But it is not working, we are getting error as “404 NOT FOUND”. We tested it in DEV environment.
We tried with order_id (4899467231487) and passed payload as
For order fulfilment, right now we are using this endpoint (admin/api/2022-01/orders/{order_id}/fulfillments.json) which is working. But as per Shopify before 31st March 2023 we need to change this URL to new URL (as suggested by Shopify Support /admin/api/2023-01/fulfillments/{order_id}/update_tracking.json). We tried with the update_tracking POST action but it is not working we received 404 Not Found error.
Please help us with this. For reference we are attaching the Postman screenshots.
Only difference we found for both endpoints is location ID in payload.
Subject: Replacement of fulfilment endpoint from current endpoint (admin/api/2022-01/orders/{order_id}/fulfillments.json) to latest endpoint in 2023-01 (we tried with this endpoint /admin/api/2023-01/fulfillments.json as per the documentation suggest)
We are using dev-gol-ca store for DEV environment in our project.
Q1. Does all the deprecated endpoints are replaced/active in this dev-gol-ca store or not? If not, please suggest how we can activate this endpoint in our store? Or can you please provide the store name and required access to the store where all the new endpoints are available, so that we can test.
Q2. Please find our observation on fulfilment endpoint below and suggest the way forward.
For order fulfilment, right now we are using this endpoint (https://dev-gol-ca.myshopify.com/admin/api/2022-01/orders/{order_id}/fulfillments.json) which is working. But as per Shopify before 31st March 2023 we need to change this URL to new URL as suggested by Shopify Support we tried with this POST: https://dev-gol-ca.myshopify.com/admin/api/2023-01/fulfillments.json endpoint but it is not working we received “404 Not Found” error.
We provided payload as
{
“fulfillment”: {
“message”: “The package was shipped this morning.”,
Hey @DeepikaBimmini - the endpoints should be available for all stores, including developer preview stores. Can you confirm what action you’re trying to take with the POST call? Are you trying to create a new fulfillment or update the tracking details?
With the new fulfillment API we no longer allow fulfillments to be created, instead, they are created automatically when needed and are then managed using fulfillment orders and fulfillment events. You still can update tracking details using the fulfillment resource through the update_tracking.json endpoint here.
If we have an idea of what you need to accomplish with your call, we can help provide some next steps.
Hope this helps - and please reply back here if we can help out further!