跳转到内容

商品列表

POST {url}/app/fuluSupply/storage/getProductList
字段 名称 类型 是否必须
keyword 关键字 string 否
is_display 1:全部,2:上架,3:下架 int 否
stock_status 1:全部,2:有库存,3:无库存 int 否
product_type 1:全部,2:直冲,3:卡密 int 否
sync_product_type 供应渠道 1:福禄 2:会员权益,126权益商品 127千禧券 int 否
page ## 请求参数

页数

int 是
pageSize 每页个数 int 是(最大值50)
字段 名称
code 0为成功其余都是失败
data array
msg 提示语

data

字段 名称
list 数据列表
total 总数量
page 当前页数
pageSize 每页个数

list

字段 名称
id 中台商品id
title 商品名称
image_url 商品主图
source 来源 0中台 1云仓(聚合供应链) 2京东 6阿里 7天猫
agreement_price 协议价
guide_price 指导价
activity_price 营销价
market_price 市场价
sale_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
fulu_goods_info 数字权益商品 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 含税标志

fulu_goods_info:

product_type 库存类型:卡密、直充

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 重量

options

spec_name 规格名称
spec_item_name 规格名称

category:

id 分类的
name 分类名称
{
"code": 0,
"data": {
"list": [
{
"id": 4535,
"created_at": 1683366721,
"updated_at": 1686542215,
"title": "爱奇艺黄金会员月卡-30元-直充-TO B异业渠道专用-自营",
"origin_price": 3000,
"guide_price": 3000,
"price": 2063,
"cost_price": 2039,
"activity_price": 3000,
"min_buy_qty": 0,
"stock": 99999,
"sales": 0,
"feedback_rate": 0,
"sn": "",
"code": "",
"is_new": 0,
"is_recommend": 0,
"is_hot": 0,
"is_promotion": 0,
"is_display": 1,
"status_lock": 0,
"single_option": 1,
"desc": "",
"image_url": "",
"video_url": "",
"unit": "件",
"barcode": "",
"long": 0,
"wide": 0,
"high": 0,
"volume": 0,
"freight": 0,
"freight_type": 0,
"maxPrice": 0,
"minPrice": 0,
"maxCostPrice": 0,
"minCostPrice": 0,
"maxOriginPrice": 0,
"minOriginPrice": 0,
"gallery": null,
"qualifications": null,
"detail_images": "",
"attrs": null,
"skus": [
{
"id": 4533,
"created_at": 1683366721,
"updated_at": 1683366721,
"title": "默认",
"price": 2063,
"cost_price": 2039,
"origin_price": 3000,
"guide_price": 3000,
"activity_price": 3000,
"stock": 99999,
"weight": 0,
"is_display": 1,
"product_id": 4535,
"supplier_id": 0,
"code": "",
"sn": "",
"barcode": "",
"image_url": "",
"options": [
{
"spec_name": "规格",
"spec_item_name": "默认"
}
],
"original_sku_id": 10000353,
"specId": "",
"describe": "",
"tax_code": "",
"tax_product_name": "",
"tax_short_name": "",
"tax_option": "",
"tax_unit": "",
"favorable_policy": "",
"is_favorable_policy": 0,
"free_of_tax": 0,
"short_code": "",
"tax_measure_price": 0,
"tax_rate": 0,
"is_tax_logo": 0,
"profit_rate": 0,
"jushuitan_bind": 0
}
],
"supplier": {
"id": 0,
"name": ""
},
"gather_supply": {
"id": 2,
"name": "福禄-private",
"key": "",
"category_id": 98
},
"ali_product": {
"id": 0,
"created_at": null,
"updated_at": null,
"product_id": 0,
"sku_id": 0,
"ali_sku_id": "",
"ali_product_id": 0,
"auto_pay": 0,
"shop_id": ""
},
"brand_id": 1,
"supplier_id": 0,
"gather_supply_id": 2,
"category1_id": 423,
"category2_id": 424,
"category3_id": 425,
"freight_template_id": 0,
"source": 0,
"sort": 0,
"source_goods_id": 10000353,
"location_id": 0,
"freeze": 0,
"shop_level": 0,
"des_level": 0,
"express_level": 0,
"level": 0,
"child_title": "",
"bill_position": 1,
"is_bill": 0,
"md5": "",
"tax_code": "",
"tax_product_name": "",
"tax_short_name": "",
"tax_option": "",
"tax_unit": "",
"favorable_policy": "",
"is_favorable_policy": 0,
"free_of_tax": 0,
"short_code": "",
"tax_measure_price": 0,
"tax_rate": 0,
"is_tax_logo": 0,
"product_verify": {
"id": 0,
"created_at": null,
"updated_at": null,
"product_id": 0,
"supplier_id": 0,
"status": 0,
"is_display": 0
},
"is_plugin": 1,
"plugin_id": 0,
"is_single_order": 0,
"supplier_source_id": 0,
"supplier_source_category_id": 0,
"profit_rate": 0,
"jushuitan_bind": 0,
"supply_line": "",
"is_supply_line": 0,
"is_video_shop": 0,
"agreement_price": 0,
"sale_price": 0,
"brand": {
"id": 1,
"name": "福禄卡券"
},
"category_1": {
"id": 423,
"name": "福禄卡券",
"image": ""
},
"category_2": {
"id": 424,
"name": "福禄卡券",
"image": ""
},
"category_3": {
"id": 425,
"name": "福禄卡券",
"image": ""
},
"fulu_goods_info": {
"id": 2339,
"created_at": 1683366721,
"updated_at": 1683366721,
"product_id": 10000353,
"product_type": "直充",
"product_source": 0
},
"user_equity_product_info": {
"id": 0,
"created_at": null,
"updated_at": null,
"equity_product_id": 0,
"coupon_name": "",
"coupon_name_type": "",
"coupon_suffix_name": "",
"original_price": 0,
"prices": 0,
"zhekou": 0,
"product_number_detais": "",
"icon": "",
"md5": ""
},
"sync_product_type_name": "福禄"
}
],
"total": 1,
"page": 0,
"pageSize": 0,
"next_url": "",
"sever_ratio": 0
},
"msg": "获取成功"
}