商品详情API

如果导入后图片不显示 加<meta name=”referrer” content=”no-referrer” id=”meta_referrer”/>这个请求头

post {url}/app/product/storage/detailList


请求:

字段

名称

类型

ids

商品id

array


返回:

字段

名称

id

中台商品id

title

商品名称

image_url

商品主图

agreement_price

协议价

guide_price

指导价

activity_price

营销价

market_price

市场价

sale_price

销售价

cost_price

如果有营销价 成本价就是营销价  如果没有就是协议价

 

stock

库存

sales

销量

sn

商品编号

is_display

上下架 0下1上

desc

商品描述

unit

商品单位

barcode

商品条码

gallery

商品组图

array

detail_images

商品详情

attrs

商品属性

array

skus

商品规格

array

brand

商品品牌

array

category_1

一级分类

array

category_2

二级分类

array

category_3

三级分类

array

 freight_type

0 固定运费,1 运费模板 2第三方运费 3包邮

 

 tax_code

 税收分类编码

 

tax_product_name

税收商品名称 

 

tax_short_name

税收分类简称 

 

tax_option

规格型号 

 

tax_unit

单位 

 

favorable_policy

优惠政策 

 

free_of_tax

正常税率1出口免税和其他免税优惠政策2不征增值税3普通零税率 

 

is_favorable_policy

是否使用优惠政策 

 

short_code

商品简码 

 

tax_measure_price

税收计量单位 

 

 tax_rate

税率 

 

is_tax_logo

含税标志 

 

gather_supply_id

供应链id

建议拆分订单使用字段 

supplier_id

供应商id

建议 拆分订单使用字段

source

来源 0中台 1云仓(聚合供应链) 2京东 6阿里 7天猫 具体可请求来API获取

 

建议拆分订单使用字段

supplier.shop_name

供应商名称

supplier对象下面 

gather_supply_name

供应链名称

   
     

gallery:

type

1图片 目前只有1

src

路径

attrs:

name

属性名称

value

属性值

skus:

id

规格id

title

规格名称

origin_price

guide_price

指导价

activity_price

营销价格

stock

库存

product_id

商品id

options

price

协议价

 tax_code

 税收分类编码

 

tax_product_name

税收商品名称 

 

tax_short_name

税收分类简称 

 

tax_option

规格型号 

 

tax_unit

单位 

 

favorable_policy

优惠政策 

 

free_of_tax

正常税率1出口免税和其他免税优惠政策2不征增值税3普通零税率 

 

is_favorable_policy

是否使用优惠政策 

 

short_code

商品简码 

 

tax_measure_price

税收计量单位 

 

 tax_rate

税率 

 

is_tax_logo

含税标志 

 

image_url

规格图片

 

weight

重量

 

gallery

商品组图

array

desc

商品描述

attrs

商品属性

array

video_url

首图视频

 

is_display

上下架(规格中的这个没有被使用,使用商品中的!!!!)

 

options:

spec_name

规格名称

spec_item_name

规格名称

category:

id

分类的

name

分类名称

