Jump to content

Webservice : add order without mail notification

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




Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More