Fracttal →

Query a spare part from a wharehouse

This EndPoint can be used to query the basic information of an item.

Input parameters

ParameterTypeRequiredDescription
codeTextYesItem code to be obtained

Parámetros de salida

ParámetroTipoDescripción
idIntegrerId of the item to be deleted
codeTextItem code
descriptionTextDescription
id_warehouseIntegerId Almacén donde esta el ítem
locationTextPhysical location of the item.
max_stock_levelRealMaximum stock allowed in the warehouse
min_stock_levelRealMinimum stock allowed in the warehouse
reorder_levelRealQuantity to order
stockRealCurrent stock
unit_cost_stockRealItem cost

Example:

Request: (GET) https://app.fracttal.com/api/inventories/ITEM-001

{
  "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
}

Test it

Language