轻易云
注册体验

领星ERP查询本地产品详情接口

所属平台
领星ERP
类型
WebAPI
作用
QUERY
接口版本
1.0
适配器
\Adapter\LingXing\LXQueryAdapter
授权方式
OTHER
描述
产品 · POST · 请求参数 3 个(必填 0) · 响应参数 171 个 · 限流令牌桶容量 1
更新日期
2026-11-21

查询本地产品详情

POST/erp/sc/routing/data/local_inventory/productInfo
加工厂
{
  "operation": {
    "method": "POST",
    "path": "/erp/sc/routing/data/local_inventory/productInfo"
  },
  "protocol": "HTTPS",
  "host": "https://openapi.lingxing.com",
  "rateLimit": {
    "tokenBucketCapacity": 1,
    "text": ""
  },
  "requestExample": {
    "id": 10001,
    "sku": "ceshi001"
  },
  "responseExample": "{\n    \"code\": 0,\n    \"message\": \"success\",\n    \"error_details\": [],\n    \"request_id\": \"F4AC348D-5A4D-0F2B-833B-A02678969381\",\n    \"response_time\": \"2022-07-05 17:05:37\",\n    \"data\": {\n        \"id\": 17835,\n        \"product_name\": \"13131321655\",\n        \"sku\": \"654654654654\",\n        \"sku_identifier\": \"654654654654\",\n        \"pic_url\": \"https://imaxxx/xx61fb94db6fa2f5.jpeg\",\n        \"model\": \"\",\n        \"unit\": \"\",\n        \"status\": 1,\n        \"cid\": 0,\n        \"bid\": 0,\n        \"product_developer\": \"\",\n        \"product_developer_uid\": 0,\n        \"description\": \"\",\n        \"is_combo\": 0,\n        \"currency\": \"USD\",\n        \"purchase_remark\": \"20\",\n        \"special_attr\": [\n            \"4\",\n            \"3\"\n        ],\n        \"attachment_id\": [\n            \"4132\"\n        ],\n        \"cg_opt_username\": \"xx\",\n        \"cg_delivery\": 555,\n        \"cg_price\": \"10.0000\",\n        \"cg_product_material\": \"\",\n        \"bg_customs_export_name\": \"10\",\n        \"bg_customs_import_name\": \"10\",\n        \"bg_customs_import_price\": \"10.000000\",\n        \"bg_export_hs_code\": \"10\",\n        \"bg_import_hs_code\": \"\",\n        \"bg_tax_rate\": \"0.0000\",\n        \"picture_list\": [\n            {\n                \"pic_url\": \"https://imaxxx/xx61fb94db6fa2f5.jpeg\",\n                \"is_primary\": 1\n            }\n        ],\n        \"permission_user_info\": [\n            {\n                \"permission_uid\": 10317904,\n                \"permission_user_name\": \"xx\"\n            }\n        ],\n        \"brand_name\": \"\",\n        \"category_name\": \"\",\n        \"supplier_quote\": [\n            {\n                \"psq_id\": \"210331084332590081\",\n                \"product_id\": \"17835\",\n                \"supplier_id\": \"317\",\n                \"is_primary\": 1,\n                \"supplier_product_url\": [\n                    \"https://xxx/xxx\"\n                ],\n                \"quote_cg_delivery\": 20240425,\n                \"quote_remark\": \"备注22222222\",\n                \"cg_price\": \"10.0000\",\n                \"cg_currency_icon\": \"¥\",\n                \"supplier_name\": \"xxx\",\n                \"supplier_code\": \"SU00306\",\n                \"quotes\": [\n                    {\n                        \"currency\": \"CNY\",\n                        \"currency_icon\": \"¥\",\n                        \"is_tax\": 0,\n                        \"tax_rate\": \"0.00\",\n                        \"step_prices\": [\n                            {\n                                \"moq\": 0,\n                                \"price\": \"0.0000\",\n                                \"price_with_tax\": \"0.0000\"\n                            }\n                        ]\n                    }\n                ]\n            }\n        ],\n        \"combo_product_list\": [],\n        \"declaration\": {\n            \"customs_declaration_first_unit\": \"个\",\n            \"customs_declaration_first_unit_rate\": 0.67,\n            \"customs_declaration_second_unit\": \"套\",\n            \"customs_declaration_second_unit_rate\": 0.79,\n            \"customs_declaration_extra_quarantine_code\": \"N:出口商品检验\",\n            \"customs_declaration_unit\": \"\",\n            \"customs_declaration_spec\": \"\",\n            \"customs_declaration_origin_produce\": \"\",\n            \"customs_declaration_inlands_source\": \"\",\n            \"customs_declaration_exempt\": \"\",\n            \"other_declare_element\": \"\"\n        },\n        \"clearance\": {\n            \"customs_clearance_material\": \"\",\n            \"customs_clearance_en_material\": \"\",\n            \"customs_clearance_usage\": \"\",\n            \"customs_clearance_internal_code\": \"\",\n            \"customs_clearance_preferential\": 0,\n            \"customs_clearance_brand_type\": 0,\n            \"customs_clearance_product_pattern\": \"\",\n            \"customs_clearance_pic_url\": \"\",\n            \"allocation_remark\": \"\",\n            \"weaving_mode\": 0,\n            \"customs_clearance_price\": \"0.0000\",\n            \"customs_clearance_price_currency\": \"CNY\",\n            \"customs_clearance_hs_code\": \"\",\n            \"customs_clearance_tax_rate\": \"0.0000\",\n            \"customs_clearance_remark\": \"\"\n        },\n        \"qc_standard\": {\n            \"custom_qc_template\": {\n                \"qc_image\": []\n            }\n        },\n        \"product_logistics_relation\": [\n            {\n                \"US_cg_transport_costs\": \"0.0000\",\n                \"US_currency\": \"CNY\",\n                \"US_bg_import_hs_code\": \"\",\n                \"US_clearance_price_currency\": \"CNY\",\n                \"US_clearance_price\": \"0.00\",\n                \"US_bg_tax_rate\": \"0.0000\"\n            }\n        ],\n        \"cg_product_length\": \"10.00\",\n        \"cg_product_width\": \"20.00\",\n        \"cg_product_height\": \"10.00\",\n        \"cg_product_net_weight\": \"0.00\",\n        \"cg_package_length\": \"50.00\",\n        \"cg_package_width\": \"60.00\",\n        \"cg_package_height\": \"70.00\",\n        \"cg_box_length\": \"20.00\",\n        \"cg_box_width\": \"30.00\",\n        \"cg_box_height\": \"40.00\",\n        \"cg_box_pcs\": 10,\n        \"cg_product_gross_weight\": \"90000.00\",\n        \"cg_box_weight\": \"80.00\",\n        \"custom_fields\": [\n            {\n                \"id\": \"207257295331418115\",\n                \"name\": \"文本\",\n                \"val_text\": \"\"\n            }\n        ]    \n\t    \"global_tags\": []\n    },\n    \"total\": 0\n}"
}

