Download OpenAPI specification:Download
Requests current product inventory details from Logitrail WMS
| productId required | string^[a-f0-9]{24}$ |
| x-logitrail-merchant-id required | string (Logitrail's Merchant ID the request is scoped for.) |
{- "product_inventory": {
- "inventory": {
- "available": 0,
- "reserved": 0,
- "demand": 0,
- "in_stock": 0,
- "on_hold": 0,
- "inbound": 0
}, - "last_movement": "2019-08-24T14:15:22Z"
}
}Requests information about the Arrival Batches of a product that are currently stocked on shelf in the warehouse. Arrival Batches represent a specific batch of items that arrived together and are managed as a group within the warehouse. This endpoint provides details about these batches, including their quantities, locations, and other relevant information. Arrival Batches are most likely different from supplier batches / lot numbers and internal to Logitrail warehouse operations. For example, there may be more than one Arrival Batch for a product batch with "best before date" 2026-31-12 with supplier lot number 12345. Anyway, same Arrival Batch never contains multiple supplier lots or multiple products.
| productId required | string^[a-f0-9]{24}$ |
| x-logitrail-merchant-id required | string (Logitrail's Merchant ID the request is scoped for.) |
{- "batches_on_shelf": [
- {
- "id": 1,
- "inbound_shipment": {
- "id": "string",
- "sender_name": "string"
}, - "on_shelf_at": "2019-08-24T14:15:22Z",
- "batch_details": {
- "batch_number": "string",
- "best_before_date": "2019-08-24"
}, - "purchase_value_per_article": 0,
- "purchase_value_currency": "string",
- "warehouse_location": "string",
- "total_on_shelf_count": 1,
- "reserved_count": 0,
- "available_count": 0
}
]
}Update the details of a specific product arrival batch. Note that a new Arrival Batch is generated whenever new items arrive and they are stocked in Logitrail warehouse.
| productId required | string^[a-f0-9]{24}$ |
| batchId required | number |
| x-logitrail-merchant-id required | string (Logitrail's Merchant ID the request is scoped for.) |
{- "batch": {
- "id": 1,
- "inbound_shipment": {
- "id": "string",
- "sender_name": "string"
}, - "on_shelf_at": "2019-08-24T14:15:22Z",
- "batch_details": {
- "batch_number": "string",
- "best_before_date": "2019-08-24"
}, - "purchase_value_per_article": 0,
- "purchase_value_currency": "string",
- "article_count": 0,
- "warehouse_location": "string"
}
}