---
title: "Get loyalty transactions of the customer"
method: GET
path: "/loyalty/customer/{id}"
tags: ["Loyalty"]
---

# Get loyalty transactions of the customer

`GET /loyalty/customer/{id}`

## Request

- Base URL: `https://api.c1st.com/api`
- URL: `https://api.c1st.com/api/loyalty/customer/{id}`
- Auth: HTTP bearer

## Query parameters

- `paginationStart` number: Start of pagination
- `paginationPageLength` number: Pagination page length

## Response `200`

Ok

- LoyaltyTransactionsResponse
  - `content` LoyaltyTransaction[]
    - `id` integer: Id of the transaction
    - `amount` number: Number of points credited or debited in this transaction, can be negative
    - `expires_at` string, nullable: Expiration date for this transaction
    - `created_at` string: Creation date for this transaction
    - `pospaymentid` number, nullable: Reference to pospaymentid where this transaction was created from
    - `pospaymentmaterialid` number, nullable: Reference to the specific pospayment material id where this transaction was created from
    - `customerid` number: Reference to the customer this transaction belongs to
    - `storeid` number: Reference to the store that created this transaction
    - `userid` number: The TaskUser behind the transaction
    - `reason` string, nullable: Reason for the transaction, can be sale, return sale, or what the user has put in
    - `loyalty_member_id` number, nullable: Reference to the loyalty membership id the customer was assigned when they enrolled in the loyalty club
  - `balance` number
  - `count` integer, nullable
  - `hasMore` boolean: True if there are data to retrieve than the given page length
  - `lastenrolledbystoreid` number, nullable: The id of the store that enrolled this customer into the loyalty club
  - `ispartofloyaltyclub` boolean

---

[API](https://skmtc.dev/c1st/apis/customers-1st-api.md) - [All operations](https://skmtc.dev/c1st/apis/customers-1st-api/llms.txt) - [OpenAPI document](https://skmtc.dev/c1st/apis/customers-1st-api/revisions/4250bb326f2a?raw)