接口请求参数

序号字段名称类型默认值必填描述
1ididinteger—可选产品id【产品id、 产品SKU 、SKU识别码 三选一必填】
2skuskustring—可选产品SKU【产品id、 产品SKU 、SKU识别码 三选一必填】
3sku_identifiersku_identifierstring—可选SKU识别码【产品id、 产品SKU 、SKU识别码 三选一必填】

接口响应参数

序号字段名称类型默认值必填描述
1code状态码integer0必填状态码,0 成功
2message消息提示stringsuccess必填消息提示
3error_details错误提示array<any>—必填错误提示
4request_id请求链路idstringF44E6A41-5219-4FEF-DD46-5BCC4B8305E1必填请求链路id
5response_time响应时间string2021-03-19 11:53:49必填响应时间
6data产品数据object—必填产品数据
6.1id本地产品idinteger1必填本地产品id
6.2product_name产品名称string00.100必填产品名称
6.3sku产品skustring视觉111必填产品sku
6.4sku_identifierSKU识别码string视觉111必填SKU识别码
6.5pic_url上传的图片地址stringxxx/xxx/78f2dc9409b6c6abe8f15ed5eb.jpg必填上传的图片地址
6.6picture_list产品图片数组array<object>—必填产品图片数组
6.6.1pic_url图片链接string—必填图片链接
6.6.2is_primary是否产品主图integer—必填是否产品主图:0-否 1-是
6.7model产品型号string—必填产品型号
6.8unit商品单位string—必填商品单位:套、个、台
6.9status状态integer1必填状态:0 停售,1 在售,2 开发中,3 清仓
6.10cid分类idinteger1099必填分类id
6.11bid品牌idinteger1324必填品牌id
6.12product_developer开发者string—必填开发者
6.13product_developer_uid开发人integer—必填开发人
6.14permission_user_info负责人数组array<object>—必填负责人数组
6.14.1permission_uid负责人idinteger—必填负责人id
6.14.2permission_user_name负责人名称string—必填负责人名称
6.15global_tags产品标签信息array<object>—必填产品标签信息
6.15.1global_tag_id标签idstring—必填标签id
6.15.2tag_name标签名称string—必填标签名称
6.15.3color标签颜色string—必填标签颜色
6.16description产品描述string<p>goods</p>必填产品描述
6.17is_combo是否为组合产品integer—必填是否为组合产品:0 否,1 是
6.18brand_name品牌名称stringapi-72必填品牌名称
6.19category_name分类名称string类476422必填分类名称
6.20attachment_id附件idarray<any>[123]必填附件id
6.21special_attr产品特殊属性array<any>[1,2,3]必填产品特殊属性: 1 含电 2 纯电 3 液体 4 粉末 5 膏体 6 带磁
6.22currency中国官方汇率codestringUSD必填中国官方汇率code
6.23cg_opt_username采购string0超级管理员22222必填采购:采购员
6.24cg_delivery采购integer13必填采购:交期
6.25cg_price采购number34必填采购:采购成本(人民币)
6.26purchase_remark采购备注string—必填采购备注
6.27cg_product_material采购string11必填采购:材质
6.28cg_product_length采购number12必填采购:产品规格(CM)
6.29cg_product_width采购number13必填采购:产品规格(CM)
6.30cg_product_height采购number14必填采购:产品规格(CM)
6.31cg_package_length采购number16必填采购:包装规格(CM)
6.32cg_package_width采购number17必填采购:包装规格(CM)
6.33cg_package_height采购number18必填采购:包装规格(CM)
6.34cg_box_length采购number20必填采购:外箱规格(CM)
6.35cg_box_width采购number21必填采购:外箱规格(CM)
6.36cg_box_height采购number22必填采购:外箱规格(CM)
6.37cg_product_net_weight采购number15必填采购:产品净重(G)
6.38cg_product_gross_weight采购number33必填采购:产品毛重(G)
6.39cg_box_weight采购number23必填采购:外箱实重(KG)
6.40custom_fields自定义字段array<object>—必填自定义字段
6.40.1id字段IDstring—必填字段ID
6.40.2name字段名string—必填字段名
6.40.3val_text字段值string—必填字段值
6.41cg_box_pcs采购integer25必填采购:单箱数量(包装数量)
6.42bg_customs_export_name报关string测试测必填报关:申报品名(中文)【中文报关名】
6.43bg_customs_import_name报关stringceshice必填报关:申报品名(英文)【英文报关名】
6.44bg_customs_import_price报关number30必填报关:申报金额(进口国)【申报单价】
6.45bg_export_hs_code报关stringUSD必填报关:HS Code(出口国)【中国HS Code】
6.46bg_import_hs_code报关string29必填报关:HS Code(进口国)【美国HS Code】
6.47bg_tax_rate【已废弃字段】报关number28必填【已废弃字段】报关:税率【美国税率】
6.48qc_standard质检标准object—必填质检标准
6.48.1custom_qc_template自定义质检标准object—可选自定义质检标准
6.48.1.1qc_image质检图片(字段待废弃array<object>—必填质检图片(字段待废弃,请使用质检图片-新)
6.48.1.1.1file_id领星文件idinteger—可选领星文件id
6.48.1.1.2customer_url客户的图片URLstring—可选客户的图片URL
6.48.1.2qc_images质检图片-新array<object>—必填质检图片-新
6.48.1.2.1file_id领星文件idstring—必填领星文件id
6.49new_qc_standard新质检标准object—必填新质检标准
6.49.1qc_method质检方式integer1必填质检方式:1抽检,2全检,3免检
6.49.2qc_method_text质检方式string抽检必填质检方式
6.49.3pqt_id系统质检模板IDstring210742283790577664必填系统质检模板ID
6.49.4system_qc_template系统质检模板标准object—必填系统质检模板标准
6.49.4.1pqt_id系统质检模板IDstring210742283790577664必填系统质检模板ID
6.49.4.2name系统质检名称stringopenapi必填系统质检名称
6.49.4.3qc_image系统质检图片列表array<object>—必填系统质检图片列表
6.49.4.3.1file_id图片IDstring10064必填图片ID
6.49.4.3.2file_name图片名称string质检图片.jpg必填图片名称
6.49.4.3.3file_url图片URLstring/api/file/previewimg/id/10064/type/0.html必填图片URL
6.49.4.4qc_attachment系统质检附件array<object>—必填系统质检附件
6.49.4.4.1file_id附件IDstring10065必填附件ID
6.49.4.4.2file_name附件名称string质检附件.png必填附件名称
6.49.4.4.3file_url附件URLstring/api/file/previewimg/id/10065/type/0.html必填附件URL
6.49.4.5template_item系统质检项完整列表array<object>—必填系统质检项完整列表
6.49.4.5.1pqti_id质检项IDstring210742283790577665必填质检项ID
6.49.4.5.2qc_item质检项名称string外观必填质检项名称
6.49.4.5.3sort排序integer0必填排序
6.49.4.5.4qc_content质检内容object["<p>无破损</p>"]必填质检内容
6.49.4.5.5create_time创建时间string2026-09-09 11:20必填创建时间
6.49.5custom_qc_template自定义质检标准object—必填自定义质检标准
6.49.5.1pqt_id质检项IDstring210742282204688387必填质检项ID
6.49.5.2name质检项名称string10552173必填质检项名称
6.49.5.3qc_image自定义质检图片列表array<object>—必填自定义质检图片列表
6.49.5.3.1file_id图片IDstring—必填图片ID
6.49.5.3.2file_name图片名称string—必填图片名称
6.49.5.3.3file_url图片URLstring—必填图片URL
6.49.5.4template_item自定义质检项完整列表array<object>—必填自定义质检项完整列表
6.49.5.4.1pqti_id自定义质检项IDstring210742282204688388必填自定义质检项ID
6.49.5.4.2qc_item质检项名称string自定义必填质检项名称
6.49.5.4.3sort排序integer0必填排序
6.49.5.4.4qc_content质检内容object["<p>自定义质检内容</p>"]必填质检内容
6.49.5.4.5create_time创建时间string2026-09-09 11:20必填创建时间
6.50supplier_quote供应商报价数据array<object>—必填供应商报价数据
6.50.1psq_id供应商报价idstring—必填供应商报价id
6.50.2product_id产品idinteger—必填产品id
6.50.3supplier_id供应商idinteger—必填供应商id
6.50.4supplier_name供应商名称string—必填供应商名称
6.50.5is_primary是否为首选供应商integer—必填是否为首选供应商:0 否,1 是
6.50.6quote_remark报价备注string—必填报价备注
6.50.7supplier_product_url采购链接array<any>—必填采购链接
6.50.8quote_cg_delivery交期integer—必填交期
6.50.9quotes报价数据array<object>—必填报价数据
6.50.9.1currency报价币种string—必填报价币种
6.50.9.2currency_icon报价币种符号string—必填报价币种符号
6.50.9.3is_tax是否含税integer—必填是否含税:0 否,1 是
6.50.9.4tax_rate税率(百分比)string—必填税率(百分比)
6.50.9.5step_prices阶梯报价array<object>—必填阶梯报价
6.50.9.5.1moq最小采购量integer—必填最小采购量
6.50.9.5.2price不含税单价number—必填不含税单价
6.50.9.5.3price_with_tax含税单价number—必填含税单价
6.51combo_product_list组合产品列表array<object>—必填组合产品列表
6.51.1product_id本地产品idinteger—必填本地产品id
6.51.2quantity数量integer—必填数量
6.51.3skuskustring—必填SKU
6.52product_logistics_relation物流关联【XX为国家简码array<object>—必填物流关联【XX为国家简码,比如美国 US】
6.52.1XX_cg_transport_costs默认头程成本(含税)number—必填默认头程成本(含税)
6.52.2XX_currency官方汇率codestring—必填官方汇率code
6.52.3XX_clearance_price清关价格number—必填清关价格
6.52.4XX_clearance_price_currency清关价格币种string—必填清关价格币种
6.52.5XX_bg_import_hs_code报关string—必填报关:HSCode(进口国)
6.52.6XX_bg_tax_rate报关number—必填报关:税率
6.53declaration报关数据object—必填报关数据
6.53.1customs_declaration_unit报关单位string—必填报关单位
6.53.2customs_declaration_spec规格型号string—必填规格型号
6.53.3customs_declaration_origin_produce报关string—必填报关:原厂国(地区)
6.53.4customs_declaration_inlands_source报关string—必填报关:境内货源地
6.53.5other_declare_element报关string—必填报关:其他申报要素
6.53.6customs_declaration_exempt报关string—必填报关:征免
6.53.7customs_import_price报关单价string—可选报关单价
6.53.8customs_import_price_currency报关单价单位string—可选报关单价单位
6.53.9production_and_sales_enterprise_name报关string—必填报关:生产销售企业名称
6.53.10production_and_sales_enterprise_code报关string—必填报关:生产销售企业代码
6.53.11customs_declaration_first_unit报关string个必填报关:第一法定单位
6.53.12customs_declaration_first_unit_rate报关number0.67必填报关:第一法定单位转换率
6.53.13customs_declaration_second_unit报关string套必填报关:第二法定单位
6.53.14customs_declaration_second_unit_rate报关number0.79必填报关:第二法定单位转换率
6.53.15customs_declaration_extra_quarantine_code附加检疫码stringN:出口商品检验必填附加检疫码
6.54clearance清关数据object—必填清关数据
6.54.1customs_clearance_material清关string—必填清关:材质
6.54.2customs_clearance_en_material清关string—可选清关:英文材质
6.54.3customs_clearance_usage清关string—必填清关:用途
6.54.4customs_clearance_internal_code清关string—必填清关:内部编码
6.54.5customs_clearance_preferential清关integer—必填清关:出口享惠情况: 1 不享惠 2 享惠 3 不确定享惠情况
6.54.6customs_clearance_brand_type清关integer—必填清关:品牌类型: 1 无品牌 2 境内自主品牌 3 境内收购品牌 4 境外品牌(贴牌生产) 5 境外品牌(其他)
6.54.7customs_clearance_product_pattern清关string—必填清关:产品型号
6.54.8customs_clearance_pic_url清关string—必填清关:清关图片
6.54.9allocation_remark清关string—必填清关:配货备注
6.54.10weaving_mode织造方式integer—必填织造方式:1 针织,2 梭织
6.54.11customs_clearance_price默认清关单价string—必填默认清关单价
6.54.12customs_clearance_price_currency默认清关单价币种string—必填默认清关单价币种
6.54.13customs_clearance_hs_code默认清关HSCODEstring—必填默认清关HSCODE
6.54.14customs_clearance_tax_rate默认清关税率string—必填默认清关税率
6.54.15customs_clearance_remark默认清关备注string&nbsp;必填默认清关备注
6.55aux_relation_list辅料列表array<object>—必填辅料列表
6.55.1aux_sku辅料skustring—必填辅料sku
6.55.2aux_name辅料名称string—必填辅料名称
6.55.3sku_qty辅料比例(主料)string—必填辅料比例(主料)
6.55.4aux_qty辅料比例(辅料)string—必填辅料比例(辅料)
6.56category_full_name完整分类层级名称stringguoze一级分类\\国泽二级分类2\\www必填完整分类层级名称

领星ERP的接口:查询本地产品详情(/erp/sc/routing/data/local_inventory/productInfo),由轻易云数据集成平台 API 资产管理模块整理收纳,并随领星ERP版本更新同步更新。

需要对接这个接口?

轻易云已预置该接口的适配能力,联系我们即可开始配置数据集成。