优特云
[ { "name": "首页", "url": "http://www.utyun.com/", "target": "0", "child": [] }, { "name": "活动", "url": "http://www.utyun.com/h-col-141.html", "target": "0", "child": [] }, { "name": "产品", "url": "", "target": "1", "child": [ { "name": "U语言", "url": "http://www.utyun.com/h-col-176.html", "target": "0", "child": [] }, { "name": "U平台", "url": "http://www.utyun.com/h-col-150.html", "target": "0", "child": [] } ] }, { "name": "技术与服务", "url": "", "target": "1", "child": [ { "name": "运维服务", "url": "http://www.utyun.com/h-col-161.html", "target": "0", "child": [] }, { "name": "技术方案", "url": "http://www.utyun.com/h-col-178.html", "target": "0", "child": [] } ] }, { "name": "优特云学院", "url": "", "target": "1", "child": [ { "name": "教程", "url": "http://www.utyun.com/h-col-166.html", "target": "0", "child": [] }, { "name": "下载中心", "url": "http://www.utyun.com/h-col-170.html", "target": "0", "child": [] }, { "name": "论坛", "url": "http://www.utyun.com/h-col-169.html", "target": "0", "child": [] } ] }, { "name": "关于优特云", "url": "", "target": "1", "child": [ { "name": "企业概况", "url": "http://www.utyun.com/h-col-171.html", "target": "0", "child": [] }, { "name": "新闻动态", "url": "http://www.utyun.com/h-col-172.html", "target": "0", "child": [] }, { "name": "加入我们", "url": "http://www.utyun.com/h-col-173.html", "target": "0", "child": [] }, { "name": "团队风采", "url": "http://www.utyun.com/h-col-140.html", "target": "0", "child": [] } ] } ]
V1.03.00
店铺服务(shop)-店铺信息管理(外部)

伟 最后一次编辑

3 年多前 46

店铺服务(shop)-店铺信息管理(外部)

商家提交店铺开店申请

基本信息

Path: /shop/storeJoinin/submitShopApply

Method: POST

接口描述:

请求参数

Headers

参数名称 参数值 是否必须 示例 备注
Content-Type application/json
Body
名称 类型 是否必须 默认值 备注 其他信息
contacts_phone string 必须 联系人电话
bank_account_number string 非必须 结算公司银行账号
identity_card_back string 必须 身份证反面
contacts_name string 必须 联系人姓名
store_address string 必须 店铺地址
area_id string 非必须
company_address string 必须 公司地址
store_workingtime string 非必须 工作时间
store_phone string 必须 商家电话
contacts_email string 非必须 联系人邮箱
store_name string 必须 店铺名称
business_licence string 非必须 营业执照号
store_free_price number 非必须 超出该金额免运费
store_mainbusiness string 必须 主营商品(店铺描述)
is_settlement_account integer 非必须 开户行账号是否为结算账号 format: int32
app_id string 必须 应用ID
store_keywords string 非必须 店铺SEO关键字
store_logo string 必须 店铺LOGO
company_area_id string 非必须 所在地区ID
bank_account_name string 非必须 结算银行开户名
province_id string 必须 省份
company_name string 必须 公司名称
identity_card_front string 必须 身份证正面
position string 非必须 位置经纬度
business_licence_file string 必须 营业执照电子版
city_id string 必须 城市

返回数据

名称 类型 是否必须 默认值 备注 其他信息
msg string 必须 响应信息
code integer 必须 响应状态码 format: int32
data object 必须
├─ apply_id string 必须

商家更新开店申请信息

基本信息

Path: /shop/storeJoinin/updateApplyInfo

Method: POST

接口描述:

请求参数

Headers

参数名称 参数值 是否必须 示例 备注
Content-Type application/json
Body
名称 类型 是否必须 默认值 备注 其他信息
contacts_phone string 必须 联系人电话
bank_account_number string 必须 结算公司银行账号
identity_card_back string 必须 身份证反面地址
contacts_name string 必须 联系人姓名
store_address string 必须 店铺地址
area_id string 非必须
company_address string 必须 公司地址
store_workingtime string 必须 工作时间
store_phone string 必须 商家电话
apply_id string 必须 店铺申请ID
contacts_email string 必须 联系人邮箱
store_name string 必须 店铺名称
business_licence string 必须 营业执照号
store_free_price number 必须 超出该金额免运费
store_mainbusiness string 必须 主营商品
is_settlement_account integer 必须 开户行账号是否为结算账号 1-开户行就是结算账号 2-独立的计算账号 format: int32
app_id string 必须 应用ID
store_keywords string 必须 店铺SEO关键字
store_area_id string 必须 地区ID
store_logo string 必须 店铺LOGO
company_area_id string 必须 所在地区ID
bank_account_name string 必须 结算银行开户名
province_id string 非必须
company_name string 必须 公司名称
identity_card_front string 必须 身份证正面地址
position string 非必须
business_licence_file string 必须 营业执照电子版
city_id string 非必须

返回数据

名称 类型 是否必须 默认值 备注 其他信息
msg string 必须 响应信息
code integer 必须 响应状态码 format: int32
data object 非必须

批量同意店铺入驻申请

基本信息

Path: /shop/storeJoinin/auditPass

Method: POST

接口描述:

请求参数

Headers

参数名称 参数值 是否必须 示例 备注
Content-Type application/json
Body
名称 类型 是否必须 默认值 备注 其他信息
apply_ids string [] 必须 审核通过的店铺ID列表 item 类型: string
├─ 非必须

返回数据

名称 类型 是否必须 默认值 备注 其他信息
msg string 必须 响应信息
code integer 必须 响应状态码 format: int32
data object 非必须

管理员拒绝商家开店申请

基本信息

Path: /shop/storeJoinin/rejectApplication

Method: POST

接口描述:

请求参数

Headers

参数名称 参数值 是否必须 示例 备注
Content-Type application/json
Body
名称 类型 是否必须 默认值 备注 其他信息
apply_id string 必须 店铺入驻申请ID
joinin_message string 必须 管理员审核信息

返回数据

名称 类型 是否必须 默认值 备注 其他信息
msg string 必须 响应信息
code integer 必须 响应状态码 format: int32
data object 非必须

删除审核完成的申请记录

基本信息

Path: /shop/storeJoinin/deleteAuditedStores

Method: POST

接口描述:

请求参数

Headers

参数名称 参数值 是否必须 示例 备注
Content-Type application/json
Body
名称 类型 是否必须 默认值 备注 其他信息
delete_ids string [] 必须 要删除的申请记录ID item 类型: string
├─ 非必须

返回数据

名称 类型 是否必须 默认值 备注 其他信息
msg string 必须 响应信息
code integer 必须 响应状态码 format: int32
data object 非必须

管理员查看待审核开店申请列表

基本信息

Path: /shop/storeJoinin/applyList

Method: POST

接口描述:

请求参数

Headers

参数名称 参数值 是否必须 示例 备注
Content-Type application/json
Body
名称 类型 是否必须 默认值 备注 其他信息
pageno integer 必须 页数 format: int32
pagesize integer 必须 每页的记录数 format: int32
store_name string 非必须 店铺名称
audit_status string 非必须 店铺审核状态(0:待审核;1:审核完成)
sort string 必须 排序规则
app_id string 非必须 应用ID
order string 必须 排序字段

返回数据

名称 类型 是否必须 默认值 备注 其他信息
msg string 必须 响应信息
code integer 必须 响应状态码 format: int32
data object [] 必须 响应数据 item 类型: object
├─ create_time string 必须 创建时间 format: date-time
├─ store_keywords string 必须 店铺SEO关键字
├─ store_logo string 必须 店铺LOGO
├─ user_name string 必须 申请人
├─ store_address string 必须 店铺地址
├─ joinin_state string 必须 申请状态 10-已提交申请 20-审核成功 30-审核失败
├─ store_avatar string 必须 店铺头像
├─ store_phone string 必须 商家电话
├─ company_name string 必须 公司名称
├─ store_name string 必须 店铺名称
├─ area_info string 必须 地区名称
├─ id string 必须 店铺申请ID
├─ store_free_price number 必须 超出该金额免运费,大于0才表示该值有效
├─ store_mainbusiness string 必须 店铺描述
├─ app_id string 必须 应用ID
├─ joinin_message string 必须 管理员审核信息
page object 非必须
├─ total integer 必须 总页数 format: int64
├─ records integer 必须 总记录数 format: int64
├─ pageno integer 必须 每页的记录数 format: int32
├─ pagesize integer 必须 页数 format: int32

