- 开发者必读
- 授权
- 基础资料
- 商品
- 入库
- 订单
- 库存
- 换单
- 退货
- 订阅
元仓渠道(物流公司)
POST
/api/openPlatform/baseData/channel
请求参数
Header 参数
Authorization
string
必需
默认值:
Bearer {{token}}
Content-Type
string
必需
默认值:
application/json
Body 参数application/json
page
integer
当前页
prePage
integer
每页数量
optShippingCarrier
string
客选物流
channelCode
string
渠道编码
platformCode
string
平台编码
channelType
string
渠道类型
countryCode
string
国家编码
示例
{
"prePage": 10,
"page": 1,
"optShippingCarrier": "Standard Delivery",
"channelType": 1,
"platformCode": "SE"
}
返回响应
🟢200成功
application/json
Body
state
string
必需
msg
string
必需
data
object
必需
list
array [object {10}]
必需
total
integer
总记录数
page
integer
当前页
prePage
integer
每页数量
示例
{
"state": "000001",
"msg": "请求成功",
"data": {
"list": [
{
"id": 1,
"channelName": "云途",
"channelCode": "Y7001S",
"status": 1,
"labelSize": 1,
"maxWeigh": 5,
"channelType": 1,
"platformCode": [
"SE"
]
},
{
"id": 5,
"channelName": "LGS-挂号",
"channelCode": "Y7002S",
"status": 1,
"labelSize": 1,
"maxWeigh": 1000,
"channelType": 1,
"platformCode": [
"SE"
]
},
{
"id": 8,
"channelName": "LGS挂号1",
"channelCode": "Y702S",
"status": 1,
"labelSize": 1,
"maxWeigh": 1000,
"channelType": 1,
"platformCode": [
"SE"
]
},
{
"id": 9,
"channelName": "云途2",
"channelCode": "Y701S",
"status": 1,
"labelSize": 1,
"maxWeigh": 200,
"channelType": 1,
"platformCode": [
"SE"
]
},
{
"id": 10,
"channelName": "Shopee Express",
"channelCode": "YT001",
"status": 1,
"labelSize": 1,
"maxWeigh": 0,
"channelType": 1,
"platformCode": [
"SE"
]
},
{
"id": 11,
"channelName": "PosLaju",
"channelCode": "YT002",
"status": 1,
"labelSize": 1,
"maxWeigh": 0,
"channelType": 1,
"platformCode": [
"SE"
]
},
{
"id": 12,
"channelName": "DHL",
"channelCode": "YT003",
"status": 1,
"labelSize": 1,
"maxWeigh": 0,
"channelType": 1,
"platformCode": [
"SE"
]
},
{
"id": 13,
"channelName": "J&T Express",
"channelCode": "YT004",
"status": 1,
"labelSize": 1,
"maxWeigh": 0,
"channelType": 1,
"platformCode": [
"SE"
]
},
{
"id": 14,
"channelName": "NinjaVan",
"channelCode": "YT005",
"status": 1,
"labelSize": 1,
"maxWeigh": 0,
"channelType": 1,
"platformCode": [
"SE"
]
},
{
"id": 15,
"channelName": "City-Link Express",
"channelCode": "YT006",
"status": 1,
"labelSize": 1,
"maxWeigh": 0,
"channelType": 1,
"platformCode": [
"SE"
]
}
],
"total": 19,
"page": 1,
"prePage": 10
}
}
修改于 2023-07-05 08:57:12