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

How can i pull loyalty points for the customer.
 
Reply
   X-Cart forums > X-Cart 5 > Modules and themes (X-Cart 5)
 
Thread Tools Search this Thread
  #1  
Old 07-24-2018, 08:31 AM
 
tparmar tparmar is offline
 

Member
  
Join Date: Jun 2018
Posts: 10
 

Default How can i pull loyalty points for the customer.

I want to pull customer, order and loyalty point data via rest API. I know there is a API for the order and Customer. But how can i pull the Loyalty points associated with the customer?
__________________
Xcart 5.3
Reply With Quote
  #2  
Old 07-24-2018, 11:44 AM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default Re: How can i pull loyalty points for the customer.

Quote:
Originally Posted by tparmar
I want to pull customer, order and loyalty point data via rest API. I know there is a API for the order and Customer. But how can i pull the Loyalty points associated with the customer?


Hi there.
Loyalty Program module does not support REST API by default, unfortunately.
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote
  #3  
Old 07-25-2018, 01:55 AM
  tony_sologubov's Avatar 
tony_sologubov tony_sologubov is offline
 

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

Default Re: How can i pull loyalty points for the customer.

Hi Tanmay,

Thanks for your question and welcome to X-Cart forums!
You can pull reward points value using REST API, if you request particular user profile, e.g.
http://localhost/xcart/admin.php?target=RESTAPI&_key=KEY&_path=profile/7

Search for 'rewardPoints' field in the response and you will get needed info. You might also be interested in 'rewardEvents' field.

Please, let me know if it is any help for you.

Tony

Quote:
Originally Posted by tparmar
I want to pull customer, order and loyalty point data via rest API. I know there is a API for the order and Customer. But how can i pull the Loyalty points associated with the customer?
__________________
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:
tparmar (07-26-2018)
Reply
   X-Cart forums > X-Cart 5 > Modules and themes (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 04:30 AM.

   

 
X-Cart forums © 2001-2018