商品详情

GET /product/findProduct


请求:

字段

名称

类型

是否必须

id

商品id

int

返回:

字段

名称

类型

是否必须

id

商品id

int

created_at

创建时间

int

updated_at

修改时间

int

sort

排序

int

title

商品名称

string

category1_id

中台一级分类id

int

category2_id

中台二级分类id

int

category3_id

中台三级分类id

int

video_url

首图视频

string

price

供货价

int

cost_price

成本价

int

activity_price

营销加

int

stock

库存

int

sales

销售数量

int

sn

商品编号

string

desc

商品描述

string

image_url

商品主图

string

unit

商品单位

string

barcode

商品条码

string

freight

运费(分)

int

freight_type

运费类型(0统一 1运费模板 2第三方运费(供应链商品) 3包邮)

int

detail_images

商品详情(富文本)

string

attr

属性

array

weight

重量

qualifications

特殊资质

array

gallery

商品组图

array

skus

规格

array

skus:

title

规格属性名称

string

cost_price

成本价格(分)

int

origin_price

int

guide_price

指导价(分)

int

activity_price

营销价格(分)

int

stock

库存

int

options

规格详情

array

price

供货价(分

int

weight

重量

string

sn

条码

string

describe

规格描述

string

options:

spec_name

规格名称

string

spec_item_name

规格名称

string

attr:

name

属性名称

string

value

属性值

string

qualifications:

title

资质名称

string

src

资质图片

string

gallery:

type

1图片2视频(目前只有图片)

int

src

资源地址

string

{

“code”: 0,

“data”: {

“reproduct”: {

“id”: 1030496,

“created_at”: 1644309371,

“updated_at”: 1644808397,

“title”: “招商分红测试”,

“origin_price”: 18802,

“guide_price”: 18804,

“price”: 18801,

“stock”: 1093,

“cost_price”: 18803,

“activity_price”: 0,

“sales”: 1,

“sn”: “aa”,

“single_option”: 0,

“desc”: “321321321”,

“image_url”: “https://test-1251768088.cosgz.myqcloud.com/images/3/2018/02/XCo19OYQfCCSFZ3afgGQ7bahhqUsqH.png”,

“video_url”: “”,

“unit”: “件”,

“barcode”: “31231”,

“freight”: 0,

“freight_type”: 3,

“detail_images”: “<p>3213213213</p>”,

“brand_id”: 0,

“supplier_id”: 35,

“gather_supply_id”: 0,

“category1_id”: 69484,

“category2_id”: 69485,

“category3_id”: 69486,

“freight_template_id”: 0,

“source”: 0,

“source_goods_id”: 0,

“child_title”: “”,

“skus”: [

{

“id”: 31599,

“created_at”: 1644309371,

“updated_at”: 1644808397,

“title”: “默认”,

“price”: 18801,

“cost_price”: 18803,

“origin_price”: 18802,

“guide_price”: 18804,

“activity_price”: 0,

“stock”: 1093,

“weight”: 0,

“is_display”: 0,

“original_sku_id”: 0,

“sn”: “aa”,

“image_url”: “”,

“supplier_id”: 35,

“product_id”: 1030496,

“options”: [

{

“spec_name”: “规格”,

“spec_item_name”: “默认”

}

],

“describe”: “<p>321312321</p>”

}

],

“gallery”: [

{

“type”: 1,

“src”: “https://test-1251768088.cosgz.myqcloud.com/images/3/2018/02/XCo19OYQfCCSFZ3afgGQ7bahhqUsqH.png”

},

{

“type”: 1,

“src”: “https://test-1251768088.cosgz.myqcloud.com/images/3/2018/02/XCo19OYQfCCSFZ3afgGQ7bahhqUsqH.png”

}

],

“qualifications”: [

{

“title”: “测试特殊资质”,

“src”: “https://supply-chain-yunzmall.oss-cn-beijing.aliyuncs.com/2022214/1644808166QQ截图20211007105506.png”

}

],

“attrs”: null,

“max_price”: 18801,

“min_price”: 18801,

“weight”: 0,

“sku_id”: 31599

}

},

“msg”: “操作成功”

}

发表评论

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

滚动至顶部