Query a spare part from a wharehouse

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

Input parameters

Parameter

Type

Required

Description

code

Text

Yes

Item code to be obtained

Parámetros de salida

Parámetro

Tipo

Descripción

id

Integrer

Id of the item to be deleted

code

Text

Item code

description

Text

Description

id_warehouse

Integer

Id Almacén donde esta el ítem

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

Current stock

unit_cost_stock

Real

Item 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