查询本地产品详情
POST
/erp/sc/routing/data/local_inventory/productInfo支持查询本地产品详细信息,对应系统【产品】>【产品管理】数据
product_logistics_relation参数说明数组子元素中各前缀的含义:
US(美国)、CA(加拿大)、MX(墨西哥)、JP(日本)、UK(英国)、DE(德国)、FR(法国)、ES(西班牙)、IT(意大利)、NL(荷兰)、 AU(澳洲)、SG(新加坡)、IN(印度)、AE(阿联酋)、SA(沙特阿拉伯)、BR(巴西)、SE(瑞典)、PL(波兰)、BE(比利时)、TR(土耳其)、 UA(乌克兰)、HU(匈牙利)、PK(巴基斯坦)、LB(黎巴嫩)、AT(奥地利)、CH(瑞士)、CZ(捷克)、DK(丹麦)、IE(爱尔兰)、LU(卢森堡)、 NO(挪威)、PT(葡萄牙)、SK(斯洛伐克)、RU(俄罗斯)、KZ(哈萨克斯坦)、BY(白俄罗斯)、CL(智利)、KR(韩国)
接口信息
| API Path | 请求协议 | 请求方式 | 令牌桶容量 |
|---|---|---|---|
/erp/sc/routing/data/local_inventory/productInfo | HTTPS | POST | 1 |
请求参数
idintegerskustringsku_identifierstring请求示例
{
"id": 10001,
"sku": "ceshi001"
}
返回结果
Json Object
codeinteger必填messagestring必填error_detailsarray<any>必填request_idstring必填response_timestring必填dataobject必填隐藏子属性
idinteger必填product_namestring必填skustring必填sku_identifierstring必填pic_urlstring必填picture_listarray<object>必填隐藏子属性
pic_urlstring必填is_primaryinteger必填modelstring必填unitstring必填statusinteger必填cidinteger必填bidinteger必填product_developerstring必填product_developer_uidinteger必填permission_user_infoarray<object>必填隐藏子属性
permission_uidinteger必填permission_user_namestring必填global_tagsarray<object>必填隐藏子属性
global_tag_idstring必填tag_namestring必填colorstring必填descriptionstring必填is_combointeger必填brand_namestring必填category_namestring必填attachment_idarray<any>必填special_attrarray<any>必填currencystring必填cg_opt_usernamestring必填cg_deliveryinteger必填cg_pricenumber必填purchase_remarkstring必填cg_product_materialstring必填cg_product_lengthnumber必填cg_product_widthnumber必填cg_product_heightnumber必填cg_package_lengthnumber必填cg_package_widthnumber必填cg_package_heightnumber必填cg_box_lengthnumber必填cg_box_widthnumber必填cg_box_heightnumber必填cg_product_net_weightnumber必填cg_product_gross_weightnumber必填cg_box_weightnumber必填custom_fieldsarray<object>必填隐藏子属性
idstring必填namestring必填val_textstring必填cg_box_pcsinteger必填bg_customs_export_namestring必填bg_customs_import_namestring必填bg_customs_import_pricenumber必填bg_export_hs_codestring必填bg_import_hs_codestring必填bg_tax_ratenumber必填qc_standardobject必填隐藏子属性
custom_qc_templateobject隐藏子属性
qc_imagearray<object>必填隐藏子属性
file_idintegercustomer_urlstringqc_imagesarray<object>必填隐藏子属性
file_idstring必填new_qc_standardobject必填隐藏子属性
qc_methodinteger必填qc_method_textstring必填pqt_idstring必填system_qc_templateobject必填隐藏子属性
pqt_idstring必填namestring必填qc_imagearray<object>必填隐藏子属性
file_idstring必填file_namestring必填file_urlstring必填qc_attachmentarray<object>必填隐藏子属性
file_idstring必填file_namestring必填file_urlstring必填template_itemarray<object>必填隐藏子属性
pqti_idstring必填qc_itemstring必填sortinteger必填qc_contentobject必填create_timestring必填custom_qc_templateobject必填隐藏子属性
pqt_idstring必填namestring必填qc_imagearray<object>必填隐藏子属性
file_idstring必填file_namestring必填file_urlstring必填template_itemarray<object>必填隐藏子属性
pqti_idstring必填qc_itemstring必填sortinteger必填qc_contentobject必填create_timestring必填supplier_quotearray<object>必填隐藏子属性
psq_idstring必填product_idinteger必填supplier_idinteger必填supplier_namestring必填is_primaryinteger必填quote_remarkstring必填supplier_product_urlarray<any>必填quote_cg_deliveryinteger必填quotesarray<object>必填隐藏子属性
currencystring必填currency_iconstring必填is_taxinteger必填tax_ratestring必填step_pricesarray<object>必填隐藏子属性
moqinteger必填pricenumber必填price_with_taxnumber必填combo_product_listarray<object>必填隐藏子属性
product_idinteger必填quantityinteger必填skustring必填product_logistics_relationarray<object>必填隐藏子属性
XX_cg_transport_costsnumber必填XX_currencystring必填XX_clearance_pricenumber必填XX_clearance_price_currencystring必填XX_bg_import_hs_codestring必填XX_bg_tax_ratenumber必填declarationobject必填隐藏子属性
customs_declaration_unitstring必填customs_declaration_specstring必填customs_declaration_origin_producestring必填customs_declaration_inlands_sourcestring必填other_declare_elementstring必填customs_declaration_exemptstring必填customs_import_pricestringcustoms_import_price_currencystringproduction_and_sales_enterprise_namestring必填production_and_sales_enterprise_codestring必填clearanceobject必填隐藏子属性
customs_clearance_materialstring必填customs_clearance_en_materialstringcustoms_clearance_usagestring必填customs_clearance_internal_codestring必填customs_clearance_preferentialinteger必填customs_clearance_brand_typeinteger必填customs_clearance_product_patternstring必填customs_clearance_pic_urlstring必填allocation_remarkstring必填weaving_modeinteger必填customs_clearance_pricestring必填customs_clearance_price_currencystring必填customs_clearance_hs_codestring必填customs_clearance_tax_ratestring必填customs_clearance_remarkstring必填aux_relation_listarray<object>必填隐藏子属性
aux_skustring必填aux_namestring必填sku_qtystring必填aux_qtystring必填category_full_namestring必填返回成功示例
{
"code": 0,
"message": "success",
"error_details": [],
"request_id": "F4AC348D-5A4D-0F2B-833B-A02678969381",
"response_time": "2022-07-05 17:05:37",
"data": {
"id": 17835,
"product_name": "13131321655",
"sku": "654654654654",
"sku_identifier": "654654654654",
"pic_url": "https://imaxxx/xx61fb94db6fa2f5.jpeg",
"model": "",
"unit": "",
"status": 1,
"cid": 0,
"bid": 0,
"product_developer": "",
"product_developer_uid": 0,
"description": "",
"is_combo": 0,
"currency": "USD",
"purchase_remark": "20",
"special_attr": [
"4",
"3"
],
"attachment_id": [
"4132"
],
"cg_opt_username": "xx",
"cg_delivery": 555,
"cg_price": "10.0000",
"cg_product_material": "",
"bg_customs_export_name": "10",
"bg_customs_import_name": "10",
"bg_customs_import_price": "10.000000",
"bg_export_hs_code": "10",
"bg_import_hs_code": "",
"bg_tax_rate": "0.0000",
"picture_list": [
{
"pic_url": "https://imaxxx/xx61fb94db6fa2f5.jpeg",
"is_primary": 1
}
],
"permission_user_info": [
{
"permission_uid": 10317904,
"permission_user_name": "xx"
}
],
"brand_name": "",
"category_name": "",
"supplier_quote": [
{
"psq_id": "210331084332590081",
"product_id": "17835",
"supplier_id": "317",
"is_primary": 1,
"supplier_product_url": [
"https://xxx/xxx"
],
"quote_cg_delivery": 20240425,
"quote_remark": "备注22222222",
"cg_price": "10.0000",
"cg_currency_icon": "¥",
"supplier_name": "xxx",
"supplier_code": "SU00306",
"quotes": [
{
"currency": "CNY",
"currency_icon": "¥",
"is_tax": 0,
"tax_rate": "0.00",
"step_prices": [
{
"moq": 0,
"price": "0.0000",
"price_with_tax": "0.0000"
}
]
}
]
}
],
"combo_product_list": [],
"declaration": {
"customs_declaration_unit": "",
"customs_declaration_spec": "",
"customs_declaration_origin_produce": "",
"customs_declaration_inlands_source": "",
"customs_declaration_exempt": "",
"other_declare_element": ""
},
"clearance": {
"customs_clearance_material": "",
"customs_clearance_en_material": "",
"customs_clearance_usage": "",
"customs_clearance_internal_code": "",
"customs_clearance_preferential": 0,
"customs_clearance_brand_type": 0,
"customs_clearance_product_pattern": "",
"customs_clearance_pic_url": "",
"allocation_remark": "",
"weaving_mode": 0,
"customs_clearance_price": "0.0000",
"customs_clearance_price_currency": "CNY",
"customs_clearance_hs_code": "",
"customs_clearance_tax_rate": "0.0000",
"customs_clearance_remark": ""
},
"qc_standard": {
"custom_qc_template": {
"qc_image": []
}
},
"product_logistics_relation": [
{
"US_cg_transport_costs": "0.0000",
"US_currency": "CNY",
"US_bg_import_hs_code": "",
"US_clearance_price_currency": "CNY",
"US_clearance_price": "0.00",
"US_bg_tax_rate": "0.0000"
}
],
"cg_product_length": "10.00",
"cg_product_width": "20.00",
"cg_product_height": "10.00",
"cg_product_net_weight": "0.00",
"cg_package_length": "50.00",
"cg_package_width": "60.00",
"cg_package_height": "70.00",
"cg_box_length": "20.00",
"cg_box_width": "30.00",
"cg_box_height": "40.00",
"cg_box_pcs": 10,
"cg_product_gross_weight": "90000.00",
"cg_box_weight": "80.00",
"custom_fields": [
{
"id": "207257295331418115",
"name": "文本",
"val_text": ""
}
]
"global_tags": []
},
"total": 0
}
返回失败示例
{
"code": 500,
"message": "内部错误",
"error_details": "id不能为空 [请求码:C60610]",
"request_id": "360AB815-F61E-36E6-4CFF-68AA8A6868AF",
"response_time": "2021-11-11 16:27:36",
"data": [],
"total": 0
}