Have your say in Community Polls: What was/is your greatest motivation to start your own business?
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.

Fulfillment API Issues

Fulfillment API Issues

roshanjha7878
Visitor
1 0 0

Hello there,
I am trying to Fulfill an Order with the tracking number using  the fulfillment API 2023-07 Version but I am getting an 404 Not Found Error.

 

Request URL : https://{{storeUrl}}/admin/api/2023-07/fulfillments.json

Payload : 

{
    "fulfillment": {
        "line_items_by_fulfillment_order": [
            {
                "fulfillment_order_id"order_id
            }
        ],
        "tracking_info": {
            "number""awb",
            "url""https://www.shipease.in/track-order/awb"
        }
    }
}
 
 
Response : 
{
    "errors""Not Found"
}
 
I have checked the URL and Order ID as well.
Please help with this API or If I am missing something.
Reply 1 (1)

lizk
Shopify Staff
246 58 78

Hi there 👋

You will need to use the fulfillment_order_id not the order_id.
You can check out this tutorial for how to fulfill orders with fulfillment orders! 

To learn more visit the Shopify Help Center or the Community Blog.