Jump to content

Webservice : add order without mail notification


Sterk

Recommended Posts

Hi all,

I am trying to create order without email notification to admin.

Order is created successfully

so i use this :

 $opt = array('resource' => 'orders');
            $opt['postXml'] = $xml->asXML(); 
            $xml = $webService->add($opt);
            $id_order = $xml->order->id;

but i recieve an "new order" email to admin@email

How can i create a order with api without sending email ?

I have tried this but whithout success :  $opt = array('resource' => 'orders?sendemail=0');

Thanks for any help

 

 

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...