Stock
Current stock enquiries
Última actualización
¿Te fue útil?
Current stock enquiries
Última actualización
¿Te fue útil?
Calls that allow to know the stock of items.
In the following link you can consult how to filter these calls.
Calls to consult stock conditions.
In the following link you can consult how to filter these calls.
Allows you to see all the stock in all the company's warehouses.
Bearer + JWT_token
GET /api/stockalm HTTP/1.1
Host: server:<port>
Authorization: text
Accept: */*
Returns all stock
[
{
"id": 11,
"codalm": " 1",
"codart": " 1",
"feccaduc": "1899-12-30T00:00:00.000+01:00",
"lote": "",
"numserie": "",
"prcmedio": 46,
"ubicaciones": "text",
"unidades": 0,
"unidadesstock": 0
}
]
Allows you to see the stock of an item in a specific warehouse.
Example:
The identifier of an item
The identifier of an warehouse
Bearer + JWT_token
GET /api/stockalm/articulo/{articulo}/almacen/{almacen} HTTP/1.1
Host: server:<port>
Authorization: text
Accept: */*
Returns the stock of an item in a warehouse.
[
{
"id": 20,
"codalm": " 1",
"codart": " 1",
"feccaduc": "1899-12-30T00:00:00.000+01:00",
"lote": "",
"numserie": "",
"prcmedio": 489.8,
"ubicacion": "text",
"unidades": -1016,
"unidadesstock": 2926
}
]
Allows you to see the stock of an item in all warehouses.
Example:
The item identifier
Bearer + JWT_token
GET /api/stockalm/articulo/{articulo} HTTP/1.1
Host: server:<port>
Authorization: text
Accept: */*
Returns the stock of an item in all warehouses
[
{
"id": 20,
"codalm": " 1",
"codart": " 1",
"feccaduc": "1899-12-30T00:00:00.000+01:00",
"lote": "",
"numserie": "",
"prcmedio": 489.8,
"ubicacion": "text",
"unidades": -1016,
"unidadesstock": 2926
}
]
Allows you to view the stock of all items in a warehouse.
Example:
The warehouse identifier
Bearer + JWT_token
GET /api/stocalm/almacen/{almacen} HTTP/1.1
Host: server:<port>
Authorization: text
Accept: */*
Returns the stock of a warehouse
Sin contenido
Allows you to view the stock conditions of an item in a specific warehouse.
Example:
The item identifier
The warehouse identifier
Bearer + JWT_token
GET /api/stockart/articulo/{articulo}/almacen/{almacen} HTTP/1.1
Host: server:<port>
Authorization: text
Accept: */*
Returns the stock conditions of an item in a warehouse.
[
{
"codart": " 1",
"codalm": " 1",
"puntopedido": 500,
"stockmax": 0,
"stockmin": 300,
"ubicacion": "text"
}
]
Allows you to view the stock conditions of an item in all warehouses.
Example:
The item identifier
Bearer + JWT_token
GET /api/stockart/articulo/{articulo} HTTP/1.1
Host: server:<port>
Authorization: text
Accept: */*
Returns the conditions of an item in all warehouses.
Sin contenido
Allows you to view the stock conditions of all items in a warehouse.
Example:
The warehouse identifier
Bearer + JWT_token
GET /api/stockart/almacen/{almacen} HTTP/1.1
Host: server:<port>
Authorization: text
Accept: */*
Returns stock conditions for all items in a warehouse
[
{
"codart": " 1",
"codalm": " 1",
"puntopedido": 500,
"stockmax": 0,
"stockmin": 300,
"ubicacion": "text"
}
]