LoyaltyPointsApi
All URIs are relative to https://business.apis.kesk.app/v1
| Method | HTTP request | Description |
|---|---|---|
| getCurrentLoyaltyPoints | GET /loyalty-point/current | Get current loyalty points balance |
| getLoyaltyPointReport | GET /loyalty-point/report | Get loyalty point transaction history |
getCurrentLoyaltyPoints
LoyaltyPointResponse getCurrentLoyaltyPoints()
Get current loyalty points balance
Retrieves the authenticated user’s current loyalty points balance. Creates a new loyalty points account automatically if the user doesn’t have one yet.
Parameters
This endpoint does not need any parameter.
Return type
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json; charset=utf-8
getLoyaltyPointReport
PaginatedResponse_LoyaltyPointReportResponse getLoyaltyPointReport(page, per_page)
Get loyalty point transaction history
Retrieves a paginated list of all loyalty point transactions for the authenticated user showing points earned, redeemed, and any adjustments. Includes transaction reasons and dates.
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| page | Integer | Page number for pagination (default: 1) | [optional] [default to null] |
| per_page | Integer | Number of items per page (default: 20) | [optional] [default to null] |
Return type
PaginatedResponse_LoyaltyPointReportResponse
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json; charset=utf-8