View Single Post
  #11  
Old 11-08-2018, 10:54 PM
  tony_sologubov's Avatar 
tony_sologubov tony_sologubov is offline
 

X-Cart team
  
Join Date: Jan 2009
Posts: 2,431
 

Default Re: How to get complete order information via REST API

Hi gior_08,

Quote:
Originally Posted by gior_08
following the help provided here https://devs.x-cart.com/rest-api/examples.html#changing-the-shipping-status-for-an-order, does anybody know if I change the shipping status (or the payment status) for an order the customer will get an email from the eshop?

I tested and I did not got an email and I was thinking if I make something wrong.

The notification sending routine is not triggered upon changing order's status via REST API.

You can create your own controller, which will send notification about order changing status.

The following articles might be helpful to you:
https://devs.x-cart.com/basics/controller_class.html
https://devs.x-cart.com/changing_store_logic/creating_custom_email_notifications.html (you can see an example of how to trigger sending email notification routine here)

Tony
__________________
Found a bug in X-Cart? Post it to our bug tracker!
Know how to make X-Cart better? Suggest an idea!
Reply With Quote