Customer Reward Points
Request Parameters:
Shows reward point history.
URL: ../Api/Client/CustomerRewardPoints
Header:
Content-Type:application/json
Required Parameters : CustomerGUID, StoreId, CurrencyId, LanguageId
Case-1. Exception Response :
Parameter:
{
"ApiSecretKey":"i99b98d117m116a112o98k115c111",
"CustomerGUID":"496DBB2A-F9EB-4522-A804-B108693B69CE",
"StoreId": "",
"CurrencyId":"",
"LanguageId":"1",
"PageNumber":null
}
Response :
{
"Status": 0,
"Message": "Request cannot be empty",
"Data": null,
"ValidationMessage": [],
"ErrorMessage": null
}
Case-2. Success Response :
Parameter:
{
"ApiSecretKey":"i99b98d117m116a112o98k115c111",
"CustomerGUID":"496DBB2A-F9EB-4522-A804-B108693B69CE",
"StoreId": "1",
"CurrencyId":"1",
"LanguageId":"1",
"PageNumber":null
}
Response :
{
"Status": 1,
"Message": "Success",
"Data": {
"RewardPoints": [
{
"Points": 34,
"PointsBalance": "34",
"Message": "Earned promotion for order #21",
"CreatedOn": "2018-12-15T09:55:33.8176065",
"EndDate": "2019-01-29T09:55:33.7948683",
"Id": 0,
"CustomProperties": {}
}
],
"PagerModel": {
"CurrentPage": 1,
"IndividualPagesDisplayedCount": 5,
"PageIndex": 0,
"PageSize": 10,
"ShowFirst": true,
"ShowIndividualPages": true,
"ShowLast": true,
"ShowNext": true,
"ShowPagerItems": true,
"ShowPrevious": true,
"ShowTotalSummary": true,
"TotalPages": 1,
"TotalRecords": 1,
"FirstButtonText": "First",
"LastButtonText": "Last",
"NextButtonText": "Next",
"PreviousButtonText": "Previous",
"CurrentPageText": "Page {0} of {1} ({2} total)",
"RouteActionName": "CustomerRewardPointsPaged",
"UseRouteLinks": true,
"RouteValues": {
"pageNumber": 0
}
},
"RewardPointsBalance": 34,
"RewardPointsAmount": "$34.00",
"MinimumRewardPointsBalance": 0,
"MinimumRewardPointsAmount": "$0.00",
"CustomProperties": {}
},
"ValidationMessage": [],
"ErrorMessage": null
}