管理员查看店铺审核详情

基本信息

Path: /shop/storeJoinin/getAuditDetail

Method: POST

接口描述:

请求参数

Headers

参数名称 参数值 是否必须 示例 备注
Content-Type application/json
Body
名称 类型 是否必须 默认值 备注 其他信息
apply_id string 必须 店铺申请ID

返回数据

名称 类型 是否必须 默认值 备注 其他信息
msg string 必须 响应信息
code integer 必须 响应状态码 format: int32
data object 必须
├─ contacts_phone string 必须 联系电话
├─ store_endtime string 非必须 format: date-time
├─ store_banner string 必须 店铺Banner
├─ bank_account_number string 必须 结算公司银行账号
├─ identity_card_back string 必须 身份证背面
├─ contacts_name string 必须 联系人
├─ is_platform_store integer 必须 是否自营 1是 0否 format: int32
├─ store_address string 必须 店铺地址
├─ area_id string 必须 地区ID
├─ company_address string 必须 公司地址
├─ store_avatar string 必须 店铺头像
├─ store_workingtime string 必须 工作时间
├─ store_theme string 必须 店铺当前主题
├─ store_phone string 必须 商家电话
├─ apply_id string 必须 店铺申请ID
├─ contacts_email string 必须 联系邮件
├─ store_name string 必须 店铺名称
├─ area_info string 必须 地区名称
├─ business_licence string 必须 营业执照号
├─ categories object [] 必须 可发布的分类 item 类型: object
├─ gc_name string 必须 分类名称
├─ create_time string 必须 创建时间 format: date-time
├─ level integer 必须 分类层级 format: int32
├─ gc_parent_name string 必须 是否前台显示
├─ id string 必须 分类ID
├─ sort integer 必须 分类排序 format: int32
├─ gc_parent_id string 必须 父分类ID
├─ status integer 必须 分类状态 format: int32
├─ store_free_price number 必须 超出该金额免运费,大于0才表示该值有效
├─ store_mainbusiness string 必须 主营商品
├─ is_settlement_account integer 必须 开户行账号是否为结算账号 1-开户行就是结算账号 2-独立的计算账号 format: int32
├─ app_id string 必须 应用ID
├─ joinin_message string 必须 管理员审核信息
├─ member_id string 必须 用户ID
├─ store_company_name string 必须 店铺公司名称
├─ store_keywords string 必须 店铺SEO关键字
├─ store_logo string 必须 店铺LOGO
├─ store_qq string 必须 店铺QQ
├─ store_ww string 必须 阿里旺旺
├─ member_name string 必须 店主用户名
├─ company_area_id string 必须 公司地区ID
├─ store_addtime string 必须 店铺时间 format: date-time
├─ bank_account_name string 必须 结算银行开户名
├─ province_id string 必须 省份
├─ company_name string 必须 公司名称
├─ identity_card_front string 必须 身份证正面
├─ store_huodaofk integer 必须 货到付款 format: int32
├─ position string 必须 经纬度信息
├─ business_licence_file string 必须 营业执照电子版
├─ city_id string 必须 城市

管理员查询店铺详情

基本信息

Path: /shop/store/adminGet

Method: POST

接口描述:

请求参数

Headers

参数名称 参数值 是否必须 示例 备注
Content-Type application/json
Body
名称 类型 是否必须 默认值 备注 其他信息
id string 必须 应用ID

返回数据

名称 类型 是否必须 默认值 备注 其他信息
msg string 必须
code integer 必须 format: int32
data object 必须
├─ contacts_phone string 必须 联系人电话
├─ store_banner string 必须 店铺Banner
├─ store_state integer 必须 店铺状态,0:下线;1:上线 format: int32
├─ bank_account_number string 必须 结算公司银行账号
├─ identity_card_back string 必须 身份证反面
├─ contacts_name string 必须 联系人姓名
├─ is_platform_store integer 必须 是否自营店铺 1是 0否 format: int32
├─ store_address string 必须 店铺地址
├─ area_id string 必须 地区ID
├─ extend_info string 必须 店铺扩展信息
├─ company_address string 必须 公司地址
├─ joinin_state string 必须 申请状态 10-已提交申请 20-审核成功 30-审核失败 40-审核通过开店
├─ store_avatar string 必须 店铺头像
├─ store_workingtime string 必须 店铺营业时间
├─ store_theme string 必须 店铺当前主题
├─ store_phone string 必须 商家电话
├─ apply_id string 必须 店铺申请ID
├─ contacts_email string 必须 联系人邮箱
├─ store_name string 必须 店铺名称
├─ area_info string 必须 地区名称
├─ business_licence string 必须 营业执照号
├─ store_free_price number 必须 超出该金额免运费,大于0才表示该值有效
├─ store_mainbusiness string 必须 店铺描述
├─ is_settlement_account integer 必须 开户行账号是否为结算账号 1-开户行就是结算账号 2-独立的计算账号 format: int32
├─ app_id string 必须 应用ID
├─ joinin_message string 必须 管理员审核信息
├─ member_id string 必须 用户ID
├─ store_id string 必须 店铺ID
├─ store_company_name string 必须 店铺公司名称
├─ store_keywords string 必须 店铺SEO关键字
├─ is_open integer 必须 0 休息中,1营业中 format: int32
├─ store_logo string 必须 店铺LOGO
├─ store_qq string 必须 店铺QQ
├─ store_ww string 必须 店铺旺旺
├─ member_name string 必须 店主用户名
├─ company_area_id string 必须 所在地区ID
├─ store_addtime string 必须 店铺时间 format: date-time
├─ bank_account_name string 必须 结算银行开户名
├─ province_id string 必须 省份
├─ company_name string 必须 公司名称
├─ identity_card_front string 必须 身份证正面
├─ store_huodaofk integer 必须 货到付款 format: int32
├─ position string 必须 位置经纬度
├─ business_licence_file string 必须 营业执照电子版
├─ city_id string 必须 城市

查看店铺列表

基本信息

Path: /shop/store/query

Method: POST

接口描述:

请求参数

Headers

参数名称 参数值 是否必须 示例 备注
Content-Type application/json
Body
名称 类型 是否必须 默认值 备注 其他信息
pageno integer 必须 当前页码数 format: int32
pagesize integer 必须 每页记录数 format: int32
store_name string 非必须 店铺名称
sort string 必须 排序规则
app_id string 必须 应用ID
order string 必须 排序字段

返回数据

名称 类型 是否必须 默认值 备注 其他信息
msg string 必须 响应信息
code integer 必须 响应状态码 format: int32
data object [] 必须 响应数据 item 类型: object
├─ store_endtime string 必须 店铺关闭时间 format: date-time
├─ store_banner string 必须 店铺Banner
├─ store_state integer 必须 店铺状态 format: int32
├─ store_sales integer 必须 店铺销量 format: int32
├─ is_platform_store integer 必须 是否自营店铺 format: int32
├─ store_address string 必须 店铺地址
├─ area_id string 必须 地区ID
├─ store_avatar string 必须 店铺头像
├─ store_workingtime string 必须 工作时间
├─ store_theme string 必须 店铺当前主题
├─ store_phone string 必须 商家电话
├─ store_collect integer 必须 店铺收藏数量 format: int32
├─ store_desccredit number 必须 描述相符度分数
├─ store_name string 必须 店铺名称
├─ area_info string 必须 地区名称
├─ id string 必须 店铺ID
├─ store_free_price number 必须 超出该金额免运费,大于0才表示该值有效
├─ store_mainbusiness string 必须 主营商品
├─ member_id string 必须 用户ID
├─ store_company_name string 必须 店铺公司名称
├─ store_keywords string 必须 店铺SEO关键字
├─ store_logo string 必须 店铺LOGO
├─ store_qq string 必须 店铺QQ
├─ store_ww string 必须 阿里旺旺
├─ member_name string 必须 用户名
├─ store_addtime string 必须 店铺创建时间 format: date-time
├─ store_recommend integer 必须 是否推荐 format: int32
├─ store_servicecredit number 必须 服务态度分数
├─ store_close_info string 必须 店铺关闭原因
├─ store_deliverycredit number 必须 发货速度分数
├─ store_huodaofk integer 必须 货到付款 format: int32
├─ store_credit integer 必须 店铺信用 format: int32
page object 非必须
├─ total integer 必须 总页数 format: int64
├─ records integer 必须 总记录数 format: int64
├─ pageno integer 必须 每页的记录数 format: int32
├─ pagesize integer 必须 页数 format: int32

