文档中心 > API类目 > 五道口API

qimen.alibaba.ax.warehouse.outbound.dispatch (仓出库下发)

出库需求下发

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
extension String 可选 其他 扩展字段
discountFee String 必须 1.00 主单优惠价格
payTime String 必须 2022-12-01 13:00:00 主单支付时间
planLatestOutBoundTime String 可选 2022-12-01 13:00:00 主单计划最晚出库时间
channelOrderNo String 必须 12345678 渠道主订单编号
buyerAddress String 必须 阿里巴巴西溪园区B区1号楼 购买用户送达地址
orderTime String 必须 2022-12-01 13:00:00 主单下单时间
payFee String 必须 1.00 主单支付金额
latestArriveTime String 必须 2022-12-01 13:00:00 最晚送达时间
channelSource String 必须 TXD 渠道类型
packageFee String 必须 1.00 主单包装费
merchantCode String 必须 OCSJXMX 仓商家编码
test Boolean 必须 false 测试标记
timeEffect String 必须 O2O 订单时效类型
deliveryType String 必须 DISPATCH_TO_CUSTOMER 订单配送类型
postFee String 必须 1.00 主单运费
buyerName String 必须 张三 购买用户姓名
channelSourceAlias String 可选 鲜美生活 渠道别名
token String 可选 1234567 仓配交接码
earliestArrivalTime String 必须 2022-12-01 13:00:00 最早送达时间
buyerPhone String 必须 123xxxx1234 购买用户联系方式
bizOrderId String 必须 500000000000 翱象主单号
totalFee String 必须 1.00 主单原价
channelSeq String 可选 19 渠道顺序号
thermosphere String 可选 FREEZING 主单温层类型
demandDetailRequestList DemandDetailRequestList [] 可选
  • 最大列表长度:999999
  • 子单列表
    • └ channelSubOrderNo
    • String
    • 必须
    • 123456
    • 渠道子单号
    • └ extension
    • String
    • 可选
    • 其他
    • 扩展字段
    • └ storeMainBarCode
    • String
    • 必须
    • 69xxxxxx
    • 子单商品主条码
    • └ demandSaleQuantity
    • String
    • 必须
    • 2.00
    • 出库销售数量
    • └ bizSubOrderId
    • String
    • 必须
    • 500000000
    • 翱象子单号
    • └ saleUnit
    • String
    • 必须
    • 销售单位
    • └ stockUnit
    • String
    • 必须
    • 库存单位
    • └ skuName
    • String
    • 必须
    • 舒肤佳香皂
    • 商品名称
    • └ demandStockQuantity
    • String
    • 必须
    • 2.00
    • 出库库存数量
    • └ totalFee
    • String
    • 必须
    • 2.00
    • 子单原价
    • └ processService
    • String
    • 可选
    • 加热
    • 加工服务
    • └ thermosphere
    • String
    • 可选
    • FREEZING
    • 子单温层类型
    • └ isGift
    • Boolean
    • 必须
    • false
    • 赠品标记
    • └ sourceItemPrice
    • String
    • 必须
    • 1.00
    • 子单商品单价
    • └ skuCode
    • String
    • 必须
    • 12345
    • 商品skuCode
    • └ isCanceled
    • Boolean
    • 必须
    • true
    • 子单已取消
    • └ giftRelateBizSubOrderId
    • String
    • 可选
    • 500000000
    • 赠品关联的翱象子单号
    userMemo String 可选 尽快配送 用户备注
    storeCode String 必须 OCSJ101 仓编码

    响应参数

    名称 类型 示例值 描述
    returnCode String 0101 错误编码
    returnSuccess Boolean false 下发成功
    returnMessage String 仓拒收 错误信息

    请求示例

    {"extension":"其他","discountFee":"1.00","payTime":"2022-12-01 13:00:00","planLatestOutBoundTime":"2022-12-01 13:00:00","channelOrderNo":"12345678","buyerAddress":"阿里巴巴西溪园区B区1号楼","orderTime":"2022-12-01 13:00:00","payFee":"1.00","latestArriveTime":"2022-12-01 13:00:00","channelSource":"TXD","packageFee":"1.00","merchantCode":"OCSJXMX","test":false,"timeEffect":"O2O","deliveryType":"DISPATCH_TO_CUSTOMER","postFee":"1.00","buyerName":"张三","channelSourceAlias":"鲜美生活","token":"1234567","earliestArrivalTime":"2022-12-01 13:00:00","buyerPhone":"123xxxx1234","bizOrderId":"500000000000","totalFee":"1.00","channelSeq":"19","thermosphere":"FREEZING","demandDetailRequestList":[{"channelSubOrderNo":"123456","extension":"其他","storeMainBarCode":"69xxxxxx","isCanceled":true,"demandSaleQuantity":"2.00","bizSubOrderId":"500000000","saleUnit":"块","stockUnit":"块","skuName":"舒肤佳香皂","demandStockQuantity":"2.00","giftRelateBizSubOrderId":"500000000","totalFee":"2.00","processService":"加热","thermosphere":"FREEZING","isGift":false,"sourceItemPrice":"1.00","skuCode":"12345"}],"userMemo":"尽快配送","storeCode":"OCSJ101"}

    响应示例

    {
        "returnCode":"0101",
        "returnSuccess":false,
        "returnMessage":"仓拒收"
    }

    验签示例

    {"returnCode":"sign-check-failure","returnMessage":"Illegal request","returnSuccess":"false"}

    错误码解释

    错误码 错误描述 解决方案
    response-body-parse-error

    API工具

    FAQ

    返回
    顶部