/basicOpen/multiplatform/aliexpress/list/v2{
"operation": {
"method": "POST",
"path": "/basicOpen/multiplatform/aliexpress/list/v2"
},
"protocol": "HTTPS",
"host": "https://openapi.lingxing.com",
"rateLimit": {
"tokenBucketCapacity": 1,
"text": ""
},
"requestExample": "curl --location 'https://openapi.lingxing.com/basicOpen/multiplatform/aliexpress/list/v2?access_token=value×tamp=value&sign=value&app_key=value' \\\n--header 'Content-Type: application/json' \\\n--data '{\n \"isParent\": 1,\n \"length\": 20,\n \"brandIds\": [1001,1002],\n \"categoryIds\": [2001,2002],\n \"end\": \"2024-12-31\",\n \"offset\": 0,\n \"pairingStatus\": 1,\n \"platformCodeList\": [\"aliexpress\"],\n \"price\": 100,\n \"priceCondition\": 1,\n \"principalUids\": [3001,3002],\n \"productTypeList\": [0,1],\n \"productUniqueId\": 1234567890,\n \"productUniqueIdList\": [9876543210],\n \"quantity\": 100,\n \"quantityCondition\": 1,\n \"searchField\": 1,\n \"searchSingleValue\": \"MSKU001\",\n \"searchValues\": [\"SKU001\",\"SKU002\"],\n \"sortField\": \"createTime\",\n \"sortType\": \"desc\",\n \"start\": \"2024-01-01\",\n \"statusList\": [\"S1\",\"S2\"],\n \"storeIds\": [1234567890],\n \"storeType\": 全托管\n}'",
"responseExample": {
"code": 0,
"data": {
"count": 100,
"list": [
{
"attributeName": "颜色;尺寸",
"attributeValue": "红色;L码",
"attributes": "{\"color\":\"red\",\"size\":\"L\"}",
"autoRestock": "1",
"bid": 6666666666,
"bname": "自有品牌",
"cid": 5555555555,
"cname": "电子产品",
"companyId": 7777777777,
"createTime": "2024-01-15 10:30:00",
"currencyCode": "USD",
"day30SaleCnt": 150,
"day7SaleCnt": 35,
"effectiveSupplyPrice": "59.99",
"extJson": "{\"warehouse1\":100}",
"hasList": 1,
"id": 100001,
"imageUrls": "",
"inventoryQuantity": 500,
"isDelete": "value",
"itemId": "ITEM123456",
"mode": "仓发",
"model": "MODEL-2024",
"msku": "MSKU-001",
"mskuId": "9876543210",
"notes": "热销商品",
"pid": 1234567890,
"platformCode": "aliexpress",
"platformName": "速卖通",
"pname": "蓝牙耳机",
"price": 99990000,
"principalName": "张三",
"principalUids": "[3001,3002]",
"productId": "32987654321",
"productType": 0,
"productTypeName": "仓发",
"productUniqueId": 1234567890,
"quantitySyn": {
"after": "500",
"before": "450",
"quantitySynWareHouses": [
{
"after": "200",
"before": "180",
"uid": 9002,
"userName": "王五",
"wareHouseName": "广州仓"
}
],
"type": 1,
"uid": 9001,
"userName": "李四"
},
"sku": "SKU-AE-001",
"skuImage": "",
"status": 2,
"statusName": "可售",
"storeId": 8888888888,
"storeName": "我的速卖通店铺",
"supplyPriceList": [
{
"beginStr": "2024-01-01",
"currency": "USD",
"endStr": "2024-12-31",
"price": 49.99
}
],
"title": "Wireless Bluetooth Headphones",
"uniqueId": "UNI123456",
"variantUniqueId": "VAR123456",
"wareHouseDataList": [
{
"quantity": 200,
"warehouseId": "WH001",
"warehouseName": "深圳仓"
}
],
"warehouseStock": "450"
}
]
},
"error_details": [],
"message": "value",
"request_id": "value",
"response_time": "value",
"total": 1
}
}| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | isParent | 是否父体 | integer | — | 可选 | 是否父体,必填,枚举值:1-父体, 0-子体 |
| 2 | length | 分页长度 | integer | — | 可选 | 分页长度,必填,每页条数 |
| 3 | brandIds | 品牌ID列表 | array<any> | — | 可选 | 品牌ID列表 |
| 4 | categoryIds | 分类ID列表 | array<any> | — | 可选 | 分类ID列表,如果选了父分类,要把父分类以及其下所有子分类传进来 |
| 5 | end | 结束时间 | string | — | 可选 | 结束时间,格式:yyyy-MM-dd |
| 6 | offset | 分页偏移量 | integer | — | 可选 | 分页偏移量,必填,从0开始 |
| 7 | pairingStatus | 配对状态 | integer | — | 可选 | 配对状态,枚举值:0-未配对, 1-配对, null-全部 |
| 8 | platformCodeList | 平台编码列表 | array<any> | — | 可选 | 平台编码列表 |
| 9 | price | 供货价金额 | integer | — | 可选 | 供货价金额 |
| 10 | priceCondition | 供货价金额筛选条件 | integer | — | 可选 | 供货价金额筛选条件,枚举值:1-大于, 2-小于 |
| 11 | principalUids | 商品负责人UID列表 | array<any> | — | 可选 | 商品负责人UID列表 |
| 12 | productTypeList | 发货模式列表 | array<any> | — | 可选 | 发货模式列表,枚举值:0-仓发, 1-JIT, 2-海外备仓 |
| 13 | productUniqueId | 商品全局唯一ID | integer | — | 可选 | 商品全局唯一ID |
| 14 | productUniqueIdList | 父体唯一ID列表 | array<any> | — | 可选 | 父体唯一ID列表 |
| 15 | quantity | 库存数 | integer | — | 可选 | 库存数 |
| 16 | quantityCondition | 库存筛选条件 | integer | — | 可选 | 库存筛选条件,枚举值:1-大于, 2-小于 |
| 17 | searchField | 搜索类型 | integer | — | 可选 | 搜索类型,枚举值:1-msku, 2-商品ID, 3-SKU, 4-品名, 5-SKU, 6-品名, 7-标题 |
| 18 | searchSingleValue | 搜索值 | string | — | 可选 | 搜索值,单个模糊搜索 |
| 19 | searchValues | 搜索值 | array<any> | — | 可选 | 搜索值,数组,多个精确搜索 |
| 20 | sortField | 排序字段 | string | — | 可选 | 排序字段,直接传返参的字段名 |
| 21 | sortType | 排序类型 | string | — | 可选 | 排序类型,枚举值:asc-升序, desc-降序 |
| 22 | start | 开始时间 | string | — | 可选 | 开始时间,格式:yyyy-MM-dd |
| 23 | statusList | 状态列表 | array<any> | — | 可选 | 状态列表,枚举值:S1-待售, S2-可售 |
| 24 | storeIds | 店铺ID列表 | array<any> | — | 可选 | 店铺ID列表 |
| 25 | storeType | 店铺类型 | integer | — | 可选 | 店铺类型,枚举值:半托管, 全托管, 海外托管 |
| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | code | 响应码 | integer | — | 必填 | 响应码 |
| 2 | data | 返回数据 | object | — | 必填 | 返回数据 |
| 2.1 | count | 总条数 | integer | 100 | 必填 | 总条数 |
| 2.2 | list | 商品详细信息列表 | array<object> | — | 必填 | 商品详细信息列表 |
| 2.2.1 | attributeName | 变体属性名 | string | 颜色;尺寸 | 可选 | 变体属性名 |
| 2.2.2 | attributeValue | 变体属性值 | string | 红色;L码 | 可选 | 变体属性值 |
| 2.2.3 | attributes | 变体属性JSON | string | {"color":"red","size":"L"} | 可选 | 变体属性JSON |
| 2.2.4 | autoRestock | 是否自动补货 | boolean | 1 | 可选 | 是否自动补货,枚举值:0-无补货规则, 1-启用, 2-停用 |
| 2.2.5 | bid | 品牌ID | integer | 6666666666 | 可选 | 品牌ID |
| 2.2.6 | bname | 品牌名称 | string | 自有品牌 | 可选 | 品牌名称 |
| 2.2.7 | cid | 分类ID | integer | 5555555555 | 可选 | 分类ID,0代表没分类 |
| 2.2.8 | cname | 分类名称 | string | 电子产品 | 可选 | 分类名称 |
| 2.2.9 | companyId | 企业ID | integer | 7777777777 | 可选 | 企业ID |
| 2.2.10 | createTime | listing创建时间 | string | 2024-01-15 10:30:00 | 可选 | listing创建时间,北京时间 |
| 2.2.11 | currencyCode | 子体货币代码 | string | USD | 可选 | 子体货币代码 |
| 2.2.12 | day30SaleCnt | 30天销量 | integer | 150 | 可选 | 30天销量 |
| 2.2.13 | day7SaleCnt | 7天销量 | integer | 35 | 可选 | 7天销量 |
| 2.2.14 | effectiveSupplyPrice | 子体有效供货价 | string | 59.99 | 可选 | 子体有效供货价 |
| 2.2.15 | extJson | 仓库详情JSON字符串 | string | {"warehouse1":100} | 可选 | 仓库详情JSON字符串 |
| 2.2.16 | hasList | 是否多子体 | integer | 1 | 可选 | 是否多子体,枚举值:1-多子体, 2-单子体 |
| 2.2.17 | id | 记录ID | integer | 100001 | 可选 | 记录ID |
| 2.2.18 | imageUrls | 父体图片URL | string | — | 可选 | 父体图片URL |
| 2.2.19 | inventoryQuantity | 仓库总库存数 | integer | 500 | 可选 | 仓库总库存数 |
| 2.2.20 | isDelete | 是否删除 | boolean | — | 可选 | 是否删除,枚举值:0-否, 1-是 |
| 2.2.21 | itemId | 货品ID | string | ITEM123456 | 可选 | 货品ID |
| 2.2.22 | mode | 发货模式 | string | 仓发 | 可选 | 发货模式 |
| 2.2.23 | model | 本地SKU型号 | string | MODEL-2024 | 可选 | 本地SKU型号 |
| 2.2.24 | msku | 变体MSKU | string | MSKU-001 | 可选 | 变体MSKU |
| 2.2.25 | mskuId | 变体MSKU ID | string | 9876543210 | 可选 | 变体MSKU ID |
| 2.2.26 | notes | 备注 | string | 热销商品 | 可选 | 备注 |
| 2.2.27 | pid | 本地产品ID | integer | 1234567890 | 可选 | 本地产品ID |
| 2.2.28 | platformCode | 平台编号 | string | aliexpress | 可选 | 平台编号 |
| 2.2.29 | platformName | 平台名称 | string | 速卖通 | 可选 | 平台名称 |
| 2.2.30 | pname | 品名 | string | 蓝牙耳机 | 可选 | 品名 |
| 2.2.31 | price | 价格 | integer | 99990000 | 可选 | 价格,单位分,需除以100万 |
| 2.2.32 | principalName | 商品负责人名称 | string | 张三 | 可选 | 商品负责人名称 |
| 2.2.33 | principalUids | 商品负责人UID列表 | array<any> | [3001,3002] | 可选 | 商品负责人UID列表 |
| 2.2.34 | productId | 平台商品ID | string | 32987654321 | 可选 | 平台商品ID |
| 2.2.35 | productType | 发货模式 | integer | 0 | 可选 | 发货模式,枚举值:0-仓发, 1-JIT, 2-海外备仓 |
| 2.2.36 | productTypeName | 发货模式名称 | string | 仓发 | 可选 | 发货模式名称 |
| 2.2.37 | productUniqueId | 平台商品在listing的唯一ID | integer | 1234567890 | 可选 | 平台商品在listing的唯一ID |
| 2.2.38 | quantitySyn | 库存同步中信息 | object | — | 可选 | 库存同步中信息,null代表不在同步中 |
| 2.2.38.1 | after | 调整后的值 | string | 500 | 可选 | 调整后的值 |
| 2.2.38.2 | before | 调整前的值 | string | 450 | 可选 | 调整前的值 |
| 2.2.38.3 | quantitySynWareHouses | 仓库同步详情 | array<object> | — | 可选 | 仓库同步详情,当type=2时取该列表 |
| 2.2.38.3.1 | after | 调整后的值 | string | 200 | 可选 | 调整后的值 |
| 2.2.38.3.2 | before | 调整前的值 | string | 180 | 可选 | 调整前的值 |
| 2.2.38.3.3 | uid | 操作人ID | integer | 9002 | 可选 | 操作人ID |
| 2.2.38.3.4 | userName | 操作人名称 | string | 王五 | 可选 | 操作人名称 |
| 2.2.38.3.5 | wareHouseName | 仓库名称 | string | 广州仓 | 可选 | 仓库名称 |
| 2.2.38.4 | type | 库存队列类型 | integer | 1 | 可选 | 库存队列类型,枚举值:1-单条库存(取同级字段), 2-仓库列表(取quantitySynWareHouses) |
| 2.2.38.5 | uid | 操作人ID | integer | 9001 | 可选 | 操作人ID |
| 2.2.38.6 | userName | 操作人名称 | string | 李四 | 可选 | 操作人名称 |
| 2.2.39 | sku | SKU编码 | string | SKU-AE-001 | 可选 | SKU编码 |
| 2.2.40 | skuImage | 变体图片地址 | string | — | 可选 | 变体图片地址 |
| 2.2.41 | status | 状态 | integer | 2 | 可选 | 状态 |
| 2.2.42 | statusName | 状态名称 | string | 可售 | 可选 | 状态名称 |
| 2.2.43 | storeId | 店铺ID | integer | 8888888888 | 可选 | 店铺ID |
| 2.2.44 | storeName | 店铺名称 | string | 我的速卖通店铺 | 可选 | 店铺名称 |
| 2.2.45 | supplyPriceList | 供货价列表 | array<object> | — | 可选 | 供货价列表 |
| 2.2.45.1 | beginStr | 时间开始 | string | 2024-01-01 | 可选 | 时间开始,前端展示 |
| 2.2.45.2 | currency | 币种 | string | USD | 可选 | 币种 |
| 2.2.45.3 | endStr | 时间结束 | string | 2024-12-31 | 可选 | 时间结束,null代表至今,前端展示 |
| 2.2.45.4 | price | 金额 | number | 49.99 | 可选 | 金额 |
| 2.2.46 | title | 商品标题 | string | Wireless Bluetooth Headphones | 可选 | 商品标题 |
| 2.2.47 | uniqueId | 唯一ID | string | UNI123456 | 可选 | 唯一ID |
| 2.2.48 | variantUniqueId | 变体唯一ID | string | VAR123456 | 可选 | 变体唯一ID |
| 2.2.49 | wareHouseDataList | 仓库详情列表 | array<object> | — | 可选 | 仓库详情列表 |
| 2.2.49.1 | quantity | 库存数量 | integer | 200 | 可选 | 库存数量 |
| 2.2.49.2 | warehouseId | 仓库唯一ID | string | WH001 | 可选 | 仓库唯一ID |
| 2.2.49.3 | warehouseName | 仓库名称 | string | 深圳仓 | 可选 | 仓库名称 |
| 2.2.50 | warehouseStock | 仓库库存 | string | 450 | 可选 | 仓库库存 |
| 3 | error_details | 错误详情 | array<any> | — | 必填 | 错误详情 |
| 4 | message | 提示信息 | string | — | 必填 | 提示信息 |
| 5 | request_id | 请求id | string | — | 必填 | 请求id |
| 6 | response_time | 响应时间 | string | — | 必填 | 响应时间 |
| 7 | total | 总记录数 | integer | — | 必填 | 总记录数 |
领星ERP的接口:查询AliExpress在线商品 - 托管模式(/basicOpen/multiplatform/aliexpress/list/v2),由轻易云数据集成平台 API 资产管理模块整理收纳,并随领星ERP版本更新同步更新。