The API retrieves a year-wise summary of points earned and expired for a customer enrolled in a specified program.
🚧This is a private API and is accessible only through Neo dataflows.
| |
|---|
| URI to be used in Neo dataflow | /das/getExpiredPointsByCustomerIdAndYear |
| HTTP method | GET |
| Pagination supported? | Yes |
| Rate limit | Based on Neo |
| Batch support | NA |
| Parameter(Parameters marked with * are mandatory) | Data Type | Description |
|---|
| point_category_id* | Integer | Identifier of the category under which the points were awarded. |
| program_id* | Integer | Unique identifier of the loyalty program. |
| entity_id* | Long | Unique customer ID of the customer whose details are retrieved. |
| page | Integer | Retrieve details of a specific page. Page count starts from 1. Example: page=2 retrieves data on page 2. |
| count | Integer | Number of results to display per page. The default value is 10. The maximum supported value is 100. |
| Parameter | Data Type | Description |
|---|
| customerId | Long | Unique customer ID of the customer whose details are retrieved. |
| year | DateTime | Year from which the point details are retrieved. |
| earned | BigDecimal | Points earned during the specified year |
| expired | BigDecimal | Points expired during the specified year |
[
{
"customerId": 387910941,
"year": 2025,
"earned": 160,
"expired": 0
}
]
| Error Code | Description |
|---|
| 400 | Bad Request |
| 404 | Not Found |
| 500 | Internal Server Error |