- 淘宝
- 1688
- 商品
- 购物车
- 订单
- 售后
- 消息回调
- 基础
- 仓库物流
购物车列表
GET
/v2/alibaba/cart/list
请求参数
Header 参数
access-key
string
必需
默认值:
your-access-key
timestamp
string
必需
默认值:
your-timestamp
user-id
string
必需
默认值:
your-user-id
signature
string
必需
默认值:
your-signature
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET '/v2/alibaba/cart/list' \
--header 'access-key;' \
--header 'timestamp;' \
--header 'user-id;' \
--header 'signature;'
返回响应
🟢200成功
application/json
Body
requestId
string
请求ID
code
integer
返回码
developId
integer
开发者ID
msg
string
返回码对应信息
data
object (AlibabaCartV2VO)
返回内容
disableList
array[object (CartShopItem) {3}]
失效购物车商品列表
默认值:
new ArrayList<>()
enableList
array[object (CartShopItem) {3}]
有效购物车商品列表
默认值:
new ArrayList<>()
示例
{
"requestId": "",
"code": 0,
"developId": 0,
"msg": "",
"data": {
"disableList": [
{
"sellerOpenId": "",
"sellerNickName": "",
"cartItemInfos": [
{
"id": 0,
"offerMapId": "",
"specId": "",
"skuId": "",
"itemTitle": "",
"itemPic": "",
"price": 0,
"quantity": 0,
"amountOnSale": 0,
"properties": ""
}
]
}
],
"enableList": [
{
"sellerOpenId": "",
"sellerNickName": "",
"cartItemInfos": [
{
"id": 0,
"offerMapId": "",
"specId": "",
"skuId": "",
"itemTitle": "",
"itemPic": "",
"price": 0,
"quantity": 0,
"amountOnSale": 0,
"properties": ""
}
]
}
]
}
}
修改于 2025-04-24 08:59:04