cancel
Showing results for 
Search instead for 
Did you mean: 

Adding Order Comments using REST API

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

3 REPLIES 3

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>

Re: Adding Order Comments using REST API

does anyone have a solution for this?

Re: Adding Order Comments using REST API