API GUIDE
Etomars API Guide CN
Etomars API Guide CN
  • Wellcome!
  • API Guide
    • API基本信息
    • Invoice
      • get
      • add
      • delete
      • update
      • label
    • Product
      • get
      • add
    • Inbound
      • get
      • add
    • Outbound
      • get
    • Inventory
      • get
    • Sales site
      • qoo10
  • Etc
    • API 변경 로그
Powered by GitBook
On this page
  1. API Guide
  2. Product

get

与商品信息查询相关的API

PreviousProductNextadd

Last updated 11 months ago

商品查询

/numbers : 商品编号目录查询

  • POST商品查询
  • /numbers : 商品编号目录查询
  • POST商品编号目录查询

商品查询

post

用SKU或条形码号查询商品。

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/product/get HTTP/1.1
Host: api.etomars.com
Content-Type: application/json
Accept: */*
Content-Length: 100

{
  "GoodsNoType": 1,
  "GoodsNoList": [
    "880012345673",
    "880012345699"
  ],
  "ApiKey": "XXXXXXXXXXXXXXXXXXXXXXXXX"
}
{
  "Data": [
    {
      "Barcode": "text",
      "Brand": "text",
      "SKU": "text",
      "MainProductName": "text",
      "ProductNameKr": "text",
      "ProductName": "text",
      "GoodsNameExpEn": "text",
      "Hscode": "text",
      "PrimaryCategory": "text",
      "Material": "text",
      "Size": "text",
      "Color": "text",
      "Width": 1,
      "Length": 1,
      "Height": 1,
      "SellPrice": 1,
      "CurrencyUnit": "text",
      "Origin": "text",
      "SalesUnit": "text",
      "GrossWeight": 1,
      "NetWeight": 1
    }
  ],
  "Message": "text",
  "Code": 1
}

商品编号目录查询

post

查询符合查询条件的SKU或条形码编号。

Body
GoodsNoTypeinteger · int32Optional

要收回的编号类型 0 : SKU 1 : Barcode 默认值:0(SKU)

Barcodestring · max: 50Optional

条形码

Brandstring · max: 50Optional

品牌

SKUstring · max: 50Optional

商品编码

ProductNamestring · max: 80Optional

商品名称

ApiKeystringRequired

APIKey Test KEY:7abd72462c794016849abe4be

Responses
200
sucess
400
Valid Fail
post
POST /api/v1/product/get/numbers HTTP/1.1
Host: api.etomars.com
Content-Type: application/json
Accept: */*
Content-Length: 123

{
  "GoodsNoType": 1,
  "Barcode": "TEST",
  "Brand": "NO",
  "SKU": "TEST",
  "ProductName": "원피스",
  "ApiKey": "XXXXXXXXXXXXXXXXXXXXXXXXX"
}
{
  "Data": [
    "text"
  ],
  "Message": "text",
  "Code": 1
}