v1

latestOpenAPI 3.1.02026-07-26141236.8 KB
Points Transactions

List points transactions

Retrieves a list of points transactions.

get/points_transactions

Query parameters

customer_idinteger

Filter results to only points transactions with the provided Smile customer ID.

Filter results to only points transactions with the provided Smile customer ID.

updated_at_minstring date-time

Filter results to only points transactions updated at or after the provided date and time.

Filter results to only points transactions updated at or after the provided date and time.

limitinteger

The maximum number of points transactions to retrieve.

Example:1

The maximum number of points transactions to retrieve.

cursorstring

Cursor for the page of points transactions to retrieve.

Cursor for the page of points transactions to retrieve.

Response

Example response

{
  "points_transactions": [
    {
      "id": 825673452,
      "customer_id": 304169228,
      "points_change": 100,
      "description": "Points correction",
      "internal_note": "Due to issue with order #6834",
      "created_at": "2024-12-07T20:15:27.893Z",
      "updated_at": "2024-12-07T20:15:27.893Z"
    }
  ],
  "metadata": {
    "next_cursor": "aWQ6MixkaXJlY3Rpb246bmV4dA=="
  }
}