API ReferenceStock inventory
Get available batches for a product at a site
Returns all non-zero-quantity batches for a product at a specific stock site
AuthorizationBearer <token>
In: header
Path Parameters
siteId*string
productId*string
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "http://localhost:18080/api/v1/inventory/sites/string/products/string/batches"[
{
"batchNumber": "string",
"expirationDate": "2019-08-24T14:15:22Z",
"locationId": "string",
"originalPurchaseOrderId": "string",
"productionDate": "2019-08-24T14:15:22Z",
"quantity": 0.1,
"stockSource": "PURCHASE_ORDER",
"unitPrice": 0.1
}
]{
"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"
}