If you have your own system and would like to get a progress of a mobile number at a loyalty program without our dashboard, we have just created an API allowing you to do just that. This API is for server to server communication, in case you have your own CRM system or something similar to manage your customer base.
- Url: https://mcpn.us/limeApi?ev=loyaltyProgramProgress
- You must supply all of the following parameters
- Parameters (case sensitive, bold are mandatory):
Return Code
- If the API succeeds then it will return with status code 200 with xml
- If an error occurs or there is an invalid parameter then it returns with status code 400 or 500 with an error message in the response.
Example:
https://mcpn.us/limeApi?ev=loyaltyProgramProgress&user=advertiseruser&api_id=a5SNH43WyAA83SWLK&loyaltyProgramId=123&mobile=15555555555
XML Response:
<?xml version="1.0" ?>
<loyalty>
<id>123</id>
<mobile>15555555555</mobile>
<punches>18</punches>
<checkPoint1>2</checkPoint1>
<checkPoint2></checkPoint2>
<checkPoint3></checkPoint3>
<checkPoint4></checkPoint4>
<goal>20</goal>
<punchType>Visits</punchType>
</loyalty>
Comments
0 comments
Article is closed for comments.