Stock List (stockList)
Stock List
The "Stock List" task is loaded into the Horoz system using the stockList()
method. It supports both single and multiple stock submissions.
- Before stock transfer is provided with this method, details regarding Horoz Parametric Features should be communicated to Horoz Logistics.
- The maximum number of stocks that can be sent within each request is 1,000.
- The "productCode" field found in the Stock List service is used for stock information. Requests cannot be sent for undefined product codes.
POST StockList
Use
Parameter Descriptions & Rules
The table below lists the input and output parameters of the stockList()
operation, along with their types and formats.
- Fields
- Example Services Request
- Example Response
Parameter | Mandatory | Description | Data Type |
---|---|---|---|
processKey | No | Information provided to you for processKey | string |
ProductCode | No | Product code | string |
{
"processKey": "string",
"productCode": "string"
}
{
"resultData": {
"productList" : [
{
"productCode" : "11111111",
"sellableQty" : 2,
"damagedQty" : 0
}
]
}
}
Services Response
result | errorCode | systemMessage | Description |
---|---|---|---|
1 | Stock information sent to the Horoz system has been transferred successfully. | ||
0 | 101 | UNDEFINED STOCK! | Stock information sent to the Horoz system is undefined. |