Update Order by using API

When I update the fulfillment status of order by using respective API, its not updated. But, when I update note of order by using respective API, it worked fine. So, I want to update the fulfillment status by using respective API. How can we overcome my problem? Kindly help me.

My request sample :

https://my_development_store/admin/api/2021-10/orders/4107536728217.json?

My json requestbody :

{
“order”: {
“id” : 4107536728217,
“fulfillment_status”: “shipped”,
}
}

Hi @Abubakar8144

The fulfillment status that you’re attempting to set is not one of the accepted values. The accepted values are fulfilled, null, or partial

You can read more about this here: https://shopify.dev/api/admin-rest/2021-10/resources/fulfillment#resource_object

Cheers!

I have tried these but it didn’t work. The value of fulfillment_status remains null. Kindly tell me the mistake in this code.

My json requestbody :

{
“order”:
{
“id”: 4247151902873,
“fulfillment_status”: “fulfilled”
}
}