v1

latestOpenAPI 3.0.02026-07-2455104.8 MB
Purchase Price

List purchase prices V1

Returns list of a purchase prices

get/api/v1/purchasePrices

Query parameters

key'id' | 'product' | 'supplier' | 'currency' | 'fromQuantity' | 'isValidAt'
op'equals' | 'notEquals' | 'in' | 'notIn' | 'exactlyIn' | 'allIn' | 'allNotIn' | 'contains' | 'notContains' | 'startsWith' | 'endsWith' | 'greaterThan' | 'lessThan' | 'is' | 'lessThanOrEquals' | 'greaterThanOrEquals'
numberstring required

Page number should be an integer greater than or equal to 1

sizestring required

Page size should usually be an integer between 10 and 50.

field'id'
dir'asc' | 'desc'

Response

Operation completed successfully.

Example response

{
  "data": [
    {
      "id": "1",
      "product": {
        "id": "5"
      },
      "supplier": {
        "id": "7"
      },
      "isStandardSupplier": false,
      "supplierDesignation": "123456",
      "fromQuantity": 1,
      "packageAmount": 1,
      "price": {
        "amount": 12.92,
        "currency": "EUR"
      },
      "validFrom": null,
      "expiresAt": "2024-12-12"
    }
  ],
  "extra": {
    "totalCount": 1,
    "page": {
      "number": 1,
      "size": 10
    }
  }
}