---
title: "Get transaction history for a retail item"
method: GET
path: "/RetailItems/{id}/transactions"
tags: ["RetailItems"]
---

# Get transaction history for a retail item

`GET /RetailItems/{id}/transactions`

## Request

- Base URL: `https://api.clinicos.vet/backend/business`
- URL: `https://api.clinicos.vet/backend/business/RetailItems/{id}/transactions`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/clinicos/apis/pawthosx-business-api-v1/docs/RetailItems/:id/transactions/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `id` string, required

## Query parameters

- `fromDate` string, date-time
- `toDate` string, date-time
- `page` union
  - integer
  - string, int32
- `pageSize` union
  - integer
  - string, int32

## Response `200`

OK

- RetailInventoryTransactionListResponseDto
  - `items` RetailInventoryTransactionDto[]
    - `id` string
    - `retailItemId` string
    - `retailItemName` string, nullable
    - `transactionType` string
    - `quantity` union
      - number, double
      - string, double
    - `unitCost` union
      - number, double
      - string, double
    - `unitPrice` union
      - number, double
      - string, double
    - `quantityAfter` union
      - number, double
      - string, double
    - `clientId` string, nullable
    - `clientName` string, nullable
    - `vendorId` string, nullable
    - `vendorName` string, nullable
    - `reason` string, nullable
    - `notes` string, nullable
    - `referenceNumber` string, nullable
    - `performedBy` UserSummaryDto
      - `id` string
      - `email` string
      - `firstName` string, nullable
      - `lastName` string, nullable
      - `displayName` string, nullable
      - `type` string
      - `roleId` string, nullable
      - `roleName` string, nullable
    - `transactionDate` string, date-time
  - `total` union
    - integer
    - string, int32

## Other responses

- `404`: Not Found

---

[API](https://skmtc.dev/clinicos/apis/pawthosx-business-api-v1.md) - [All operations](https://skmtc.dev/clinicos/apis/pawthosx-business-api-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/clinicos/apis/pawthosx-business-api-v1/revisions/099cf36186e0?raw)
