获取运费
接口描述
获取运费
API
由供应商提供
- 参数格式
POST application/x-www-form-urlencoded
- 入参
参数名称 | 类型 | 是否必填 | 描述 |
---|---|---|---|
token | string | yes | 授权时获取的 access token |
address | String | yes | 需要查询的销售区域编码 示例:1_1_1_1 |
skuQuantityList | List< skuQuantity > | yes | 查询可销售信息 |
查询可销售信息
参数名称 | 类型 | 是否必填 | 描述 |
---|---|---|---|
supplierSku | String | yes | 商家商品sku编码 |
quantity | Decimal | yes | 需要查询的商品库存数量 |
- 出参
参数名称 | 类型 | 描述 |
---|---|---|
freight | Decimal | 总运费 |
baseFreight | Decimal | 基础运费 |
remoteRegionFreight | Decimal | 偏远地区加收运费 |
remoteSku | String | 需收取偏远运费的sku |
conFreight | Decimal | 续重运费 |
- 出参示例
{
"success": true,
"code": 200,
"message": "操作成功",
"data": {
"freight": 25,
"baseFreight": 5,
"remoteRegionFreight": 20,
"remoteSku": "[123456,234232]",
"conFreight": 25
},
"stackTrace": null
}