Points Transactions

List points transactions

Retrieves a list of points transactions.

get/points_transactions

Request

  • Base URL
    https://api.smile.io/v1
  • URL
    https://api.smile.io/v1/points_transactions
  • Auth
    HTTP bearer

Query parameters

customer_idinteger

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.

limitinteger

The maximum number of points transactions to retrieve.

Example:1
cursorstring

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=="
  }
}

Changes

No recorded changes to this operation across all 2 revisions of this API.