Through this EndPoint you can consult the basic information of an item.
EndPoint
https://app.fracttal.com/api/inventories/:code
GET Method
Input Parameters
Parameter | Field type | Required | Description |
Code | text | Yes | Code of the item to be obtained. |
Id | text | Yes | Id of the warehouse to consult (It is optional if the code of the warehouse is sent) |
Output parameters
Parameter | Field type | Description |
Id | Integer | Id of the item to delete |
Code | Text | Item code |
id_warehouse | Integer | Warehouse id where the item is located |
location | Text | Physical location of the item. |
max_stock_level | Actual | Maximum stock allowed in the warehouse |
min_stock_level | Actual | Minimum stock allowed in the warehouse |
reorder_level | Actual | Quantity to order |
stock | Actual | Actual stock |
unit_cost_stock | Actual | Item cost |
Example:
Example Request: 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
}