Purchase Price
List purchase prices V2
Changed onReturns list of purchase prices.
get/api/v2/purchasePrices
Request
- Base URLhttps://xentral.xentral.biz
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
[
{
"key": "product",
"op": "equals"
}
]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"
},
"internalComment": "Test1",
"validFrom": null,
"expiresAt": "2024-12-12"
}
],
"extra": {
"totalCount": 1,
"page": {
"number": 1,
"size": 10
}
}
}Changes
- info
added the enum value
containsto the propertyitems/opof thequeryrequest parameterfilter - info
added the enum value
notContainsto the propertyitems/opof thequeryrequest parameterfilter - info
added the enum value
supplierItemNumberto the propertyitems/keyof thequeryrequest parameterfilter
- info