Hi,
using CE edition 1.9, I am trying to find a way of adding comments to an order using the REST API, everything I look at tells me that there is no post option.
http://SERVERADDRESS/api/rest/order/ORDERID/comments
the above URL only seems to be able to be used as a GET and not as a POST
how would I add comments to an order using the REST API? is it even possible?
I am aware that the SOAP api supports this already, but using SOAP is not an option for my client.
thanks
Chris
I have tried to post to the above URL but I get "405 method not allowed"
<?xml version="1.0"?> <magento_api> <messages> <error> <data_item> <code>405</code> <message>Resource method not implemented yet.</message> </data_item> </error> </messages> </magento_api>
does anyone have a solution for this?
Look like you have to use SOAP
https://devdocs.magento.com/guides/m1x/api/soap/sales/salesOrder/sales_order.addComment.html