---
title: "List purchase prices V2"
method: GET
path: "/api/v2/purchasePrices"
tags: ["Purchase Price"]
---

# List purchase prices V2

`GET /api/v2/purchasePrices`

Returns list of purchase prices.

## Query parameters

- `filter` object[]
  - `key` 'id' | 'product' | 'supplier' | 'currency' | 'fromQuantity' | 'isValidAt'
  - `op` 'equals' | 'notEquals' | 'in' | 'notIn' | 'startsWith' | 'endsWith' | 'lessThan' | 'lessThanOrEquals' | 'greaterThan' | 'greaterThanOrEquals' | 'is'
  - `value` union
    - string — Used for the operations 'equals', 'notEquals', 'contains', 'notContains', 'startsWith', 'endsWith' and 'is'.
    - string[] — Used for the operations 'in', 'notIn', 'exactlyIn', 'allIn' and 'allNotIn'.
- `page` object
  - `number` string, required — Page number should be an integer greater than or equal to 1
  - `size` string, required — Page size should usually be an integer between 10 and 50.
- `order` object[]
  - `field` 'id'
  - `dir` 'asc' | 'desc'

## Response `200`

Operation completed successfully.

- object
  - `data` object[]
    - `id` string — Resource identifier.
    - `product` object — Reference to another resource
      - `id` string, required — Resource identifier.
    - `supplier` object — Reference to a supplier for this price
      - `id` string, required — Resource identifier.
    - `isStandardSupplier` boolean
    - `supplierDesignation` string — The designation of the supplier
    - `supplierItemNumber` string — Supplier item number
    - `fromQuantity` number, float — Minimum quantity for this price
    - `packageAmount` number, float, nullable — Amount of items in a package
    - `price` object — Money object with amount and currency
      - `amount` string, float — A string representing the amount
      - `currency` 'EUR' | 'USD' | 'JPY' | 'BGN' | 'CZK' | 'DKK' | 'GBP' | 'HUF' | 'PLN' | 'RON' | 'SEK' | 'CHF' | 'ISK' | 'NOK' | 'HRK' | 'RUB' | 'TRY' | 'AUD' | 'BRL' | 'CAD' | 'CNY' | 'HKD' | 'IDR' | 'ILS' | 'INR' | 'KRW' | 'MXN' | 'MYR' | 'NZD' | 'PHP' | 'SGD' | 'THB' | 'ZAR' | 'ARS' | 'CLP' | 'SAR' | 'AED' | 'QAR' — Currency matches one of currency values as specified in ISO-4217.
    - `internalComment` string — Internal Comment
    - `validFrom` string, date, nullable — Date from which the price is valid
    - `expiresAt` string, date, nullable — Date until which the price is valid
  - `extra` object
    - `totalCount` integer, required — the total count of all items
    - `page` object, required — The pagination object containing the current page number and size
      - `number` integer, required — The current page number
      - `size` integer, required — The size of the pages

## Other responses

- `400` — Request payload validation failed.
- `401` — Unable to authenticate the client
- `403` — Unable to authorize the client
- `404` — Resource was not found or not enough access privileges
- `429` — Too many API calls made.

---

[API](https://skmtc.net/xentral/apis/xentral-api.md) · [All operations](https://skmtc.net/xentral/apis/xentral-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/xentral/xentral-api/revisions/8a27ba392442/schema)
