- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2015
06:59 AM
10-22-2015
06:59 AM
Adding Order Comments using REST API
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
Labels:
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2015
07:02 AM
10-22-2015
07:02 AM
Re: Adding Order Comments using REST API
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>
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2015
01:50 AM
10-30-2015
01:50 AM
Re: Adding Order Comments using REST API
does anyone have a solution for this?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2018
08:26 AM
07-03-2018
08:26 AM
Re: Adding Order Comments using REST API
Look like you have to use SOAP
https://devdocs.magento.com/guides/m1x/api/soap/sales/salesOrder/sales_order.addComment.html