应用店铺搜索

基本信息

Path: /shop/public/store/searchStores

Method: POST

接口描述:

请求参数

Headers

参数名称 参数值 是否必须 示例 备注
Content-Type application/json
Body
名称 类型 是否必须 默认值 备注 其他信息
distance number 非必须 搜索距离 format: double
store_keywords string 必须 店铺SEO关键字
pageno integer 非必须 format: int32
latitude string 非必须 纬度
pagesize integer 非必须 format: int32
store_name string 必须 店铺名称
area_id string 必须 区域id
app_id string 必须 应用ID
city_id string 必须 城市id
longitude string 非必须 经度
member_id string 非必须 商家ID

返回数据

名称 类型 是否必须 默认值 备注 其他信息
msg string 必须 响应信息
code integer 必须 响应状态码 format: int32
data object [] 必须 响应数据 item 类型: object
├─ contacts_phone string 非必须 联系人电话
├─ member_id string 非必须 用户id
├─ store_id string 必须 店铺ID
├─ distance number 必须 距离 format: double
├─ store_keywords string 必须 店铺SEO关键字
├─ is_open integer 必须 是否营业:0休息1营业中 最大值: 127最小值: -128format: int32
├─ store_logo string 必须 店铺LOGO
├─ store_sales integer 必须 店铺销量 format: int32
├─ contacts_name string 非必须 联系人名称
├─ store_address string 必须 店铺地址
├─ area_id string 必须 区域id
├─ member_name string 非必须 用户名
├─ store_workingtime string 必须 工作时间
├─ store_addtime string 非必须 店铺时间 format: date-time
├─ store_phone string 非必须 店铺电话
├─ store_collect integer 必须 店铺收藏数量 format: int32
├─ province_id string 必须 省份
├─ store_name string 必须 店铺名称
├─ store_credit integer 必须 店铺信用 format: int32
├─ store_mainbusiness string 必须 店铺描述
├─ city_id string 必须 城市id
├─ order string 非必须 排序规则
├─ sort string 非必须 排序字段

应用店铺搜索(按角色)

基本信息

Path: /shop/store/searchStores

Method: POST

接口描述:

请求参数

Headers

参数名称 参数值 是否必须 示例 备注
Content-Type application/json
Body
名称 类型 是否必须 默认值 备注 其他信息
distance number 必须 搜索距离 format: double
store_keywords string 必须 店铺SEO关键字
pageno integer 非必须 format: int32
latitude string 必须 纬度
pagesize integer 非必须 format: int32
store_name string 必须 店铺名称
area_id string 必须 区域id
app_id string 必须 应用ID
city_id string 必须 城市id
longitude string 必须 经度
member_id string 非必须 商家ID

返回数据

名称 类型 是否必须 默认值 备注 其他信息
msg string 必须 响应信息
code integer 必须 响应状态码 format: int32
data object [] 必须 响应数据 item 类型: object
├─ contacts_phone string 非必须 联系人电话
├─ member_id string 非必须 用户id
├─ store_id string 必须 店铺ID
├─ distance number 必须 距离 format: double
├─ store_keywords string 必须 店铺SEO关键字
├─ is_open integer 必须 是否营业:0休息1营业中 最大值: 127最小值: -128format: int32
├─ store_logo string 必须 店铺LOGO
├─ store_sales integer 必须 店铺销量 format: int32
├─ contacts_name string 非必须 联系人名称
├─ store_address string 必须 店铺地址
├─ area_id string 必须 区域id
├─ member_name string 非必须 用户名
├─ store_workingtime string 必须 工作时间
├─ store_addtime string 非必须 店铺时间 format: date-time
├─ store_phone string 非必须 店铺电话
├─ store_collect integer 必须 店铺收藏数量 format: int32
├─ province_id string 必须 省份
├─ store_name string 必须 店铺名称
├─ store_credit integer 必须 店铺信用 format: int32
├─ store_mainbusiness string 必须 店铺描述
├─ city_id string 必须 城市id

创建店铺

基本信息

Path: /shop/store/create

Method: POST

接口描述:

请求参数

Headers

参数名称 参数值 是否必须 示例 备注
Content-Type application/json
Body
名称 类型 是否必须 默认值 备注 其他信息
contacts_phone string 必须 联系人电话
member_id string 非必须
store_banner string 非必须 店铺Banner
store_company_name string 非必须 店铺公司名称
store_keywords string 非必须 店铺SEO关键字
store_logo string 必须 店铺LOGO
contacts_name string 必须 联系人名称
store_address string 必须 店铺地址
area_id string 非必须 区域id
extend_info string 非必须 扩展信息
store_avatar string 非必须 店铺头像
store_workingtime string 必须 营业时间
store_phone string 必须 商家电话
province_id string 必须 省份
store_name string 必须 店铺名称
position string 必须 位置经纬度
store_free_price number 非必须 超出该金额免运费
store_mainbusiness string 非必须 店铺描述
app_id string 必须 应用ID
business_licence_file string 非必须
city_id string 必须 城市
has_role boolean 非必须

返回数据

名称 类型 是否必须 默认值 备注 其他信息
msg string 必须 响应信息
code integer 必须 响应状态码 format: int32
data object 必须
├─ id string 必须 新增成功后的记录id

创建店铺(按角色)

基本信息

Path: /shop/store/createByRole

Method: POST

接口描述:

请求参数

Headers

参数名称 参数值 是否必须 示例 备注
Content-Type application/json
Body
名称 类型 是否必须 默认值 备注 其他信息
contacts_phone string 必须 联系人电话
member_id string 非必须
store_banner string 非必须 店铺Banner
store_company_name string 非必须 店铺公司名称
store_keywords string 非必须 店铺SEO关键字
store_logo string 必须 店铺LOGO
contacts_name string 必须 联系人名称
store_address string 必须 店铺地址
area_id string 非必须 区域id
extend_info string 非必须 扩展信息
store_avatar string 非必须 店铺头像
store_workingtime string 必须 营业时间
store_phone string 必须 商家电话
province_id string 必须 省份
store_name string 必须 店铺名称
position string 必须 位置经纬度
store_free_price number 非必须 超出该金额免运费
store_mainbusiness string 非必须 店铺描述
app_id string 必须 应用ID
business_licence_file string 非必须
city_id string 必须 城市
has_role boolean 非必须

返回数据

名称 类型 是否必须 默认值 备注 其他信息
msg string 必须 响应信息
code integer 必须 响应状态码 format: int32
data object 必须
├─ id string 必须 新增成功后的记录id

更新店铺

基本信息

Path: /shop/store/update

Method: POST

接口描述:

请求参数

Headers

参数名称 参数值 是否必须 示例 备注
Content-Type application/json
Body
名称 类型 是否必须 默认值 备注 其他信息
contacts_phone string 必须 联系人电话
store_id string 必须 店铺ID
store_banner string 必须 店铺Banner
store_keywords string 必须 店铺SEO关键字
store_logo string 必须 店铺LOGO
contacts_name string 必须 联系人名称
store_address string 必须 店铺地址
area_id string 必须 地区ID
extend_info string 非必须
store_avatar string 必须 店铺头像
store_workingtime string 必须 营业时间
store_phone string 必须 商家电话
province_id string 必须 省份
store_name string 非必须
position string 必须 位置经纬度
store_free_price number 必须 超出该金额免运费
store_mainbusiness string 必须 店铺描述
business_licence_file string 非必须
city_id string 必须 城市
has_role boolean 非必须

