ReDoc documentation
Adds a comment to a specified order.
required | object (sales-data-order-status-history-interface) 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. |
200 Success.
401 Unauthorized
Unexpected error
{- "statusHistory": {
- "comment": "string",
- "created_at": "string",
- "entity_id": 0,
- "entity_name": "string",
- "is_customer_notified": 0,
- "is_visible_on_front": 0,
- "parent_id": 0,
- "status": "string",
- "extension_attributes": { }
}
}
true
Lists comments for a specified order.
200 Success.
401 Unauthorized
Unexpected error
{- "items": [
- {
- "comment": "string",
- "created_at": "string",
- "entity_id": 0,
- "entity_name": "string",
- "is_customer_notified": 0,
- "is_visible_on_front": 0,
- "parent_id": 0,
- "status": "string",
- "extension_attributes": { }
}
], - "search_criteria": {
- "filter_groups": [
- {
- "filters": [
- {
- "field": "string",
- "value": "string",
- "condition_type": "string"
}
]
}
], - "sort_orders": [
- {
- "field": "string",
- "direction": "string"
}
], - "page_size": 0,
- "current_page": 0
}, - "total_count": 0
}