Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

Update Tracking details of order

Update Tracking details of order

Delcaper
Shopify Partner
1 0 0

How to update the tracking information (number and URL) against order. 
I am below link but its throws 404 
https://shopify.dev/docs/api/admin-rest/2024-01/resources/fulfillment#post-fulfillments-fulfillment-...

 

 

 

 

 

 

 

curl --location 'https://maur-store-dev.myshopify.com/admin/api/2023-04/fulfillments/5694861508927/update_tracking.json' \
--header 'Content-Type: application/json' \
--header 'X-Shopify-Access-Token: 85023f5dd22e6448b66199afd670af3d' \
--header 'Cookie: _master_udr=eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaEpJaWs1WldObVlqTmhaUzFpWm1NekxUUmhPVE10T0dVNVppMWxOV0pqWkRkalptSTVaVFlHT2daRlJnPT0iLCJleHAiOiIyMDI1LTEyLTI5VDEyOjE0OjEyLjYwOFoiLCJwdXIiOiJjb29raWUuX21hc3Rlcl91ZHIifX0%3D--bae8efa479594b131bf40b8c7a7b16a179064949; _secure_admin_session_id=2f48482549f5fe45734fbc3048c20ae0; _secure_admin_session_id_csrf=2f48482549f5fe45734fbc3048c20ae0; request_method=POST' \
--data '{
    "fulfillment": {
        "notify_customer": true,
        "tracking_info": {
            "company": "SMCS",
            "number": "1Z001985YW99744790"
        }
    }
}'

 

 

 

{
"fulfillment": {
"notify_customer": true,
"tracking_info": {
"company": "UPS",
"number": "1Z001985YW99744790"
}
}
}

 

 

 


Error:-

{
"errors": "Not Found"
}

Please help me.
Thanks in advance.
Replies 0 (0)