View Single Post
  #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,431
 

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