---
title: "GET /pricebooks/{id}/pricebookItems/{pricebookItemId}"
method: GET
path: "/pricebooks/{id}/pricebookItems/{pricebookItemId}"
tags: ["Pricebooks"]
---

# GET /pricebooks/{id}/pricebookItems/{pricebookItemId}

`GET /pricebooks/{id}/pricebookItems/{pricebookItemId}`

## Request

- Base URL: `https://api.fergus.com`
- URL: `https://api.fergus.com/pricebooks/{id}/pricebookItems/{pricebookItemId}`
- Auth: one of:
  - OAuth 2
    - Authorization code: `https://auth.fergus.com/oauth2/authorize`
    - Token URL: `https://auth.fergus.com/oauth2/token`
  - HTTP bearer
- TypeScript: <https://skmtc.dev/fergus/apis/fergus-api/docs/pricebooks/:id/pricebookItems/:pricebookItemId/get.ts> (a function with typed inputs; its response is checked against the schema)

Schema for a Pricebook Item by ID

## Path parameters

- `id` integer, required
- `pricebookItemId` integer, required

## Query parameters

- `filterPricingTierId` number

## Response `200`

Successful Response

- GetPricebookItemByIdResponse
  - `result` string, required
  - `data` PricebookItem, required
    - `id` number, required
    - `name` string, nullable, required
    - `productCode` string, nullable, required
    - `priceBookId` number, nullable, required
    - `unitType` string, nullable, required
    - `costPrice` number, required
    - `retailPrice` number, required
    - `searchValues` string, nullable, required
    - `updatedAt` string, nullable, required
    - `supplierSku` string, nullable, required
    - `pricingTier` PricebookItemPricingTier[], required
      - `id` number, required
      - `price` number, required
      - `markup` number, required
      - `discountRate` number, required
      - `links` Links[], required
        - `href` string, required
        - `rel` string, required
        - `type` 'GET' | 'POST' | 'PUT' | 'PATCH', required
    - `links` Links[], required
      - `href` string, required
      - `rel` string, required
      - `type` 'GET' | 'POST' | 'PUT' | 'PATCH', required

## Other responses

- `4XX`: Client Request Errors
- `5XX`: Server Errors

---

[API](https://skmtc.dev/fergus/apis/fergus-api.md) - [All operations](https://skmtc.dev/fergus/apis/fergus-api/llms.txt) - [OpenAPI document](https://skmtc.dev/fergus/apis/fergus-api/revisions/6135f517c3bf?raw)