返回数据

名称 类型 是否必须 默认值 备注 其他信息
msg string 必须 响应信息
code integer 必须 响应状态码 format: int32
data object 非必须

店铺上线后商家更新店铺信息

基本信息

Path: /shop/store/updateStoreInfo

Method: POST

接口描述:

请求参数

Headers

参数名称 参数值 是否必须 示例 备注
Content-Type application/json
Body
名称 类型 是否必须 默认值 备注 其他信息
store_id string 必须 店铺ID
province_id string 非必须 省份
store_logo string 非必须 店铺LOGO
store_address string 非必须 店铺地址
store_name string 非必须 店铺名称
position string 非必须 位置经纬度
store_mainbusiness string 非必须 主营商品
area_id string 非必须
city_id string 非必须 城市

返回数据

名称 类型 是否必须 默认值 备注 其他信息
msg string 必须 响应信息
code integer 必须 响应状态码 format: int32
data object 非必须

更新店铺(按角色)

基本信息

Path: /shop/store/updateByRole

Method: POST

接口描述:

请求参数

Headers

参数名称 参数值 是否必须 示例 备注
Content-Type application/json
Body
名称 类型 是否必须 默认值 备注 其他信息
contacts_phone string 必须 联系人电话
store_id string 必须 店铺ID
store_banner string 必须 店铺Banner
store_keywords string 必须 店铺SEO关键字
store_logo string 必须 店铺LOGO
contacts_name string 必须 联系人名称
store_address string 必须 店铺地址
area_id string 必须 地区ID
extend_info string 非必须
store_avatar string 必须 店铺头像
store_workingtime string 必须 营业时间
store_phone string 必须 商家电话
province_id string 必须 省份
store_name string 非必须
position string 必须 位置经纬度
store_free_price number 必须 超出该金额免运费
store_mainbusiness string 必须 店铺描述
business_licence_file string 非必须
city_id string 必须 城市
has_role boolean 非必须

返回数据

名称 类型 是否必须 默认值 备注 其他信息
msg string 必须 响应信息
code integer 必须 响应状态码 format: int32
data object 非必须

更新店营业状态

基本信息

Path: /shop/store/updateBusinessState

Method: POST

接口描述:

请求参数

Headers

参数名称 参数值 是否必须 示例 备注
Content-Type application/json
Body
名称 类型 是否必须 默认值 备注 其他信息
is_open integer 必须 店铺扩展信息 营业状态只能为:0休息1营业中 format: int32
id string 必须 店铺ID

返回数据

名称 类型 是否必须 默认值 备注 其他信息
msg string 必须 响应信息
code integer 必须 响应状态码 format: int32
data object 非必须

更新店铺扩展信息

基本信息

Path: /shop/store/updateExtendInfo

Method: POST

接口描述:

请求参数

Headers

参数名称 参数值 是否必须 示例 备注
Content-Type application/json
Body
名称 类型 是否必须 默认值 备注 其他信息
shop_id string 非必须
extend_info string 必须 店铺扩展信息

返回数据

名称 类型 是否必须 默认值 备注 其他信息
msg string 必须 响应信息
code integer 必须 响应状态码 format: int32
data object 非必须

新增店铺商品分类

基本信息

Path: /shop/storeGoodsClass/add

Method: POST

接口描述:

请求参数

Headers

参数名称 参数值 是否必须 示例 备注
Content-Type application/json
Body
名称 类型 是否必须 默认值 备注 其他信息
store_id string 必须 店铺ID
sort integer 必须 商品分类排序 format: int32
storegc_name string 必须 店铺商品分类名称
storegc_parent_id string 非必须 上级ID

返回数据

名称 类型 是否必须 默认值 备注 其他信息
msg string 必须 响应信息
code integer 必须 响应状态码 format: int32
data object 必须
├─ id string 必须 新增成功后的记录id

店铺上线

基本信息

Path: /shop/store/online

Method: POST

接口描述:

请求参数

Headers

参数名称 参数值 是否必须 示例 备注
Content-Type application/json
Body
名称 类型 是否必须 默认值 备注 其他信息
id string 必须 应用ID

返回数据

名称 类型 是否必须 默认值 备注 其他信息
msg string 必须 响应信息
code integer 必须 响应状态码 format: int32
data object 非必须

店铺上线(按角色)

基本信息

Path: /shop/store/onlineByRole

Method: POST

接口描述:

请求参数

Headers

参数名称 参数值 是否必须 示例 备注
Content-Type application/json
Body
名称 类型 是否必须 默认值 备注 其他信息
id string 必须 应用ID

返回数据

名称 类型 是否必须 默认值 备注 其他信息
msg string 必须 响应信息
code integer 必须 响应状态码 format: int32
data object 非必须

店铺下线

基本信息

Path: /shop/store/offline

Method: POST

接口描述:

请求参数

Headers

参数名称 参数值 是否必须 示例 备注
Content-Type application/json
Body
名称 类型 是否必须 默认值 备注 其他信息
id string 必须 应用ID

返回数据

名称 类型 是否必须 默认值 备注 其他信息
msg string 必须 响应信息
code integer 必须 响应状态码 format: int32
data object 非必须

店铺下线(按角色)

基本信息

Path: /shop/store/offlineByRole

Method: POST

接口描述:

请求参数

Headers

参数名称 参数值 是否必须 示例 备注
Content-Type application/json
Body
名称 类型 是否必须 默认值 备注 其他信息
id string 必须 应用ID

返回数据

名称 类型 是否必须 默认值 备注 其他信息
msg string 必须 响应信息
code integer 必须 响应状态码 format: int32
data object 非必须

普通用户查询店铺详情

基本信息

Path: /shop/store/public/getStoreInfo

Method: POST

接口描述:

请求参数

Headers

参数名称 参数值 是否必须 示例 备注
Content-Type application/json
Body
名称 类型 是否必须 默认值 备注 其他信息
id string 必须 应用ID

返回数据

名称 类型 是否必须 默认值 备注 其他信息
msg string 非必须 响应信息
code integer 非必须 响应状态码 format: int32
data object 非必须
├─ contacts_phone string 非必须
├─ member_id string 非必须
├─ store_banner string 非必须
├─ store_state integer 非必须 format: int32
├─ store_company_name string 非必须
├─ store_keywords string 非必须
├─ is_open string 非必须
├─ store_logo string 非必须
├─ contacts_name string 非必须
├─ store_address string 非必须
├─ area_id string 非必须
├─ member_name string 非必须
├─ extend_info string 非必须
├─ store_avatar string 非必须
├─ store_workingtime string 非必须
├─ store_addtime string 非必须 format: date-time
├─ store_phone string 非必须
├─ province_id string 非必须
├─ store_name string 非必须
├─ id string 非必须
├─ position string 非必须
├─ store_mainbusiness string 非必须
├─ city_id string 非必须

商家查看店铺详情

基本信息

Path: /shop/store/get

Method: GET

接口描述:

请求参数

Headers

参数名称 参数值 是否必须 示例 备注
Content-Type application/json
Body
名称 类型 是否必须 默认值 备注 其他信息
string 非必须 format: binary

返回数据

