Change the order fullfillment and finanical status

Hi Guys,

I’m facing an issue in updating the order “financial_status” and “fulfillment_status”.

I’m using a third party for the delivery and after the delivery. I want to update the “financial_status”: “paid”, and “fulfillment_status”: fulfilled.

Write now I’m using this format to update it using the Postman put request but it’s not working.

{
“order”: {
“id”: “123456545”,
“fulfillment_status”: “fulfilled”,
“financial_status”: “paid”
}
}

url:https://myshopify.com//admin/api/2021-07/orders/123456545.json