Loyalty

List a contact's points history

Changed on

Get the list of a contact's points history. This endpoint will be deprecated end of 2022. Please use this new one instead: https://developer.splio.com/#get_loyalty_points

get/loyalty/v2/contacts/{id}/points

Request

  • Base URL
    https://api.splio.com
  • URL
    https://api.splio.com/loyalty/v2/contacts/{id}/points
  • Auth
    HTTP bearer

Path parameters

idstring required

Contact unique key.

Query parameters

per_pageinteger

Number of items displayed per page.

page_numberinteger

Page number.

key'card_code' | 'operation_date' | 'points_type' | 'points_credited' | 'points_earned' | 'validity_end' | 'id_program' | 'program_name' | 'id_tier' | 'tier_name' | 'status'

search fields, in rewards

operator'is' | 'after' | 'before' | 'contains' | 'ends' | 'equal' | 'greater' | 'isnot' | 'lower' | 'notequal' | 'starts'

operator for search operators are limited by the type of value expected

valuestring

Use a combination of field, operator and searched value. It will return points that matched your search. Fields available on search in orders are 'card_code', 'operation_date', 'points_type', 'points_credited', 'points_earned', 'validity_end', 'id_program', 'program_name', 'id_tier', 'tier_name', 'status'.

Response

Points retrieval is successful.

Changes