---
title: "GET /pricebooks"
method: GET
path: "/pricebooks"
tags: ["Pricebooks"]
---

# GET /pricebooks

`GET /pricebooks`

Schema for Pricebooks

## Query parameters

- `pageSize` integer
- `sortOrder` union
  - 'asc'
  - 'desc'
- `pageCursor` string
- `sortField` 'createdAt'
- `filterSupplierName` string

## Response `200`

Successful Response

- GetPricebooksResponse
  - `result` string, required
  - `data` Pricebook[], required
    - `id` number, required
    - `supplierName` string, required
    - `supplierId` number, nullable, required
    - `type` union, required
      - 'Standard'
      - 'Non-Standard'
      - 'Custom'
    - `itemCount` number, required
    - `createdAt` string, required
    - `lastUpdatedAt` string, required
    - `supplierContact` ContactItem[], nullable, required
      - `id` number, required
      - `contactType` 'email' | 'phone' | 'mobile' | 'other' | 'fax' | 'website', required — The type of this contact item. It can be one of the following: email, phone, mobile, other, fax, website
      - `contactValue` string, required — The value of this contact item.
    - `links` Links[], required
      - `href` string, required
      - `rel` string, required
      - `type` 'GET' | 'POST' | 'PUT' | 'PATCH', required
  - `paging` Pagination
    - `perPage` number, required
    - `pageCount` number, required
    - `links` object, required
      - `self` string, required
      - `previous` string, nullable, required
      - `next` string, nullable, 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-service-production.skmtc.workers.dev/v1/apis/fergus/fergus-api/revisions/b4f232a22363/schema)