名称 类型 是否必须 默认值 备注 其他信息
msg string 必须
code integer 必须 format: int32
data object 必须
├─ contacts_phone string 必须 联系人电话
├─ store_banner string 必须 店铺Banner
├─ store_state integer 必须 店铺状态,0:下线;1:上线 format: int32
├─ bank_account_number string 必须 结算公司银行账号
├─ identity_card_back string 必须 身份证反面
├─ contacts_name string 必须 联系人姓名
├─ is_platform_store integer 必须 是否自营店铺 1是 0否 format: int32
├─ store_address string 必须 店铺地址
├─ area_id string 必须 地区ID
├─ extend_info string 必须 店铺扩展信息
├─ company_address string 必须 公司地址
├─ joinin_state string 必须 申请状态 10-已提交申请 20-审核成功 30-审核失败 40-审核通过开店
├─ store_avatar string 必须 店铺头像
├─ store_workingtime string 必须 店铺营业时间
├─ store_theme string 必须 店铺当前主题
├─ store_phone string 必须 商家电话
├─ apply_id string 必须 店铺申请ID
├─ contacts_email string 必须 联系人邮箱
├─ store_name string 必须 店铺名称
├─ area_info string 必须 地区名称
├─ business_licence string 必须 营业执照号
├─ store_free_price number 必须 超出该金额免运费,大于0才表示该值有效
├─ store_mainbusiness string 必须 店铺描述
├─ is_settlement_account integer 必须 开户行账号是否为结算账号 1-开户行就是结算账号 2-独立的计算账号 format: int32
├─ app_id string 必须 应用ID
├─ joinin_message string 必须 管理员审核信息
├─ member_id string 必须 用户ID
├─ store_id string 必须 店铺ID
├─ store_company_name string 必须 店铺公司名称
├─ store_keywords string 必须 店铺SEO关键字
├─ is_open integer 必须 0 休息中,1营业中 format: int32
├─ store_logo string 必须 店铺LOGO
├─ store_qq string 必须 店铺QQ
├─ store_ww string 必须 店铺旺旺
├─ member_name string 必须 店主用户名
├─ company_area_id string 必须 所在地区ID
├─ store_addtime string 必须 店铺时间 format: date-time
├─ bank_account_name string 必须 结算银行开户名
├─ province_id string 必须 省份
├─ company_name string 必须 公司名称
├─ identity_card_front string 必须 身份证正面
├─ store_huodaofk integer 必须 货到付款 format: int32
├─ position string 必须 位置经纬度
├─ business_licence_file string 必须 营业执照电子版
├─ city_id string 必须 城市

根据角色获取商家店铺详情

基本信息

Path: /shop/store/getByRole

Method: POST

接口描述:

请求参数

Headers

参数名称 参数值 是否必须 示例 备注
Content-Type application/json
Body
名称 类型 是否必须 默认值 备注 其他信息
member_id string 必须

返回数据

名称 类型 是否必须 默认值 备注 其他信息
msg string 必须
code integer 必须 format: int32
data object 必须
├─ contacts_phone string 必须 联系人电话
├─ store_banner string 必须 店铺Banner
├─ store_state integer 必须 店铺状态,0:下线;1:上线 format: int32
├─ bank_account_number string 必须 结算公司银行账号
├─ identity_card_back string 必须 身份证反面
├─ contacts_name string 必须 联系人姓名
├─ is_platform_store integer 必须 是否自营店铺 1是 0否 format: int32
├─ store_address string 必须 店铺地址
├─ area_id string 必须 地区ID
├─ extend_info string 必须 店铺扩展信息
├─ company_address string 必须 公司地址
├─ joinin_state string 必须 申请状态 10-已提交申请 20-审核成功 30-审核失败 40-审核通过开店
├─ store_avatar string 必须 店铺头像
├─ store_workingtime string 必须 店铺营业时间
├─ store_theme string 必须 店铺当前主题
├─ store_phone string 必须 商家电话
├─ apply_id string 必须 店铺申请ID
├─ contacts_email string 必须 联系人邮箱
├─ store_name string 必须 店铺名称
├─ area_info string 必须 地区名称
├─ business_licence string 必须 营业执照号
├─ store_free_price number 必须 超出该金额免运费,大于0才表示该值有效
├─ store_mainbusiness string 必须 店铺描述
├─ is_settlement_account integer 必须 开户行账号是否为结算账号 1-开户行就是结算账号 2-独立的计算账号 format: int32
├─ app_id string 必须 应用ID
├─ joinin_message string 必须 管理员审核信息
├─ member_id string 必须 用户ID
├─ store_id string 必须 店铺ID
├─ store_company_name string 必须 店铺公司名称
├─ store_keywords string 必须 店铺SEO关键字
├─ is_open integer 必须 0 休息中,1营业中 format: int32
├─ store_logo string 必须 店铺LOGO
├─ store_qq string 必须 店铺QQ
├─ store_ww string 必须 店铺旺旺
├─ member_name string 必须 店主用户名
├─ company_area_id string 必须 所在地区ID
├─ store_addtime string 必须 店铺时间 format: date-time
├─ bank_account_name string 必须 结算银行开户名
├─ province_id string 必须 省份
├─ company_name string 必须 公司名称
├─ identity_card_front string 必须 身份证正面
├─ store_huodaofk integer 必须 货到付款 format: int32
├─ position string 必须 位置经纬度
├─ business_licence_file string 必须 营业执照电子版
├─ city_id string 必须 城市

获取一组商家的店铺信息(按角色)

基本信息

Path: /shop/store/findByMembers

Method: POST

接口描述:

请求参数

Headers

参数名称 参数值 是否必须 示例 备注
Content-Type application/json
Body
名称 类型 是否必须 默认值 备注 其他信息
member_ids string [] 必须 用户id列表 item 类型: string
├─ 非必须

返回数据

名称 类型 是否必须 默认值 备注 其他信息
msg string 必须
code integer 必须 format: int32
data object [] 必须 item 类型: object
├─ member_id string 必须 用户id
├─ store_id string 必须 店铺id
├─ store_name string 必须 店铺名称

首页搜索店铺

基本信息

Path: /shop/store/storeSearch

Method: POST

接口描述:

请求参数

Headers

参数名称 参数值 是否必须 示例 备注
Content-Type application/json
Body
名称 类型 是否必须 默认值 备注 其他信息
pageno integer 必须 页数 format: int32
pagesize integer 必须 每页的记录数 format: int32
store_name string 非必须 店铺名称
position string 非必须 位置经纬度
app_id string 非必须 应用ID

返回数据

名称 类型 是否必须 默认值 备注 其他信息
msg string 必须 响应信息
code integer 必须 响应状态码 format: int32
data object [] 必须 响应数据 item 类型: object
├─ distance number 必须 距离 format: double
├─ store_servicecredit number 必须 服务态度分数
├─ province_id string 必须 省份
├─ store_sales integer 必须 店铺销量 format: int32
├─ store_desccredit number 必须 描述相符度分数
├─ store_name string 必须 店铺名称
├─ store_deliverycredit number 必须 发货速度分数
├─ id string 必须 店铺ID
├─ position string 必须 位置经纬度
├─ store_credit integer 必须 店铺信用 format: int32
├─ city_id string 必须 城市ID
page object 非必须
├─ total integer 必须 总页数 format: int64
├─ records integer 必须 总记录数 format: int64
├─ pageno integer 必须 每页的记录数 format: int32
├─ pagesize integer 必须 页数 format: int32

店铺服务(shop)-店铺ES搜索

同步某个店铺数据到ES

基本信息

Path: /shop/store/es/save

Method: POST

接口描述:

请求参数

Headers

参数名称 参数值 是否必须 示例 备注
Content-Type application/json
Body
名称 类型 是否必须 默认值 备注 其他信息
id string 必须 商品id

返回数据

名称 类型 是否必须 默认值 备注 其他信息
msg string 必须 响应信息
code integer 必须 响应状态码 format: int32
data object 必须
├─ id string 必须 新增成功后的记录id

同步全部店铺数据到ES

基本信息

Path: /shop/store/es/saveAll

Method: GET

接口描述:

请求参数

Headers

参数名称 参数值 是否必须 示例 备注
Content-Type application/json
Body
名称 类型 是否必须 默认值 备注 其他信息
string 非必须 format: binary

返回数据

名称 类型 是否必须 默认值 备注 其他信息
msg string 必须 响应信息
code integer 必须 响应状态码 format: int32
data object 非必须

增量同步店铺数据到ES

基本信息

Path: /shop/store/es/saveIncrement

Method: GET

接口描述:

请求参数

Headers

参数名称 参数值 是否必须 示例 备注
Content-Type application/json
Body
名称 类型 是否必须 默认值 备注 其他信息
string 非必须 format: binary

返回数据

名称 类型 是否必须 默认值 备注 其他信息
msg string 必须 响应信息
code integer 必须 响应状态码 format: int32
data object 非必须

删除某个ES店铺

基本信息

Path: /shop/store/es/delete

Method: POST

接口描述:

请求参数

Headers

