POST公開中bar-code-query
商品条形码查询
根据商品条形码查询商品的详细信息
エンドポイント
https://openapi.toolkk.com/bar-code/query
レート制限
毎分 60 回
タイムアウト
5000 ms
導入ドキュメント
根据商品条形码查询商品的详细信息
統一レスポンス構造
すべての API は code、message、data の標準構造で解析する前提です。
根据商品条形码查询商品的详细信息
エンドポイント
https://openapi.toolkk.com/bar-code/query
レート制限
毎分 60 回
タイムアウト
5000 ms
根据商品条形码查询商品的详细信息
すべての API は code、message、data の標準構造で解析する前提です。
{ code, message, data }
curl --request POST \
--url 'https://openapi.toolkk.com/bar-code/query' \
--header 'Content-Type: application/json' \
--header 'X-API-Key: YOUR_API_KEY' \
--data '{}'{}{
"code": 200,
"data": {
"gw": {
"type": "string",
"example": "",
"description": "毛重"
},
"nw": {
"type": "string",
"example": "",
"description": "净重"
},
"qs": {
"type": "string",
"example": "",
"description": "生产许可证号"
},
"gpc": {
"type": "string",
"example": "",
"description": "gpc分类代码"
},
"img": {
"type": "string",
"example": "",
"description": "图片,24小时有效"
},
"ycg": {
"type": "string",
"example": "",
"description": "原产地(可能无此参数信息)"
},
"code": {
"type": "string",
"example": "69********432",
"description": "条形码"
},
"note": {
"type": "string",
"example": "备注:经查,该厂商识别代码已在中国物品编码中心注册,但xxxxx",
"description": "备注信息"
},
"spec": {
"type": "string",
"example": "迷你型",
"description": "规格"
},
"depth": {
"type": "string",
"example": "",
"description": "深"
},
"hight": {
"type": "string",
"example": "",
"description": "高"
},
"price": {
"type": "string",
"example": "",
"description": "参考价格(单位:元)"
},
"width": {
"type": "string",
"example": "",
"description": "宽"
},
"gpcType": {
"type": "string",
"example": "",
"description": "gpc分类名称"
},
"imgList": {
"type": "array",
"items": {
"type": "object"
},
"example": [],
"description": "条码中心图片列表"
},
"keyword": {
"type": "string",
"example": "",
"description": "关键词"
},
"sptmImg": {
"type": "string",
"example": "",
"description": "条码图片"
},
"manuName": {
"type": "string",
"example": "xxxx集团有限公司",
"description": "厂商"
},
"goodsName": {
"type": "string",
"example": "xxxx纯品纸手帕",
"description": "商品名称"
},
"goodsType": {
"type": "string",
"example": "造纸原料和纸制品>>纸制品>>个人纸制品>>纸巾",
"description": "商品分类"
},
"trademark": {
"type": "string",
"example": "清风",
"description": "品牌"
},
"description": {
"type": "string",
"example": "",
"description": "形态描述"
},
"manuAddress": {
"type": "string",
"example": "江苏省苏州市苏州工业xxxx",
"description": "厂商地址"
}
},
"message": "success"
}以下の項目はサンプル JSON から自動抽出した参考情報です。
| パス | 型 | サンプル値 |
|---|---|---|
| code | number | 200 |
| data | object | {...} |
| data.gw | object | {...} |
| data.gw.type | string | string |
| data.gw.example | string | |
| data.gw.description | string | 毛重 |
| data.nw | object | {...} |
| data.nw.type |
| string |
| string |
| data.nw.example | string |
| data.nw.description | string | 净重 |
| data.qs | object | {...} |
| data.qs.type | string | string |
| data.qs.example | string |
| data.qs.description | string | 生产许可证号 |
| data.gpc | object | {...} |
| data.gpc.type | string | string |
| data.gpc.example | string |
| data.gpc.description | string | gpc分类代码 |
| data.img | object | {...} |
| data.img.type | string | string |
| data.img.example | string |
| data.img.description | string | 图片,24小时有效 |
| data.ycg | object | {...} |
| data.ycg.type | string | string |
| data.ycg.example | string |
| data.ycg.description | string | 原产地(可能无此参数信息) |
| data.code | object | {...} |
| data.code.type | string | string |
| data.code.example | string | 69********432 |
| data.code.description | string | 条形码 |
| data.note | object | {...} |
| data.note.type | string | string |
| data.note.example | string | 备注:经查,该厂商识别代码已在中国物品编码中心注册,但xxxxx |
| data.note.description | string | 备注信息 |
| data.spec | object | {...} |
| data.spec.type | string | string |
| data.spec.example | string | 迷你型 |
| data.spec.description | string | 规格 |
| data.depth | object | {...} |
| data.depth.type | string | string |
| data.depth.example | string |
| data.depth.description | string | 深 |
| data.hight | object | {...} |
| data.hight.type | string | string |
| data.hight.example | string |
| data.hight.description | string | 高 |
| data.price | object | {...} |
| data.price.type | string | string |
| data.price.example | string |
| data.price.description | string | 参考价格(单位:元) |
| data.width | object | {...} |
| data.width.type | string | string |
| data.width.example | string |
| data.width.description | string | 宽 |
| data.gpcType | object | {...} |
| data.gpcType.type | string | string |
| data.gpcType.example | string |
| data.gpcType.description | string | gpc分类名称 |
| data.imgList | object | {...} |
| data.imgList.type | string | array |
| data.imgList.description | string | 条码中心图片列表 |
| data.keyword | object | {...} |
| data.keyword.type | string | string |
| data.keyword.example | string |
| data.keyword.description | string | 关键词 |
| data.sptmImg | object | {...} |
| data.sptmImg.type | string | string |
| data.sptmImg.example | string |
| data.sptmImg.description | string | 条码图片 |
| data.manuName | object | {...} |
| data.manuName.type | string | string |
| data.manuName.example | string | xxxx集团有限公司 |
| data.manuName.description | string | 厂商 |
| data.goodsName | object | {...} |
| data.goodsName.type | string | string |
| data.goodsName.example | string | xxxx纯品纸手帕 |
| data.goodsName.description | string | 商品名称 |
| data.goodsType | object | {...} |
| data.goodsType.type | string | string |
| data.goodsType.example | string | 造纸原料和纸制品>>纸制品>>个人纸制品>>纸巾 |
| data.goodsType.description | string | 商品分类 |
| data.trademark | object | {...} |
| data.trademark.type | string | string |
| data.trademark.example | string | 清风 |
| data.trademark.description | string | 品牌 |
| data.description | object | {...} |
| data.description.type | string | string |
| data.description.example | string |
| data.description.description | string | 形态描述 |
| data.manuAddress | object | {...} |
| data.manuAddress.type | string | string |
| data.manuAddress.example | string | 江苏省苏州市苏州工业xxxx |
| data.manuAddress.description | string | 厂商地址 |
| message | string | success |