public interface WxChannelWarehouseService
| 限定符和类型 | 方法和说明 |
|---|---|
WxChannelBaseResponse |
addWarehouseArea(String outWarehouseId,
List<WarehouseLocation> coverLocations)
批量增加覆盖区域
|
WxChannelBaseResponse |
createWarehouse(WarehouseParam param)
创建仓库
|
WxChannelBaseResponse |
deleteWarehouseArea(String outWarehouseId,
List<WarehouseLocation> coverLocations)
批量删除覆盖区域
|
WarehouseResponse |
getWarehouse(String outWarehouseId)
获取仓库详情
|
LocationPriorityResponse |
getWarehousePriority(Integer addressId1,
Integer addressId2,
Integer addressId3,
Integer addressId4)
获取指定地址下的仓的优先级
|
WarehouseStockResponse |
getWarehouseStock(String productId,
String skuId,
String outWarehouseId)
获取区域仓库存数量
|
WarehouseIdsResponse |
listWarehouse(Integer pageSize,
String nextKey)
查询仓库列表
|
WxChannelBaseResponse |
setWarehousePriority(PriorityLocationParam param)
设置指定地址下的仓的优先级
|
WxChannelBaseResponse |
updateWarehouse(String outWarehouseId,
String name,
String intro)
修改仓库详情
|
WxChannelBaseResponse |
updateWarehouseStock(WarehouseStockParam param)
更新区域仓库存数量
|
WxChannelBaseResponse createWarehouse(WarehouseParam param) throws WxErrorException
param - 仓库信息WxErrorException - 异常WarehouseIdsResponse listWarehouse(Integer pageSize, String nextKey) throws WxErrorException
pageSize - 每页数量(最大不超过10)nextKey - 由上次请求返回,记录翻页的上下文。传入时会从上次返回的结果往后翻一页,不传默认拉取第一页数据WxErrorException - 异常WarehouseResponse getWarehouse(String outWarehouseId) throws WxErrorException
outWarehouseId - 外部仓库IDWxErrorException - 异常WxChannelBaseResponse updateWarehouse(String outWarehouseId, String name, String intro) throws WxErrorException
outWarehouseId - 外部仓库IDname - 仓库名称intro - 仓库介绍WxErrorException - 异常WxChannelBaseResponse addWarehouseArea(String outWarehouseId, List<WarehouseLocation> coverLocations) throws WxErrorException
outWarehouseId - 外部仓库IDcoverLocations - 覆盖区域WxErrorException - 异常WxChannelBaseResponse deleteWarehouseArea(String outWarehouseId, List<WarehouseLocation> coverLocations) throws WxErrorException
outWarehouseId - 外部仓库IDcoverLocations - 覆盖区域WxErrorException - 异常WxChannelBaseResponse setWarehousePriority(PriorityLocationParam param) throws WxErrorException
param - 参数WxErrorException - 异常LocationPriorityResponse getWarehousePriority(Integer addressId1, Integer addressId2, Integer addressId3, Integer addressId4) throws WxErrorException
addressId1 - 省份地址编码addressId2 - 市地址编码addressId3 - 区地址编码addressId4 - 街道地址编码WxErrorException - 异常WxChannelBaseResponse updateWarehouseStock(WarehouseStockParam param) throws WxErrorException
param - 参数WxErrorException - 异常WarehouseStockResponse getWarehouseStock(String productId, String skuId, String outWarehouseId) throws WxErrorException
productId - 商品IDoutWarehouseId - 外部仓库IDskuId - 商品skuIdWxErrorException - 异常Copyright © 2025. All rights reserved.