参数名称 参数值 是否必须 示例 备注
Content-Type application/json
Body
名称 类型 是否必须 默认值 备注 其他信息
id string 必须 商品id

返回数据

名称 类型 是否必须 默认值 备注 其他信息
msg string 必须 响应信息
code integer 必须 响应状态码 format: int32
data object 非必须

删除全部ES店铺

基本信息

Path: /shop/store/es/deleteAll

Method: GET

接口描述:

请求参数

Headers

参数名称 参数值 是否必须 示例 备注
Content-Type application/json
Body
名称 类型 是否必须 默认值 备注 其他信息
string 非必须 format: binary

返回数据

名称 类型 是否必须 默认值 备注 其他信息
msg string 必须 响应信息
code integer 必须 响应状态码 format: int32
data object 非必须

商家查看店铺详情

基本信息

Path: /shop/store/es/get

Method: GET

接口描述:

请求参数

Headers

参数名称 参数值 是否必须 示例 备注
Content-Type application/json
Body
名称 类型 是否必须 默认值 备注 其他信息
string 非必须 format: binary

返回数据

名称 类型 是否必须 默认值 备注 其他信息
msg string 必须
code integer 必须 format: int32
data object 必须
├─ contacts_phone string 必须 联系人电话
├─ store_banner string 必须 店铺Banner
├─ store_state integer 必须 店铺状态,0:下线;1:上线 format: int32
├─ bank_account_number string 必须 结算公司银行账号
├─ identity_card_back string 必须 身份证反面
├─ contacts_name string 必须 联系人姓名
├─ is_platform_store integer 必须 是否自营店铺 1是 0否 format: int32
├─ store_address string 必须 店铺地址
├─ area_id string 必须 地区ID
├─ extend_info string 必须 店铺扩展信息
├─ company_address string 必须 公司地址
├─ joinin_state string 必须 申请状态 10-已提交申请 20-审核成功 30-审核失败 40-审核通过开店
├─ store_avatar string 必须 店铺头像
├─ store_workingtime string 必须 店铺营业时间
├─ store_theme string 必须 店铺当前主题
├─ store_phone string 必须 商家电话
├─ apply_id string 必须 店铺申请ID
├─ contacts_email string 必须 联系人邮箱
├─ store_name string 必须 店铺名称
├─ area_info string 必须 地区名称
├─ business_licence string 必须 营业执照号
├─ store_free_price number 必须 超出该金额免运费,大于0才表示该值有效
├─ store_mainbusiness string 必须 店铺描述
├─ is_settlement_account integer 必须 开户行账号是否为结算账号 1-开户行就是结算账号 2-独立的计算账号 format: int32
├─ app_id string 必须 应用ID
├─ joinin_message string 必须 管理员审核信息
├─ member_id string 必须 用户ID
├─ store_id string 必须 店铺ID
├─ store_company_name string 必须 店铺公司名称
├─ store_keywords string 必须 店铺SEO关键字
├─ is_open integer 必须 0 休息中,1营业中 format: int32
├─ store_logo string 必须 店铺LOGO
├─ store_qq string 必须 店铺QQ
├─ store_ww string 必须 店铺旺旺
├─ member_name string 必须 店主用户名
├─ company_area_id string 必须 所在地区ID
├─ store_addtime string 必须 店铺时间 format: date-time
├─ bank_account_name string 必须 结算银行开户名
├─ province_id string 必须 省份
├─ company_name string 必须 公司名称
├─ identity_card_front string 必须 身份证正面
├─ store_huodaofk integer 必须 货到付款 format: int32
├─ position string 必须 位置经纬度
├─ business_licence_file string 必须 营业执照电子版
├─ city_id string 必须 城市

普通用户查询店铺详情

基本信息

Path: /shop/store/es/getStoreInfo

Method: POST

接口描述:

请求参数

Headers

参数名称 参数值 是否必须 示例 备注
Content-Type application/json
Body
名称 类型 是否必须 默认值 备注 其他信息
id string 必须 应用ID

返回数据

名称 类型 是否必须 默认值 备注 其他信息
msg string 非必须 响应信息
code integer 非必须 响应状态码 format: int32
data object 非必须
├─ contacts_phone string 非必须
├─ member_id string 非必须
├─ store_banner string 非必须
├─ store_state integer 非必须 format: int32
├─ store_company_name string 非必须
├─ store_keywords string 非必须
├─ is_open string 非必须
├─ store_logo string 非必须
├─ contacts_name string 非必须
├─ store_address string 非必须
├─ area_id string 非必须
├─ member_name string 非必须
├─ extend_info string 非必须
├─ store_avatar string 非必须
├─ store_workingtime string 非必须
├─ store_addtime string 非必须 format: date-time
├─ store_phone string 非必须
├─ province_id string 非必须
├─ store_name string 非必须
├─ id string 非必须
├─ position string 非必须
├─ store_mainbusiness string 非必须
├─ city_id string 非必须

查看店铺列表

基本信息

Path: /shop/store/es/query

Method: POST

接口描述:

请求参数

Headers

参数名称 参数值 是否必须 示例 备注
Content-Type application/json
Body
名称 类型 是否必须 默认值 备注 其他信息
pageno integer 必须 当前页码数 format: int32
pagesize integer 必须 每页记录数 format: int32
store_name string 非必须 店铺名称
sort string 必须 排序规则
app_id string 必须 应用ID
order string 必须 排序字段

返回数据

名称 类型 是否必须 默认值 备注 其他信息
msg string 必须 响应信息
code integer 必须 响应状态码 format: int32
data object [] 必须 响应数据 item 类型: object
├─ store_endtime string 必须 店铺关闭时间 format: date-time
├─ store_banner string 必须 店铺Banner
├─ store_state integer 必须 店铺状态 format: int32
├─ store_sales integer 必须 店铺销量 format: int32
├─ is_platform_store integer 必须 是否自营店铺 format: int32
├─ store_address string 必须 店铺地址
├─ area_id string 必须 地区ID
├─ store_avatar string 必须 店铺头像
├─ store_workingtime string 必须 工作时间
├─ store_theme string 必须 店铺当前主题
├─ store_phone string 必须 商家电话
├─ store_collect integer 必须 店铺收藏数量 format: int32
├─ store_desccredit number 必须 描述相符度分数
├─ store_name string 必须 店铺名称
├─ area_info string 必须 地区名称
├─ id string 必须 店铺ID
├─ store_free_price number 必须 超出该金额免运费,大于0才表示该值有效
├─ store_mainbusiness string 必须 主营商品
├─ member_id string 必须 用户ID
├─ store_company_name string 必须 店铺公司名称
├─ store_keywords string 必须 店铺SEO关键字
├─ store_logo string 必须 店铺LOGO
├─ store_qq string 必须 店铺QQ
├─ store_ww string 必须 阿里旺旺
├─ member_name string 必须 用户名
├─ store_addtime string 必须 店铺创建时间 format: date-time
├─ store_recommend integer 必须 是否推荐 format: int32
├─ store_servicecredit number 必须 服务态度分数
├─ store_close_info string 必须 店铺关闭原因
├─ store_deliverycredit number 必须 发货速度分数
├─ store_huodaofk integer 必须 货到付款 format: int32
├─ store_credit integer 必须 店铺信用 format: int32
page object 非必须
├─ total integer 必须 总页数 format: int64
├─ records integer 必须 总记录数 format: int64
├─ pageno integer 必须 每页的记录数 format: int32
├─ pagesize integer 必须 页数 format: int32

应用店铺搜索

基本信息

Path: /shop/public/store/es/searchStores

Method: POST

接口描述:

请求参数

Headers

参数名称 参数值 是否必须 示例 备注
Content-Type application/json
Body
名称 类型 是否必须 默认值 备注 其他信息
distance number 必须 搜索距离 format: double
store_keywords string 必须 店铺SEO关键字
pageno integer 非必须 format: int32
latitude string 必须 纬度
pagesize integer 非必须 format: int32
store_name string 必须 店铺名称
area_id string 必须 区域id
app_id string 必须 应用ID
city_id string 必须 城市id
longitude string 必须 经度

返回数据

