| Parameter | Description |
|---|---|
| salesId | Sales Order ID whose status needs to be updated |
| orderStatus | New status of the order |
| reason | Reason for status update (recommended for Cancelled or Return status) |
| branch_id | Branch ID associated with the sales order |
| Field | Description |
|---|---|
| orderStatus | New order status to be applied |
| reason | Reason for status change |
salesId from the Sales APIs.Order confirmed status is available only when enabled in system settings.Cancelled or Return.curl --location '/api/v1/sales/30801778/update-order-status?branch_id=24448' \
--header 'api-token: a6f919n4-4370-47a6-ad48-d3d6f719e3b0' \
--header 'Content-Type: application/json' \
--data '{
"orderStatus" : "Order confirmed",
"reason": "Test"
}'{
"status": true,
"message": "Order status updated successfully",
"code": "200",
"response": null
}