get
在庫照会
要請日基準の商品番号に該当する商品の在庫状況を照会します。
Body
GoodsNoTypeinteger · int32Optional
検索商品番号タイプ 0 : SKU 1 : Barcode 基本値 : 0(SKU)
GoodsNoListstring[]Required
品番リスト 最大(50個)
ApiKeystringRequired
APIKey Test KEY:7abd72462c794016849abe4be
Responses
200
sucess
400
Valid Fail
post
POST /api/v1/inventory/get HTTP/1.1
Host: api.etomars.com
Content-Type: application/json
Accept: */*
Content-Length: 86
{
"GoodsNoType": 0,
"GoodsNoList": [
"AAAA1",
"AAAA2"
],
"ApiKey": "XXXXXXXXXXXXXXXXXXXXXXXXX"
}
{
"Data": [
{
"InventoryDate": "text",
"Barcode": "text",
"Brand": "text",
"SKU": "text",
"MainProductName": "text",
"InputCount": 1,
"OutputCount": 1,
"BadCount": 1,
"ModifyCount": 1,
"CurrentCount": 1,
"EstOutputCount": 1,
"EstStockCount": 1
}
],
"Message": "text",
"Code": 1
}
/history : 入出庫履歴の照会
検索期間(最大30日)中の商品番号に該当する商品の入出庫内訳を照会します。
Body
StartDateTimestringRequired
検索開始日時 入力形式:yyyy-MM-dd HH:mm:ss yyyyMMdd、yyyy-MM-ddなど日付のみ入力時、 yyyy-MM-dd 00:00:00に自動変換
EndDateTimestringRequired
検索終了日時 入力形式:yyyy-MM-dd HH:mm:ss yyyyMMdd、yyyy-MM-ddなど日付のみ入力時、 yyyy-MM-dd 23:59:59に自動変換
GoodsNoTypeinteger · int32Optional
検索商品番号タイプ 0 : SKU 1 : Barcode 基本値 : 0(SKU)
GoodsNoListstring[]Required
品番リスト 最大(20個)
ApiKeystringRequired
APIKey Test KEY:7abd72462c794016849abe4be
Responses
200
sucess
400
Valid Fail
post
POST /api/v1/inventory/get/history HTTP/1.1
Host: api.etomars.com
Content-Type: application/json
Accept: */*
Content-Length: 158
{
"StartDateTime": "2023-07-09 00:00:00",
"EndDateTime": "2023-07-31 15:22:31",
"GoodsNoType": 0,
"GoodsNoList": [
"SKU1",
"SKU2"
],
"ApiKey": "XXXXXXXXXXXXXXXXXXXXXXXXX"
}
{
"Data": [
{
"SKU": "text",
"Barcode": "text",
"GoodsName": "text",
"InNOutHistory": [
{
"InNOutDateTime": "text",
"InNOutType": "text",
"InNOutQty": 1,
"Memo": "text"
}
]
}
],
"Message": "text",
"Code": 1
}
Last updated