サンプル
リクエスト
curl -X POST -H "Content-Type: application/x-www-form-urlencoded" -d 'access_token=xxx&refresh_token=xxx&wait_flag=1&fields=warehouse_stock_warehouse_id,warehouse_stock_goods_id,warehouse_stock_quantity&warehouse_stock_warehouse_id-eq=1&offset=0&limit=100' https://api.next-engine.org/api_v1_warehouse_stock/search
レスポンス
{
"result": "success",
"count": "1",
"data": [
{
"warehouse_stock_warehouse_id": "1",
"warehouse_stock_goods_id": "code1",
"warehouse_stock_quantity": "10",
"warehouse_stock_allocation_quantity": "2",
"warehouse_stock_free_quantity": "8"
}
],
"access_token": "xxx",
"access_token_end_date": "2023-04-20 11:41:34",
"refresh_token": "xxx",
"refresh_token_end_date": "2023-04-22 11:41:34"
}