{

“code”: 0,

“data”: {

“list”: [

{

“id”: 1028620,

“created_at”: 1634629818,

“updated_at”: 1634629818,

“title”: “【包邮】斯雅琪时尚复古水桶包宽带女包”, 商品名称

“origin_price”: 20200,

“guide_price”: 20200, 指导价

“price”: 20200,

“activity_price”: 0, 营销价格

“stock”: 3971, 库存

“sales”: 0, 销售数量

“feedback_rate”: 0,

“sn”: “”, 商品编号

“is_new”: 0,

“is_recommend”: 0,

“is_hot”: 0,

“is_promotion”: 0,

“is_display”: 1, 上下架 0下1上

“desc”: “”, 商品描述

“image_url”: “http://img.jxhh.com/ewei_shopseller529961629123018401271551?imageMogr2/thumbnail/320x/strip/quality/75/format/jpg”, 商品主图

“unit”: “件”, 商品单位

“barcode”: “”, 商品条码

“long”: 0,

“wide”: 0,

“high”: 0,

“volume”: 0,

“freight”: 0,

“freight_type”: 2,

“maxPrice”: 20200,

“minPrice”: 20200,

“gallery”: [ 商品组图 目前只有图片

{

“type”: 1,

“src”: “http://img.jxhh.com/ewei_shopseller529961629123016707602557?imageMogr2/thumbnail/620x/strip/quality/75/format/jpg”

},

{

“type”: 1,

“src”: “http://img.jxhh.com/ewei_shopseller529961629123016865060097?imageMogr2/thumbnail/620x/strip/quality/75/format/jpg”

}

],

“qualifications”: null,

“detail_images”: “<p></p>”, 商品详情

“attrs”: [ 商品属性

{

“name”: “属性名称”,

“value”: “属性值”

}

],

“skus”: [ 商品规格

{

“id”: 20183, 商品规格id 下单与获取运费验证是否可售等使用这个

“created_at”: 1634629818,

“updated_at”: 1634629818,

“title”: “黑色”, 规格属性

“price”: 20200,

“cost_price”: 4370, 成本价格

“origin_price”: 20200,

“guide_price”: 20402, 指导价

“activity_price”: 0, 营销价格

“stock”: 990, 库存

“weight”: 0,

“is_display”: 1,

“product_id”: 1028620,

“supplier_id”: 0,

“sn”: “”,

“image_url”: “”,

“options”: [

{

“spec_name”: “颜色”, 规格名称

“spec_item_name”: “黑色” 规格名称

}

],

“original_sku_id”: 33524830

},

{

“id”: 20184,

“created_at”: 1634629818,

“updated_at”: 1634629818,

“title”: “卡其色”,

“price”: 20200,

“cost_price”: 4370,

“origin_price”: 20200,

“guide_price”: 20402,

“activity_price”: 0,

“stock”: 992,

“weight”: 0,

“is_display”: 1,

“product_id”: 1028620,

“supplier_id”: 0,

“sn”: “”,

“image_url”: “”,

“options”: [

{

“spec_name”: “颜色”,

“spec_item_name”: “卡其色”

}

],

“original_sku_id”: 33524831

},

{

“id”: 20185,

“created_at”: 1634629818,

“updated_at”: 1634629818,

“title”: “咖啡色”,

“price”: 20200,

“cost_price”: 4370,

“origin_price”: 20200,

“guide_price”: 20402,

“activity_price”: 0,

“stock”: 998,

“weight”: 0,

“is_display”: 1,

“product_id”: 1028620,

“supplier_id”: 0,

“sn”: “”,

“image_url”: “”,

“options”: [

{

“spec_name”: “颜色”,

“spec_item_name”: “咖啡色”

}

],

“original_sku_id”: 33524832

},

{

“id”: 20186,

“created_at”: 1634629818,

“updated_at”: 1634629818,

“title”: “黄棕色1”,

“price”: 20200,

“cost_price”: 4370,

“origin_price”: 20200,

“guide_price”: 20402,

“activity_price”: 0,

“stock”: 991,

“weight”: 0,

“is_display”: 1,

“product_id”: 1028620,

“supplier_id”: 0,

“sn”: “”,

“image_url”: “”,

“options”: [

{

“spec_name”: “颜色”,

“spec_item_name”: “黄棕色1”

}

],

“original_sku_id”: 33524833

}

],

“supplier”: {

“id”: 0,

“name”: “”

},

“gather_supply”: {

“id”: 1,

“name”: “胜天半子”

},

“brand_id”: 147,

“supplier_id”: 0,

“gather_supply_id”: 1,

“category1_id”: 1,

“category2_id”: 8,

“category3_id”: 62,

“freight_template_id”: 0,

“source”: 1,

“source_goods_id”: 2631772,

“freeze”: 0,

“shop_level”: 0,

“des_level”: 0,

“express_level”: 0,

“level”: 0,

“brand”: { 品牌

“id”: 147,

“name”: “其他”

},

“category_1”: { 一级分类

“id”: 1,

“name”: “美妆产品”

},

“category_2”: { 二级分类

“id”: 8,

“name”: “洗面奶”

},

“category_3”: { 三级分类

“id”: 62,

“name”: “111”

},

“agreement_price”: 20200, 协议价

“market_price”: 20200, 市场价

“sale_price”: 20402, 售价

“cost_price”: 20402, 成本价

“origin_rate”: 20199,

“activity_rate”: 0

}

],

“total”: 0,

“page”: 0,

“pageSize”: 0,

“next_url”: “”

},

“msg”: “获取成功”

}

发表评论

您的邮箱地址不会被公开。 必填项已用 * 标注

滚动至顶部