名称 类型 是否必须 默认值 备注 其他信息
msg string 必须 响应信息
code integer 必须 响应状态码 format: int32
data object [] 必须 响应数据 item 类型: object
├─ contacts_phone string 非必须 联系人电话
├─ member_id string 非必须 用户id
├─ store_id string 必须 店铺ID
├─ distance number 必须 距离 format: double
├─ store_keywords string 必须 店铺SEO关键字
├─ is_open integer 必须 是否营业:0休息1营业中 最大值: 127最小值: -128format: int32
├─ store_logo string 必须 店铺LOGO
├─ store_sales integer 必须 店铺销量 format: int32
├─ contacts_name string 非必须 联系人名称
├─ store_address string 必须 店铺地址
├─ area_id string 必须 区域id
├─ member_name string 非必须 用户名
├─ store_workingtime string 必须 工作时间
├─ store_addtime string 非必须 店铺时间 format: date-time
├─ store_phone string 非必须 店铺电话
├─ store_collect integer 必须 店铺收藏数量 format: int32
├─ province_id string 必须 省份
├─ store_name string 必须 店铺名称
├─ store_credit integer 必须 店铺信用 format: int32
├─ store_mainbusiness string 必须 店铺描述
├─ city_id string 必须 城市id

商城首页店铺搜索(带位置信息)

基本信息

Path: /shop/store/es/storeSearch

Method: POST

接口描述:

请求参数

Headers

参数名称 参数值 是否必须 示例 备注
Content-Type application/json
Body
名称 类型 是否必须 默认值 备注 其他信息
pageno integer 必须 页数 format: int32
pagesize integer 必须 每页的记录数 format: int32
store_name string 非必须 店铺名称
position string 非必须 位置经纬度
app_id string 非必须 应用ID

返回数据

名称 类型 是否必须 默认值 备注 其他信息
msg string 必须 响应信息
code integer 必须 响应状态码 format: int32
data object [] 必须 响应数据 item 类型: object
├─ distance number 必须 距离 format: double
├─ store_servicecredit number 必须 服务态度分数
├─ province_id string 必须 省份
├─ store_sales integer 必须 店铺销量 format: int32
├─ store_desccredit number 必须 描述相符度分数
├─ store_name string 必须 店铺名称
├─ store_deliverycredit number 必须 发货速度分数
├─ id string 必须 店铺ID
├─ position string 必须 位置经纬度
├─ store_credit integer 必须 店铺信用 format: int32
├─ city_id string 必须 城市ID
page object 非必须
├─ total integer 必须 总页数 format: int64
├─ records integer 必须 总记录数 format: int64
├─ pageno integer 必须 每页的记录数 format: int32
├─ pagesize integer 必须 页数 format: int32

商城首页店铺搜索(V0.8)

基本信息

Path: /shop/public/store/es/storeHomePageListSearch

Method: POST

接口描述:

请求参数

Headers

参数名称 参数值 是否必须 示例 备注
Content-Type application/json
Body
名称 类型 是否必须 默认值 备注 其他信息
pageno integer 必须 页数
pagesize integer 必须 每页记录数
app_id string 必须 应用ID
store_name string 非必须 店铺名称
order string 非必须 排序字段
sort string 非必须 排序规则

返回数据

名称 类型 是否必须 默认值 备注 其他信息
code number 非必须
msg string 非必须
data object [] 非必须 item 类型: object
├─ favorable_rate number 非必须 好评率
├─ goodsList object [] 非必须 店铺推荐商品图片 item 类型: object
├─ goods_id string 必须 商品id
├─ price number 必须 价格
├─ goods_image string 必须 商品图片
├─ id string 非必须 店铺ID
├─ store_logo string 非必须 店铺LOGO
├─ store_name string 非必须 店铺名称
page object 非必须
├─ pageno number 非必须
├─ pagesize number 非必须
├─ records number 非必须
├─ total number 非必须

店铺服务(shop)-店铺关注

关注的店铺列表(V0.8)

基本信息

Path: /shop/storefollow/storeList

Method: POST

接口描述:

请求参数

Headers

参数名称 参数值 是否必须 示例 备注
Content-Type application/json
Body
名称 类型 是否必须 默认值 备注 其他信息
keywords string 非必须 关键字
pageno integer 必须 页数
pagesize integer 必须 记录数

返回数据

名称 类型 是否必须 默认值 备注 其他信息
msg string 必须 响应信息
code integer 必须 响应状态码 format: int32
data object [] 非必须 item 类型: object
├─ follow_count number 必须 关注量
├─ store_id string 必须 店铺ID
├─ store_logo string 必须 店铺logo
├─ store_name string 必须 店铺名称
page object 非必须
├─ total integer 必须 总页数 format: int64
├─ records integer 必须 总记录数 format: int64
├─ pageno integer 必须 每页的记录数 format: int32
├─ pagesize integer 必须 页数 format: int32

店铺关注/取消关注(V0.8)

基本信息

Path: /shop/storefollow/update

Method: POST

接口描述:

请求参数

Headers

参数名称 参数值 是否必须 示例 备注
Content-Type application/json
Body
名称 类型 是否必须 默认值 备注 其他信息
store_id string 必须 店铺ID
type integer 必须 1:关注,2:取消关注

返回数据

名称 类型 是否必须 默认值 备注 其他信息
msg string 必须
code integer 必须 format: int32
data object 必须
├─ store_id string 非必须
├─ follow_status integer 必须 关注状态:1关注2取关 format: int32

批量取消关注(V0.8)

基本信息

Path: /shop/storefollow/unfollow/batch

Method: POST

接口描述:

请求参数

Headers

参数名称 参数值 是否必须 示例 备注
Content-Type application/json
Body
名称 类型 是否必须 默认值 备注 其他信息
string [] 非必须 店铺id数组 item 类型: string
├─ 非必须

返回数据

名称 类型 是否必须 默认值 备注 其他信息
code number 非必须
msg string 非必须

店铺服务(shop)-店铺关注统计

店铺某日期段内统计量(V0.8)

基本信息

Path: /shop/storefollowstat/followCountstatTotalList

Method: POST

接口描述:

请求参数

Headers

参数名称 参数值 是否必须 示例 备注
Content-Type application/json
Body
名称 类型 是否必须 默认值 备注 其他信息
store_id string 必须 店铺ID
unit integer 必须 时间单位:1:日,2:月,3:年
start_time string 必须 开始时间
end_time string 必须 结束时间

返回数据

名称 类型 是否必须 默认值 备注 其他信息
code number 非必须
data object [] 非必须 item 类型: object
├─ follow_count number 非必须 关注量
├─ store_id string 非必须 店铺ID
├─ time string 非必须 时间段(可以是日期,可以是月,可以是年)
├─ unfollow_count number 非必须 取消关注量
msg string 非必须
page object 非必须
├─ pageno number 非必须
├─ pagesize number 非必须
├─ records number 非必须
├─ total number 非必须

昨天统计量(V0.8)

基本信息

Path: /shop/storefollowstat/followCountstatYesterday

Method: POST

接口描述:

请求参数

Headers

参数名称 参数值 是否必须 示例 备注
Content-Type application/json
Body
名称 类型 是否必须 默认值 备注 其他信息
store_id string 必须 店铺ID

返回数据

名称 类型 是否必须 默认值 备注 其他信息
code number 非必须
msg string 非必须
data object 非必须
├─ follow_count number 非必须 关注量
├─ follow_count_total number 非必须 总关注量
├─ store_id string 非必须 店铺ID
├─ unfollow_count number 非必须 取消关注量
page object 非必须
├─ pageno number 非必须
├─ pagesize number 非必须
├─ records number 非必须
├─ total number 非必须

店铺服务(shop)-店铺商品分组管理

更新店铺商品分类

基本信息

Path: /shop/storeGoodsClass/update

Method: POST

接口描述:

请求参数

Headers

参数名称 参数值 是否必须 示例 备注
Content-Type application/json
Body
名称 类型 是否必须 默认值 备注 其他信息
store_id string 必须 店铺ID
id string 必须 店铺商品分类ID
sort integer 必须 商品分类排序 format: int32
storegc_name string 必须 店铺商品分类名称

返回数据

