Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

How to get complete order information via REST API

 
Reply
   X-Cart forums > X-Cart 5 > General questions (X-Cart 5)
 
Thread Tools Search this Thread
  #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

The following user thanks tony_sologubov for this useful post:
gior_08 (11-09-2018)
  #12  
Old 11-09-2018, 02:38 AM
 
gior_08 gior_08 is offline
 

Member
  
Join Date: Sep 2008
Posts: 23
 

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

Thanks a lot Tony.

By the way the REST API is a great tool to manage the data remote.
It has helped me a lot in interfacing with an external accounting program.

Just perfect !!!
__________________
Xcart 4.x.x
Xcart 5.x.x
Reply With Quote
  #13  
Old 11-09-2018, 02:41 AM
  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

Thank you a lot, @gior_08!
Such kindest words mean a lot to us!

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
  #14  
Old 06-15-2020, 05:54 PM
 
siddharth.puri@wheelandba siddharth.puri@wheelandba is offline
 

Advanced Member
  
Join Date: Nov 2019
Posts: 66
 

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

Hi,

I was following this thread and it is really helpful. I was able to retrieve a lot of order data.

However, I am stuck with one thing. I am wondering, if I am able to pull out the price for a specific membership for the variant in the order.

Let's say the product has variants and each variant has price specified for different memberships.

I want to retrieve the price for a specific membership for the variant in the order.

Thanks and Regards,
Sid
__________________
Version 5.3.6.6
Reply With Quote
Reply
   X-Cart forums > X-Cart 5 > General questions (X-Cart 5)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 02:46 PM.

   

 
X-Cart forums © 2001-2020