I'm trying to update the order status and add an order comment. I've found by looking at the Swagger reference that the best endpoint for this is likely:
/rest/V1/orders/9/comments
To which I'm posting the following array to:
{
"statusHistory": {
"comment": "Transferred",
"created_at": "2018-06-01 15:22:04",
"entity_id": 9,
"is_customer_notified": 0,
"is_visible_on_front": 1,
"status": "transferred"
}
}
However, when I check the order in Magento Admin it's updating the order status to "transferred" correctly but isn't actually adding a comment to the order at all.
Magento Version: 2.2.3