- 公共分类
- 直播小助手
- 优惠套餐
- 同城配送门店
- 同城配送订单
- 打印机管理
- DIY
- 直播间商品管理
- 自提件点
- 复制商品
- 秒杀商品
- 资金明细
- 预售商品
- 自动标签
- 发票管理
- 助力商品
- 用户管理
- 公告管理
- 拼团商品
- 拼团团队
- 财务管理
- 导入管理
- 保障服务
- Cache
- 分账单
- 分账申请
- 积分管理
- 一号通
- 商品标签
- 商品单位
- 仓库商品
- 身份管理
- 商品管理
- 优惠券
- 对账管理
- 店铺设置
- 导出文件 v1.1.0
- 附件管理
- 附件分类
- 管理员管理
- 配置管理
- 地区管理
- 产品规则模板
- 运费管理
- 客服管理
- 订单管理
- 退款订单
- 商品评价管理
- 统计
- 直播间管理
- 参数模板
- OpenApi
- 系统表单
- 配送员
- 卡密库
- 一次性卡密
- 代客下单
- 预约商品
购物车列表
开发中
GET
/store/behalf/cartList
请求参数
Query 参数
uid
string
必需
示例值:
0
tourist_unique_key
string
必需
示例值:
3e78087a39b02131
Header 参数
x-token
string
可选
默认值:
{{x-token}}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET '/store/behalf/cartList?uid=0&tourist_unique_key=3e78087a39b02131' \
--header 'x-token: {{x-token}}'
返回响应
🟢200成功
application/json
Body
status
integer
必需
message
string
必需
data
object
必需
list
array [object {21}]
必需
fail
array[string]
必需
示例
{
"status": 200,
"message": "success",
"data": {
"list": [
{
"checkCartProduct": true,
"UserPayCount": true,
"ActiveSku": {
"value_id": 1779,
"product_id": 85,
"detail": {
"颜色": "黑色",
"规格": "整件"
},
"sku": "黑色,整件",
"stock": 11110,
"sales": 0,
"image": "",
"bar_code": "2222222222",
"cost": "0.00",
"ot_price": "10.00",
"price": "10.00",
"volume": "0.00",
"weight": "0.00",
"type": 0,
"extension_one": "0.00",
"extension_two": "0.00",
"unique": "3e78087a39b0",
"svip_price": "0.00",
"library_id": 0,
"bar_code_number": "",
"is_default_select": 0,
"is_show": 1
},
"spu": {
"spu_id": 48,
"store_name": "母鸡啊"
},
"cart_id": 235,
"uid": 104,
"mer_id": 3,
"product_type": 0,
"product_id": 85,
"product_attr_unique": "3e78087a39b0",
"cart_num": 6,
"create_time": "2024-12-24 11:45:00",
"source": 0,
"source_id": 0,
"is_pay": 0,
"is_del": 0,
"is_new": 0,
"is_fail": 0,
"spread_id": 0,
"product": {
"product_id": 85,
"cate_id": 12,
"image": "https://crmebmer.oss-cn-beijing.aliyuncs.com/def/cd997202411271005331641.jpg",
"store_name": "母鸡啊",
"is_show": 1,
"status": 1,
"is_del": 0,
"unit_name": "个",
"price": "10.00",
"mer_status": 1,
"temp_id": 0,
"give_coupon_ids": [],
"is_gift_bag": 0,
"is_used": 1,
"product_type": 0,
"old_product_id": 0,
"integral_rate": -1,
"delivery_way": "2",
"delivery_free": 1,
"type": 0,
"extend": "",
"pay_limit": 0,
"once_max_count": 0,
"once_min_count": 0,
"mer_svip_status": 1,
"svip_price_type": 0,
"refund_switch": 1,
"mer_form_id": 0,
"active_id": 0
},
"productAttr": {
"bc_extension_one": 1,
"bc_extension_two": 0.5,
"value_id": 1779,
"image": "",
"extension_one": "0.00",
"extension_two": "0.00",
"product_id": 85,
"stock": 11110,
"price": "10.00",
"unique": "3e78087a39b0",
"sku": "黑色,整件",
"volume": "0.00",
"weight": "0.00",
"ot_price": "10.00",
"cost": "0.00",
"svip_price": "0.00",
"library_id": 0,
"bar_code": "2222222222",
"new_price": "8265.84",
"product": {
"product_id": 85,
"mer_id": 3,
"store_name": "母鸡啊",
"store_info": "",
"keyword": "",
"bar_code": "",
"brand_id": 0,
"is_show": 1,
"status": 1,
"is_del": 0,
"mer_status": 1,
"cate_id": 12,
"unit_name": "个",
"sort": 0,
"rank": 0,
"sales": 0,
"price": "10.00",
"cost": "0.00",
"ot_price": "10.00",
"stock": 44440,
"is_hot": 0,
"is_benefit": 0,
"is_best": 0,
"is_new": 0,
"is_good": 0,
"product_type": 0,
"ficti": 0,
"browse": 0,
"code_path": "",
"video_link": "",
"temp_id": 0,
"spec_type": 1,
"extension_type": 0,
"refusal": null,
"rate": "5.0",
"reply_count": 0,
"give_coupon_ids": [],
"is_gift_bag": 0,
"create_time": "2024-12-03 11:29:58",
"care_count": 0,
"is_used": 1,
"old_product_id": 0,
"image": "https://crmebmer.oss-cn-beijing.aliyuncs.com/def/cd997202411271005331641.jpg",
"slider_image": [
"https://crmebmer.oss-cn-beijing.aliyuncs.com/def/def13202411271005347040.jpg"
],
"guarantee_template_id": 0,
"once_max_count": 0,
"once_min_count": 0,
"integral_rate": -1,
"integral_total": 0,
"integral_price_total": "0.00",
"labels": "",
"delivery_way": "2",
"delivery_free": 1,
"type": 0,
"extend": "",
"pay_limit": 0,
"svip_price_type": 0,
"svip_price": 0,
"mer_svip_status": 1,
"param_temp_id": "1",
"refund_switch": 1,
"delete": 0,
"mer_form_id": 0,
"good_ids": [],
"auto_on_time": null,
"auto_off_time": null,
"active_id": 0,
"cate_hot": 0,
"bar_code_number": ""
}
}
}
],
"fail": []
}
}
修改于 2025-02-19 07:45:22