GET /stocks.json?item_id=2
200 OK
[
{"ITEM_ID": 2,"ITEMPROPERTY_LIST": "1-2","ZAIKO": 8},
{"ITEM_ID": 2,"ITEMPROPERTY_LIST": "1-4","ZAIKO": 8},
{"ITEM_ID": 2,"ITEMPROPERTY_LIST": "3-2","ZAIKO": 8},
{"ITEM_ID": 2,"ITEMPROPERTY_LIST": "3-4","ZAIKO": 8}
]
在庫情報を格納したJSON値を返します。
POST stocks.json?data_type=multi_update
[
{
"ITEM_ID": 1,
"ITEMPROPERTY_LIST": "0",
"ZAIKO": 100
},
{
"ITEM_ID": 2,
"ITEMPROPERTY_LIST": "1-3",
"ZAIKO": 100
}
]
200 OK
{
"errorStocks": [
{
"ITEM_ID": 1,
"ITEMPROPERTY_LIST": "0",
"index": 1,
"messages": [
"stock not found"
]
}
],
"succeededStocks": [
{
"ITEM_ID": 2,
"ITEMPROPERTY_LIST": "1-3",
}
]
}