I’m trying to fulfill an order (with all of its items) from the API
curl -d '{"fulfillment":{"line_items_by_fulfillment_order":[{"fulfillment_order_id":1234}],"tracking_info":{"number":"MS1562678","url":"https://www.my-shipping-company.com?tracking_number=MS1562678"}}}' \
-X POST "https://my-store.myshopify.com/admin/api/2022-04/fulfillments.json" \
-H "X-Shopify-Access-Token: xxxxx" \
-H "Content-Type: application/json"
The response is
{"errors": "Not Found"}
What am I missing?
1 Like
Hello @madamror ,
I am Gina from flareAI app helping Shopify merchants get $6Million+ in sales from Google Search, on autopilot. Hope you are having a good day.
The “Not Found” error typically indicates that the resource you are trying to access or modify does not exist. In this case, it seems that there might be an issue with the URL you are using to make the API request.
To fulfill an order using the Shopify API, you need to ensure that you have the correct URL and endpoint. A few troubleshooting steps.
Make sure the URL you are using in the API request is correct. Check you have correctly replaced “my-store” in the URL “https://my-store.myshopify.com/admin/api/2022-04/fulfillments.json” with the actual name of your Shopify store.
Ensure that the access token you are using in the “X-Shopify-Access-Token” header is valid and has the necessary permissions to fulfill orders. Make sure you have added the scopes needed to access fulfillments API.
Hope this helps
Gina