多平台 - 查询Line在线商品
POST
/basicOpen/multiplatform/line/list支持多平台-查询Line在线商品
接口信息
| API Path | 请求协议 | 请求方式 | 令牌桶容量 |
|---|---|---|---|
/basicOpen/multiplatform/line/list | HTTPS | POST | 1 |
请求参数
isParentintegeravailableNumberstringavailableNumberConditionintegerbrandIdsarray<any>categoryIdsarray<any>lengthintegeroffsetintegerpairingStatusintegerparentUniqueIdsarray<any>pricestringpriceConditionintegerprincipalUidsarray<any>productUniqueIdintegersearchFieldstringsearchSingleValuestringsearchValuesarray<any>sortFieldstringsortTypestringstatusListarray<any>storeIdsarray<any>请求cURL示例
curl --location 'https://openapi.lingxing.com/basicOpen/multiplatform/line/list?access_token=value×tamp=value&sign=value&app_key=value' \
--header 'Content-Type: application/json' \
--data '{
"isParent": 1,
"availableNumber": "50",
"availableNumberCondition": 1,
"brandIds": [1001,1002],
"categoryIds": [2001,2002],
"length": 20,
"offset": 0,
"pairingStatus": 1,
"parentUniqueIds": [3001,3002],
"price": "100.5",
"priceCondition": 1,
"principalUids": [4001,4002],
"productUniqueId": 9876543210123456,
"searchField": "1",
"searchSingleValue": "测试商品",
"searchValues": ["SKU001","SKU002"],
"sortField": "price",
"sortType": "desc",
"statusList": ["0","1"],
"storeIds": [1234567890123456,1234567890123457]
}'
返回结果
Json Object
codeinteger必填dataobject必填隐藏子属性
countinteger必填listarray<object>必填隐藏子属性
attributesstring必填availableNumberinteger必填bidinteger必填bnamestringcategorystring必填childrenarray<object>必填隐藏子属性
attributesstring必填availableNumberinteger必填bidinteger必填categorystring必填cidinteger必填companyIdinteger必填idstring必填imgUrlstring必填mskustring必填mskuIdinteger必填onHandNumberinteger必填pidinteger必填platformCodestring必填pnamestring必填pricestring必填productIdinteger必填productUniqueIdinteger必填readyToShipNumberinteger必填skustring必填statusinteger必填storeIdinteger必填storeNamestring必填supplyPriceListarray<any>必填titlestring必填wareHouseDataListarray<any>必填cidinteger必填cnamestringcompanyIdinteger必填day30SaleCntintegerday7SaleCntintegeridstring必填imgUrlstring必填mskustring必填mskuIdinteger必填notesstringonHandNumberinteger必填pidinteger必填platformCodestring必填pnamestring必填pricestring必填principalNamestringprincipalUidsarray<any>productIdinteger必填productUniqueIdinteger必填quantitySynobject隐藏子属性
afterstringbeforestringquantitySynWareHousesarray<object>隐藏子属性
afterstringbeforestringuidintegeruserNamestringwareHouseNamestringtypeintegeruidintegeruserNamestringreadyToShipNumberinteger必填skustring必填statusinteger必填storeIdinteger必填storeNamestring必填supplyPriceListarray<any>必填titlestring必填wareHouseDataListarray<any>必填error_detailsarray<any>必填messagestring必填request_idstring必填response_timestring必填totalinteger必填返回成功示例
{
"code": 0,
"message": "success",
"error_details": [],
"request_id": "a0d54debf93140f3b58d1ed81e8e3583.178.17255922733991817",
"response_time": "2024-11-12 16:00:00",
"data": {
"list": [
{
"attributes": "颜色:红色;尺寸:L",
"availableNumber": 100,
"bid": 1234567890123456,
"bname": "Nike",
"category": "服装",
"children": [
{
"attributes": "颜色:蓝色;尺寸:M",
"availableNumber": 50,
"bid": 1234567890123456,
"category": "服装",
"cid": 1234567890123456,
"companyId": 1234567890123456,
"id": "1002",
"imgUrl": "https://example.com/image2.jpg",
"msku": "MY-SKU-002",
"mskuId": 1234567890123456,
"onHandNumber": 15,
"pid": 1234567890123456,
"platformCode": "LINE",
"pname": "测试品名-子体",
"price": "49.99",
"productId": 1234567890123456,
"productUniqueId": 9876543210123456,
"readyToShipNumber": 10,
"sku": "LINE-SKU-002",
"status": 0,
"storeId": 1234567890123456,
"storeName": "Line官方店铺",
"supplyPriceList": [],
"title": "Line测试商品-子体",
"wareHouseDataList": []
}
],
"cid": 1234567890123456,
"cname": "运动鞋",
"companyId": 1234567890123456,
"day30SaleCnt": 150,
"day7SaleCnt": 50,
"id": "1001",
"imgUrl": "https://example.com/image.jpg",
"msku": "MY-SKU-001",
"mskuId": 1234567890123456,
"notes": "热卖商品",
"onHandNumber": 30,
"pid": 1234567890123456,
"platformCode": "LINE",
"pname": "测试品名",
"price": "99.99",
"principalName": "张三",
"principalUids": [
4001,
4002
],
"productId": 1234567890123456,
"productUniqueId": 9876543210123456,
"quantitySyn": {
"after": "500",
"before": "450",
"quantitySynWareHouses": [],
"type": 1,
"uid": 9001,
"userName": "李四"
},
"readyToShipNumber": 20,
"sku": "LINE-SKU-001",
"status": 0,
"storeId": 1234567890123456,
"storeName": "Line官方店铺",
"supplyPriceList": [],
"title": "Line测试商品",
"wareHouseDataList": []
},
{
"attributes": "颜色:绿色;尺寸:XL",
"availableNumber": 75,
"bid": 9876543210987654,
"bname": "Adidas",
"category": "鞋类",
"children": [],
"cid": 9876543210987654,
"cname": "休闲鞋",
"companyId": 1234567890123456,
"day30SaleCnt": 80,
"day7SaleCnt": 20,
"id": "1003",
"imgUrl": "https://example.com/image3.jpg",
"msku": "MY-SKU-003",
"mskuId": 9876543210987654,
"notes": "新品上市",
"onHandNumber": 10,
"pid": 9876543210987654,
"platformCode": "AMAZON",
"pname": "休闲跑鞋",
"price": "79.99",
"principalName": "王五",
"principalUids": [
4003
],
"productId": 9876543210987654,
"productUniqueId": 1122334455667788,
"quantitySyn": {
"after": "100",
"before": "80",
"quantitySynWareHouses": [
{
"after": "50",
"before": "40",
"uid": 9002,
"userName": "王五",
"wareHouseName": "广州仓"
},
{
"after": "50",
"before": "40",
"uid": 9002,
"userName": "王五",
"wareHouseName": "上海仓"
}
],
"type": 2,
"uid": 9002,
"userName": "王五"
},
"readyToShipNumber": 5,
"sku": "AMAZON-SKU-003",
"status": 0,
"storeId": 1122334455667788,
"storeName": "Amazon官方店铺",
"supplyPriceList": [],
"title": "Adidas休闲跑鞋",
"wareHouseDataList": []
}
],
"count": 2
},
"total": 2
}