名称 类型 是否必须 默认值 备注 其他信息
msg string 必须 响应信息
code integer 必须 响应状态码 format: int32
data object 非必须

删除店铺商品分类

基本信息

Path: /shop/storeGoodsClass/delete

Method: POST

接口描述:

请求参数

Headers

参数名称 参数值 是否必须 示例 备注
Content-Type application/json
Body
名称 类型 是否必须 默认值 备注 其他信息
id string 必须 店铺商品分类ID

返回数据

名称 类型 是否必须 默认值 备注 其他信息
msg string 必须 响应信息
code integer 必须 响应状态码 format: int32
data object 非必须

更新店铺分类下关联的商品

基本信息

Path: /shop/storeGoodsClass/updateStoreGcBindGoods

Method: POST

接口描述:

请求参数

Headers

参数名称 参数值 是否必须 示例 备注
Content-Type application/json
Body
名称 类型 是否必须 默认值 备注 其他信息
store_id string 必须 店铺ID
gc_and_goods object [] 必须 店铺分类与商品列表 item 类型: object
├─ storegc_id string 非必须 店铺自定义分类
├─ del_ids string [] 非必须 item 类型: string
├─ 非必须
├─ new_ids string [] 非必须 店铺自定义分类绑定的商品分类列表 item 类型: string
├─ 非必须

返回数据

名称 类型 是否必须 默认值 备注 其他信息
msg string 必须 响应信息
code integer 必须 响应状态码 format: int32
data object 非必须

编辑店铺商品分类关联的商品

基本信息

Path: /shop/storeGoodsClass/bindStoreGcAndGoods

Method: POST

接口描述:

请求参数

Headers

参数名称 参数值 是否必须 示例 备注
Content-Type application/json
Body
名称 类型 是否必须 默认值 备注 其他信息
store_id string 必须 店铺ID
gc_and_goods object [] 必须 店铺分类与商品列表 item 类型: object
├─ storegc_id string 非必须 店铺自定义分类
├─ del_ids string [] 非必须 item 类型: string
├─ 非必须
├─ new_ids string [] 非必须 店铺自定义分类绑定的商品分类列表 item 类型: string
├─ 非必须

返回数据

名称 类型 是否必须 默认值 备注 其他信息
msg string 必须 响应信息
code integer 必须 响应状态码 format: int32
data object 非必须

根据店铺自定义分类查询分类下的商品及自定义分类信息

基本信息

Path: /shop/storeGoodsClass/getGoodsStoreGcInfo

Method: POST

接口描述:

请求参数

Headers

参数名称 参数值 是否必须 示例 备注
Content-Type application/json
Body
名称 类型 是否必须 默认值 备注 其他信息
pageno integer 必须 页数 format: int32
pagesize integer 必须 每页的记录数 format: int32
storegc_ids string [] 必须 店铺自定义分类ID数组 item 类型: string
├─ 非必须

返回数据

名称 类型 是否必须 默认值 备注 其他信息
store_gc_info object [] 必须 商品ID及商品绑定的自定义分类信息 item 类型: object
├─ goods_id string 必须 商品ID
├─ store_categories object [] 必须 店铺自定义分类列表 item 类型: object
├─ store_id string 必须 店铺ID
├─ level integer 必须 子分类层级(默认最多只能为两层) format: int32
├─ id string 必须 子分类ID
├─ sort integer 必须 子分类排序 format: int32
├─ storegc_name string 必须 店铺商品分类名称
├─ storegc_parent_id string 必须 上级ID
page_info object 必须
├─ total integer 必须 总页数 format: int64
├─ records integer 必须 总记录数 format: int64
├─ pageno integer 必须 每页的记录数 format: int32
├─ pagesize integer 必须 页数 format: int32

获取当前店铺可发布的系统商品类目表(继承自应用分类)

基本信息

Path: /shop/store/getStoreAvailableCategories

Method: POST

接口描述:

请求参数

Headers

参数名称 参数值 是否必须 示例 备注
Content-Type application/json
Body
名称 类型 是否必须 默认值 备注 其他信息
id string 必须 应用ID

返回数据

名称 类型 是否必须 默认值 备注 其他信息
msg string 必须 响应信息
code integer 必须 响应状态码 format: int32
data object [] 必须 响应数据 item 类型: object
├─ gc_name string 必须 分类名称
├─ create_time string 必须 创建时间 format: date-time
├─ level integer 必须 分类层级 format: int32
├─ gc_parent_name string 必须 是否前台显示
├─ id string 必须 分类ID
├─ sort integer 必须 分类排序 format: int32
├─ gc_parent_id string 必须 父分类ID
├─ status integer 必须 分类状态 format: int32

查询某店铺商品分类下的子分类

基本信息

Path: /shop/storeGoodsClass/queryChild

Method: POST

接口描述:

请求参数

Headers

参数名称 参数值 是否必须 示例 备注
Content-Type application/json
Body
名称 类型 是否必须 默认值 备注 其他信息
store_id string 必须 店铺ID
storegc_parent_id string 非必须 上级ID

返回数据

名称 类型 是否必须 默认值 备注 其他信息
msg string 必须 响应信息
code integer 必须 响应状态码 format: int32
data object 必须
├─ goods_class object [] 必须 店铺商品分类数组 item 类型: object
├─ store_id string 必须 店铺ID
├─ level integer 必须 子分类层级(默认最多只能为两层) format: int32
├─ id string 必须 子分类ID
├─ sort integer 必须 子分类排序 format: int32
├─ storegc_name string 必须 店铺商品分类名称
├─ storegc_parent_id string 必须 上级ID

查询店铺所有商品分类

基本信息

Path: /shop/storeGoodsClass/queryAll

Method: POST

接口描述:

请求参数

Headers

参数名称 参数值 是否必须 示例 备注
Content-Type application/json
Body
名称 类型 是否必须 默认值 备注 其他信息
store_id string 必须 店铺ID
storegc_parent_id string 非必须 上级ID

返回数据

名称 类型 是否必须 默认值 备注 其他信息
msg string 必须 响应信息
code integer 必须 响应状态码 format: int32
data object 必须
├─ goods_class object [] 必须 店铺商品分类信息 item 类型: object
├─ store_id string 必须 父分类店铺ID
├─ children object [] 必须 子分类信息 item 类型: object
├─ store_id string 必须 店铺ID
├─ level integer 必须 子分类层级(默认最多只能为两层) format: int32
├─ id string 必须 子分类ID
├─ sort integer 必须 子分类排序 format: int32
├─ storegc_name string 必须 店铺商品分类名称
├─ storegc_parent_id string 必须 上级ID
├─ level integer 必须 分类层级 format: int32
├─ id string 必须 父分类ID
├─ sort integer 必须 父分类排序 format: int32
├─ storegc_name string 必须 父分类名称
├─ storegc_parent_id string 必须 上级ID

查询店铺自定义分类下的商品信息

基本信息

Path: /shop/storeGoodsClass/findGoodsByGc

Method: POST

接口描述:

请求参数

Headers

参数名称 参数值 是否必须 示例 备注
Content-Type application/json
Body
名称 类型 是否必须 默认值 备注 其他信息
storegc_id string 必须 店铺自定义分类ID

返回数据

名称 类型 是否必须 默认值 备注 其他信息
msg string 必须 响应信息
code integer 必须 响应状态码 format: int32
data object [] 必须 响应数据 item 类型: object
├─ is_virtual integer 非必须 format: int32
├─ store_id string 必须 店铺id
├─ goods_name string 必须 商品名称
├─ goods_price number 必须 商品价格
├─ type_id string 必须 类型id
├─ gc_id string 必须 商品分类
├─ goods_storage integer 必须 总库存 format: int32
├─ goods_attr string 必须 商品属性
├─ brand_id string 必须 品牌id
├─ goods_freight number 必须 商品运费 0为免运费
├─ goods_serial string 必须 商家编号
├─ image_path string 必须 商品默认图片
├─ goods_discount number 必须 商品折扣
├─ goods_state string 必须 商品状态 0:下架 1:正常 10:违规(禁售)
├─ id string 必须 商品ID
├─ spec_value string 必须 规格值
├─ app_id string 必须 应用id

优特云