# Retrieve a price book

Operation ID: `getPriceBook`

Group: Accounting › Price Books

[Open in the interactive reference](https://docs.api.lensing.ai/lensing/v1/endpoints/getPriceBook)

`GET /accounting/price-books/{id}`

Read-only: Reads and returns; changes nothing.

Retrieves a price book. Use the price book's id, not its priceBookNumber.

To find a price book by name or number, use POST accounting/price-books/search.

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `Api-Version` | header | string · v1 | yes | The API version this request targets, named by its public identifier. Required on every request; omitting it, or naming a version this company does not have, is answered with 400. This document describes version `v1`. |
| `id` | path | string | yes | The unique identifier of the price book you want to retrieve. |

## Response

`200` Success

Under `data` (getPriceBookOutput):

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | string | yes | The unique identifier for the price book. |
| `priceBookName` | string | yes | The display name of the price book, unique within the tenant and compared case-insensitively. |
| `priceBookNumber` | string | no | The price book number, for example 'PB-000123'. Absent until a number range assigns one. |
| `description` | string | no | A free-form description of the price book. Absent when none is set. |
| `active` | boolean | no | Whether the price book is active and usable in transactions. |
| `isStandard` | boolean | no | Whether this is the standard (default) price book. Only one price book is the standard at a time. It cannot be set through this API. |
| `dataSource` | string | no | The source system that provided the price book data. Absent when none is set. |
| `createdDate` | date-time | no | The date and time the price book was created, in UTC. Format YYYY-MM-DDTHH:mm:ss.sssZ. |
| `lastModifiedDate` | date-time | yes | The date and time the price book record last changed, in UTC. Format YYYY-MM-DDTHH:mm:ss.sssZ. |

```json
{
  "data": {
    "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "priceBookName": "<priceBookName>",
    "priceBookNumber": "<priceBookNumber>",
    "description": "<description>",
    "active": true,
    "isStandard": true,
    "dataSource": "<dataSource>",
    "createdDate": "2026-01-15T09:30:00.000Z",
    "lastModifiedDate": "2026-01-15T09:30:00.000Z"
  },
  "diagnostics": [
    {
      "code": "<code>",
      "message": "<message>",
      "severity": "error",
      "path": [
        "<path>"
      ],
      "details": "<details>"
    }
  ]
}
```

## Errors

| Code | Status |
| --- | --- |
| `NOT_FOUND` | 400 |

## Statuses

- `400` — Invalid request or business failure. Codes: NOT_FOUND
- `401` — The request carries no valid access token.
- `403` — Not authorized
- `404` — Not found
- `429` — Too many requests from this client address. The response has no body and no `Retry-After` header.
- `500` — Internal server error
