Through this EndPoint the basic information of an item can be consulted.
EndPoint
https://app.fracttal.com/api/inventories/:code
Method GET
Input Parameters
Parameter | Type of field | Required | Description |
code | text | Yes | Code of the item to obtain. |
Output Parameters
Parameter | Type of field | Description |
id | Integer | Id of the item to delete |
code | Text | Item code |
description | Text | Description |
id_warehouse | Integer | Warehouse id where the item is |
location | Text | Physical location of the item |
max_stock_level | Real | Maximum stock allowed in the warehouse |
min_stock_level | Real | Minimum stock allowed in the warehouse |
reorder_level | Real | Quantity to order |
stock | Real | Stock actual |
unit_cost_stock | Real | Item cost |
Example:
Example Petition: https://app.fracttal.com/api/inventories/ITEM-001
Example Response:
{
"success": true,
"mensaje": "200",
"data": {
"id": 11,
"code": "ITEM-001",
"id_warehouse": 1,
"location": "RAC-001",
"max_stock_level": 10,
"min_stoc_level": 5,
"reorder_level": 10,
"stock": 23,
"unit_cost_stock": 23666.8
},
"total": 10
}