Product Stock
View import/export or transfer information of products in the warehouse.
API Endpoint
URL |
{base url}/api/StockTransfer/ProductStock |
Method |
GET |
Authorization |
Bearer Token |
Content-Type |
application/json |
Request Headers
Parameter |
Type |
Required |
Description |
APIKEY |
string |
true |
System key code |
Request Parameters
Parameter |
Type |
Required |
Description |
Sku |
string |
false |
SKU code |
Sku_id |
string |
false |
SKU ID |
WarehouseId |
boolean |
false |
Warehouse ID |
ReceivedType |
string |
false |
Type of transfer received (REC,DAM) |
FromDate |
string |
true |
Filter from date (format: dd-mm-yyyy , Gregorian calendar) |
ToDate |
string |
true |
Filter to date (format: dd-mm-yyyy , Gregorian calendar) |
Request Example
{base url}/api/StockTransfer/ProductStock?Sku={Sku}&Sku_id={Sku_id}&WarehouseId={WarehouseId}&ReceivedType={ReceivedType}&FromDate={FromDate}&ToDate={ToDate}
Response Parameters
Parameter |
Type |
Description |
Id |
integer |
Error status (0 = no error) |
Success |
boolean |
Status of the request |
Message |
string |
Response message |
RequestId |
string |
Reference ID for the request |
Size |
integer |
Number of records returned |
Data |
object |
Stock data |
Data
Parameter |
Type |
Description |
Id |
string |
ID |
StockCard |
string |
Stock number |
StockDate |
Datetime |
Stock entry date |
Lot |
string |
Product lot |
LotSequence |
integer |
Lot sequence |
Warehouse |
object |
Warehouse information |
WarehouseRef |
object |
Reference warehouse information |
DocumentRef |
object |
Reference document information |
Quantity |
integer |
Quantity |
QuantityType |
string |
Type (REC = Normal receipt, DAM = Damaged quantity) |
LotManufacture |
string |
Manufacturing lot |
LotExpiry |
string |
Expiry lot |
Sequence |
integer |
Operation sequence |
ManufactureDate |
Datetime |
Manufacturing date |
ExpiryDate |
Datetime |
Expiration date |
Product |
object |
Product information |
Response JSON Example
{
"Id": 0,
"Success": true,
"Message": "SUCCESS",
"RequestId": "59B08034-0762-4B99-9138-794C14E99A45",
"Size": 1,
"Data": [
{
"Id": "48FB2C39-B182-41BD-A7B1-EC44E5CB504C",
"StockCard": "SKI2412000011",
"StockDate": "2024-12-18T17:13:09.8170568",
"Lot": null,
"LotSequence": 7,
"Warehouse": {
"WarehouseId": "454BFCE2-4B40-4AC1-B3DC-3FD109CCD2D8",
"WarehouseName": "jaspal storer"
},
"WarehouseRef": null,
"DocumentRef": {
"DocId": "B5A86FD5-AE9D-450A-B72D-C4A20A45B486",
"DocNo": "test5566",
"DocItemId": "489FA175-1596-42FE-B731-CB5966EE79B3"
},
"Quantity": 11,
"QuantityType": "REC",
"LotManufacture": "241218",
"LotExpiry": null,
"Sequence": 21,
"ManufactureDate": null,
"ExpiryDate": null,
"Product": {
"SkuId": "F20AD97C-B26D-41BB-86BE-84FB138DF592",
"Sku": "1124100014305",
"ProductName": "B22WLBL001.#BLK950.39.SHOES : MELINA MORGAN Glitter Black Variation 3 39",
"Category": " "
}
}
]
}