Why am I getting a 'Not Found' error when fulfilling an order via API?

Why am I getting a 'Not Found' error when fulfilling an order via API?

madamror
Shopify Partner
10 0 1

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"
Copy

 

 

 

 
 
The response is 

 

 

{"errors": "Not Found"}
Copy

 

 

 
What am I missing?
Reply 1 (1)

magecomp
Shopify Partner
458 31 47

Hello @madamror 

 

  • Check the fulfillment order ID you are using to make sure it is correct.
  • Check the Shopify admin to see if the fulfillment order has been created.
  • Check the Shopify admin to see if the fulfillment order has been deleted.

If you have checked all of these things and you are still getting the error message "Not Found", you can contact Shopify support for help.

Helping voluntarily. Please like and accept the solution if it helps. Thanks!
Our Bestseller Shopify Apps    |      Mobile App Builder by MageComp    |      Shoplock Hide Pages/Collections

Need a developer?  Just visit MageComp website