list_stock_stores_item_model
Overview
This method returns a list of the stock position of a model and all its item in all the stores.
GET /list_stock_stores_item_model
/list_stock_stores_item_model?token=XXX&item_code_365=ARTICLE01-AZURE-240
| field |
description |
| token |
Credentials provided by Powersoft |
| item_code_365 |
The item code or barcode of the item |
Returns
{
"api_response": {
"response_code": "1",
"response_msg": "OK",
"response_id": ""
},
"list_stock_stores_item_model": [
{
"store_code_365": "100",
"store_name": "STORE 1",
"store_active": true,
"item_code_365": "ARTICLE01-BLK-240",
"item_name": "ARTICLE 01",
"model_code_365": "ARTICLE01",
"model_name": "ARTICLE 01",
"color_code_365": "BLK",
"color_name": "BLACK",
"color_html": "#000000",
"size_code_365": "240",
"size_name": "24",
"size_name_invoice": "24",
"size_sequence": 1,
"stock": 12,
"stock_on_transfer": 0,
"stock_reserved": 0,
"stock_ordered": 0,
"mininum_stock": 0,
"required_stock": 0
}
],
"image_location": {
"item_location": "https://dropbox",
"item_category_location": "https://dropbox",
"item_model_location": "https://dropbox",
"item_system_file": "",
"item_code_365": "ARTICLE01-AZURE-240",
"model_code_365": "ARTICLE01",
"item_category_code_365": "CAT3"
}
}
Note
The method should be used against all items only to get the stock for the first time. To synchronize the items stock please have a looks at the section Synchronization Overview. The continously usage of the method to get all items stock especially for a large data will end it up with the disconnection of the token provided.