Adds a comment to a specified order
Adds a comment to a specified order.
Body
- 
    
  
Order status history interface. An order is a document that a web store issues to a customer. Magento generates a sales order that lists the product items, billing and shipping addresses, and shipping and payment methods. A corresponding external document, known as a purchase order, is emailed to the customer.
 
        POST
    /V1/orders/{id}/comments
  
  curl \
 --request POST 'https://magento2.winkelstraat.mac/rest/all/V1/orders/{id}/comments' \
 --data '{"statusHistory":{"comment":"string","created_at":"string","entity_id":42,"entity_name":"string","is_customer_notified":42,"is_visible_on_front":42,"parent_id":42,"status":"string","extension_attributes":{}}}'
    
        Request examples
  
  {
  "statusHistory": {
    "comment": "string",
    "created_at": "string",
    "entity_id": 42,
    "entity_name": "string",
    "is_customer_notified": 42,
    "is_visible_on_front": 42,
    "parent_id": 42,
    "status": "string",
    "extension_attributes": {}
  }
}
        Response examples (200)
  
  true
        Response examples (401)
  
  {
  "message": "string",
  "errors": [
    {
      "message": "string",
      "parameters": [
        {
          "resources": "string",
          "fieldName": "string",
          "fieldValue": "string"
        }
      ]
    }
  ],
  "code": 42,
  "parameters": [
    {
      "resources": "string",
      "fieldName": "string",
      "fieldValue": "string"
    }
  ],
  "trace": "string"
}
        Response examples (default)
  
  {
  "message": "string",
  "errors": [
    {
      "message": "string",
      "parameters": [
        {
          "resources": "string",
          "fieldName": "string",
          "fieldValue": "string"
        }
      ]
    }
  ],
  "code": 42,
  "parameters": [
    {
      "resources": "string",
      "fieldName": "string",
      "fieldValue": "string"
    }
  ],
  "trace": "string"
}