Jump to content

Webservices Changing Order Status Doesn't Send E-Mail


Recommended Posts

Hi,

I try to change order statuses automatically via webservices. It work's but it doesn't send any e-mails. I found this topic:

http://forge.prestashop.com/browse/PSCFI-884

 

but I don't know how to use orders api. I'm writting in C#:

 

 

<?xml version=\1.0\ encoding=\UTF-8\?> +

<prestashop xmlns:xlink=\http://www.w3.org/1999/xlink\> +

 

<order>

<id>

<![CDATA[ 10 ]]>

</id>

 

<current_state xlink:href=\http://shop/api/order_states/4\>

<![CDATA[ 4 ]]>

</current_state>

</order>

 

</prestashop>

 

accesing following web address http://shop.eu/api/orders/. And I got following request error:

 

The remote server returned an error: (400) Bad Request.

 

 

What am I doing wrong?

Thanks in advance for any help

Link to comment
Share on other sites

  • 2 weeks later...
  • 9 months later...
×
×
  • Create New...