v1

latestOpenAPI 3.0.02026-07-2455104.8 MB
Purchase Price

View purchase price

Returns details of a single purchase price

get/api/v1/purchasePrices/{id}

Path parameters

idstring required

Resource identifier.

Example:17

The resource's identifier.

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
    }
  }
}