Fulfillment of orders via shopify API V 2023-07 i found error 404

Fulfillment of orders via shopify API V 2023-07 i found error 404

profakeer21
Shopify Partner
1 0 0

hi there

I am trying to create my own CRM to streamline both my online and offline order processes. Everything is working well, except for one issue that lies ahead – the fulfillment of orders via Shopify API V2023-07. I have shared the JSON payload below. Please help me address this problem.

 

{
  "fulfillment": {
    "line_items_by_fulfillment_order": [
      {
        "fulfillment_order_id": 4563442597945
      }
    ],
    "tracking_info": {
      "number": "329487230993879",
      "url": "https://www.my.office.in/329487230993879"
    }
  }
}

And URL is 
https://**myshopify.com/admin/api/2020-07/fulfillments.json

 

thank you all

Reply 1 (1)

Liam
Community Manager
3108 340 871

Hi Profakeer21,

 

You mention that you're using the API version V2023-07, but the URL you posted has the 2020-07 version - can you test again with the url being `https://**myshopify.com/admin/api/2023-07/fulfillments.json`? A few other things to look out for are:

  • Authentication: Ensure that you're properly authenticated when making the request. Typically, this means including a valid access token in the request header.
  • HTTP Method: When creating a fulfillment, you should be using the POST HTTP method. Ensure that you're not using GET or another method by mistake.
  • Fulfillment Order ID: Ensure that the fulfillment_order_id you provided (4563442597945) is valid and corresponds to an existing order that needs to be fulfilled.

Hope this helps!

Liam | Developer Advocate @ 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