get

Inventory API list

Inventory check

post

Check the inventory status of the product corresponding to the product number as of the request date.

Body
GoodsNoTypeinteger · int32Optional
GoodsNoListstring[]Required
ApiKeystringRequired

APIKey Test KEY:7abd72462c794016849abe4be

Responses
200
sucess
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 : inquiry in/out history

Check stocked/dispatched list

post

Check the stocked/dispatched list of the product corresponding to the product number as of the request date (Max 30 days).

Body
StartDateTimestringRequired
EndDateTimestringRequired
GoodsNoTypeinteger · int32Optional
GoodsNoListstring[]Required
ApiKeystringRequired

APIKey Test KEY:7abd72462c794016849abe4be

Responses
200
sucess
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