In most cases, the 404 error would only be returned if the app is authenticated on the correct store and if the ID number entered for the fulfillment order is incorrect. If you’re still seeing errors, we would recommend double checking the fulfillment order number to ensure it’s valid - and also to confirm if you’re querying the ID of the fulfillment order and not the ID of the fulfillment itself.
Hope this helps - if you’ve confirmed that the ID is valid and you are still seeing error responses, just reply back here with an X-Request-ID from your response headers and we’d be happy to keep looking into this with you.
Hi, I am confirmed that I am passing the correct order id on end point https://store-url/admin/api/2023-01/fulfillments.json but in response I am gating
Hi, @dakshyafreond first you need to make this api call /admin/api/2023-01/orders/{order_id}/fulfillment_orders.json to retrieves a list of fulfillment orders for a specific order from that response you will get fulfillment order id and line item id, you need to pass that value to https://store-url/admin/api/2023-01/fulfillments.json
{
“fulfillment”: {
“message”: “The package was shipped this morning.”,
“notify_customer”: false,
“tracking_info”: {
“number”: 1562678
},
“line_items_by_fulfillment_order”: [
{
“fulfillment_order_id”: fulfillment order id,
“fulfillment_order_line_items”: [line item id]
}
]
}
}