How to integrate bonus processing system PointLoyalty Manager with internet shop to do online calculations of bonus points using PointLoyalty REST API?
Typical tasks you have in your shop:
- Calculate bonus points or discount during the purchase.
- Show the amount of bonus points earned by the client once he enters his account.
- Modify the amount of bonus points if you redeem bonuses in your online shop.
The integration process step by step:
1. Register in PointLoyalty Manager, create loyalty programs, offers, etc
2. Call remote method to calculate bonus points during the purchase
http://www.pointloyalty.com/web20_details.html#actions (POST method)
Pay attention:
- If you want to use calculated amount as a discount – change shopping cart total price accordingly.
- If you want to demonstrate earned bonus points before actual payment take place (f.e. when a client puts an item to the shopping cart) – you will need to delete bonus points if client abandon the purchase. Use DELETE method in this case.
3. After client authentication – show the amount of accumulated bonus points. (If you only use discount – you will need this step)
http://www.pointloyalty.com/web20_details.html#members (GET method)
4. When registering a new client you will need to add her/him to bonus processing system
http://www.pointloyalty.com/web20_details.html#members (POST method)
Pay attention:
- You need to do this step if you want to create loyalty offers based on client attributes
- If you already have a big customer base – you will need to invoke this REST API method for all customers you have.
5. Bonus points redemption
Depending on how you plan to redeem bonus points (gifts, discounts, additional services, …) you will need to decrease amount of points after redemption take place.
- http://www.pointloyalty.com/web20_details.html#bonuses (DELETE method) – to completely clear client bonus points. In this case you will not be able to keep the record of transactions.
- http://www.pointloyalty.com/web20_details.html#adjustments (POST method) – adjust the amount of points on the client account. In this way you could use loyalty offers accounting for client purchase record.
6. If you plan to have loyalty offers based on your product categories (you might give points when purchasing certain product categories, not specific items) – you’ll need to submit this information using PointLoyalty Manager online application.
See also http://www.pointloyalty.com/contacts.html — «Technical links», DTD files.
On all integration issues and question contact our technical support: support@pointloyalty.com.