文档
测试

销售单物流渠道列表

GET
/sale-order/delivery-channel

接口描述

销售单物流渠道列表

请求头

参数名
类型
描述
必填
token
string
token
必填

请求参数

参数名
类型
描述
必填
id
int
销售单ID
必填
isShowAll
int
是否显示全部,0否1是
必填

响应参数

参数名
类型
描述
必填
code
int
code码
必填
msg
string
描述
必填
data
array
数据
必填
name
string
渠道名
必填
timeLimitation
string
时效
必填
channelType
string
渠道类型
必填
warehouseName
string
发货仓库
必填
availableQuantity
int
库存数量
必填
status
string
状态
必填
totalAmountRMB
float
销售总额
必填
totalProductCost
float
预计产品成本
必填
otherProductCost
float
预计产品其他成本
必填
orderOtherCost
float
预计订单成本
必填
expectFeeTotal
float
预计运费
必填
expectProfit
float
预计毛利
必填
expectProfitRateText
float
预计毛利率
必填
deliveryWarehouseProductAgeMax
int
发货仓最大库龄
必填
beUsing
bool
是否正在使用
必填
canOptional
bool
是否可选
必填
warehouseId
int
仓库ID(用户选择物流渠道)
必填
deliveryChannelId
int
渠道ID(用户选择物流渠道)
必填

说明 / 示例

````json { "code": 1, "msg": "成功", "data": [ { "name": "洋桃代发渠道", "timeLimitation": "0 - 0", "channelType": "代发", "warehouseName": "洋桃-代发仓", "availableQuantity": 0, "status": "可达", "totalAmountRMB": 101, "totalProductCost": 0, "otherProductCost": 0, "orderOtherCost": 0, "expectFeeTotal": 0, "warehouseId": 189, "deliveryChannelId": "1398", "expectProfit": 101, "expectProfitRateText": "101%", "deliveryWarehouseProductAgeMax": 0, "beUsing": true, "canOptional": false }, { "name": "顺丰(线下)", "timeLimitation": "0 - 0", "channelType": "快递", "warehouseName": "洋桃-花都成品仓", "availableQuantity": 0, "status": "可达", "totalAmountRMB": 101, "totalProductCost": 0, "otherProductCost": 0, "orderOtherCost": 0, "expectFeeTotal": 0, "warehouseId": 183, "deliveryChannelId": "1413", "expectProfit": 101, "expectProfitRateText": "101%", "deliveryWarehouseProductAgeMax": 0, "beUsing": false, "canOptional": false }, { "name": "中通速递(线下)", "timeLimitation": "0 - 0", "channelType": "快递", "warehouseName": "洋桃-花都成品仓", "availableQuantity": 0, "status": "可达", "totalAmountRMB": 101, "totalProductCost": 0, "otherProductCost": 0, "orderOtherCost": 0, "expectFeeTotal": 0, "warehouseId": 183, "deliveryChannelId": "1416", "expectProfit": 101, "expectProfitRateText": "101%", "deliveryWarehouseProductAgeMax": 0, "beUsing": false, "canOptional": false }, { "name": "顺丰(线下)", "timeLimitation": "0 - 0", "channelType": "快递", "warehouseName": "洋桃-天河成品仓", "availableQuantity": 0, "status": "可达", "totalAmountRMB": 101, "totalProductCost": 0, "otherProductCost": 0, "orderOtherCost": 0, "expectFeeTotal": 0, "warehouseId": 190, "deliveryChannelId": "1413", "expectProfit": 101, "expectProfitRateText": "101%", "deliveryWarehouseProductAgeMax": 0, "beUsing": false, "canOptional": false }, { "name": "中通速递(线下)", "timeLimitation": "0 - 0", "channelType": "快递", "warehouseName": "洋桃-天河成品仓", "availableQuantity": 0, "status": "可达", "totalAmountRMB": 101, "totalProductCost": 0, "otherProductCost": 0, "orderOtherCost": 0, "expectFeeTotal": 0, "warehouseId": 190, "deliveryChannelId": "1416", "expectProfit": 101, "expectProfitRateText": "101%", "deliveryWarehouseProductAgeMax": 0, "beUsing": false, "canOptional": false }, { "name": "顺丰(线下)", "timeLimitation": "0 - 0", "channelType": "快递", "warehouseName": "洋桃-天河样品仓", "availableQuantity": 0, "status": "可达", "totalAmountRMB": 101, "totalProductCost": 0, "otherProductCost": 0, "orderOtherCost": 0, "expectFeeTotal": 0, "warehouseId": 191, "deliveryChannelId": "1413", "expectProfit": 101, "expectProfitRateText": "101%", "deliveryWarehouseProductAgeMax": 0, "beUsing": false, "canOptional": false }, { "name": "中通速递(线下)", "timeLimitation": "0 - 0", "channelType": "快递", "warehouseName": "洋桃-天河样品仓", "availableQuantity": 0, "status": "可达", "totalAmountRMB": 101, "totalProductCost": 0, "otherProductCost": 0, "orderOtherCost": 0, "expectFeeTotal": 0, "warehouseId": 191, "deliveryChannelId": "1416", "expectProfit": 101, "expectProfitRateText": "101%", "deliveryWarehouseProductAgeMax": 0, "beUsing": false, "canOptional": false } ] } ````