API ReferencePurchase orders
Get last purchase price
Returns the most recent received purchase price for a (product, supplier) pair
AuthorizationBearer <token>
In: header
Query Parameters
productId*string
supplierId*string
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "http://localhost:18080/api/v1/purchase-orders/last-price?productId=string&supplierId=string"{
"asOf": "2019-08-24T14:15:22Z",
"price": 0.1,
"supplierId": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}