OPEN-API-客户对接【外】
  1. 调拨
OPEN-API-客户对接【外】
  • 默认分组
    • 产品
      • sku批量分页查询
      • 创建/编辑产品 V2(字段覆盖完整)
      • 创建/编辑 产品
      • 创建产品识别码
      • 查询 sku
      • 渠道产品---渠道产品关系查询
    • 入库计划单
      • 入库计划创建修改(支持默认草稿状态可编辑)
      • 修改发运信息
      • 船公司代码列表
      • 入库计划分页查询
      • 入库计划创建
      • 入库计划发运操作
      • 入库计划添加附件
      • 取消入库订单
      • 查询入库信息
    • 库存
      • 批量查询库龄
      • 批量查询库存
      • 查询库存
      • winit快照查询
      • 查询库内变更明细
      • 库存批次明细查询
    • 订单
      • 测算
      • 创建销售订单(带附件的 )
      • 获取订单的详细信息
      • 获取订单的详细信息(获取店铺订单)
      • 订单-- 查询列表
      • 订单上传附件
      • 订单取消
    • 退货
      • 退货单物流追踪
      • 退货条目处理
      • 退货附件上传
      • 删除附件
      • 退货计划确认处理
      • 创建销售退货
      • 销售退货取消
      • 销售退货计划查询
    • 调拨
      • 创建
        POST
      • 取消(根据来源单号)
        POST
      • 上传附件
        POST
      • 查看
        GET
    • 预约
      • 查询是否可预约
    • 基础数据
      • 查询仓库
      • 根据仓库编码查询产品服务列表
    • 三方授权
      • 开发者账号注册
      • 应用注册
      • 服务商授权
    • 运费
      • 运费结算明细查询
    • 费用
      • 结算明细
  1. 调拨

创建

POST
https://hwc-open-api.yqn.com/v2/transferOutboundPlan/create

请求参数

Body 参数application/json
type
integer 
类型
必需
0亚马逊移出 1亚马逊移入 2仓-仓调拨 3调拨出库
orgWarehouseCode
string 
出库存code
必需
没有填写Other
inOrgWarehouseCode
string 
入库仓code
必需
没有填写Other
inventoryType
integer 
库存类型
必需
0可售 1不可售
transportationCarrierType
integer 
运送类型
必需
1卡车派送 2快递派送
transportationType
integer 
运输方式
必需
1客户自提 2仓库预约卡车服务 3仓库物流服务 4客户物流面单
sourceNo
string 
来源单号
必需
有唯一限制(查询、取消根据该单号)
estimateOutboundAt
string 
期望出库日期
必需
格式:yyyy-MM-dd
estimateInboundAt
string 
期望入库日期
必需
格式:yyyy-MM-dd
shipmentId
string 
Shipment ID
可选
FBA相关单据填写
removeOrderId
string 
Reference ID /Remove Order ID
可选
FBA相关单据填写
receiveStore
string 
目的地地址CODE
可选
fba地址code
shipToCountry
string 
目的地国家
必需
调拨出必填
shipToState
string 
目的地州
必需
调拨出必填
shipToCity
string 
目的地城市
必需
调拨出必填
shipToPostal
string 
目的地邮编
必需
调拨出必填
shipToAddress1
string 
目的地地址1
必需
调拨出必填
shipToContact
string 
目的地联系人
必需
调拨出必填
shipToTelephone
string 
目的地电话
必需
调拨出必填
remark
string 
备注
可选
serviceType
array[integer]
增值服务
可选
1 贴产品标 2贴箱标 3贴托盘标
truckCompany
string 
卡车公司
可选
pickupTime
string 
提货时间
可选
格式:yyyy-MM-dd
transferOutboundPlanItems
array [object {2}] 
产品明细
必需
sku
string 
sku
可选
qty
integer 
数量
可选
tags
array[integer]
标签
可选
采集SN:150
示例
{
  "type": 0,
  "orgWarehouseCode": "string",
  "inOrgWarehouseCode": "string",
  "inventoryType": 0,
  "transportationCarrierType": 0,
  "transportationType": 0,
  "sourceNo": "string",
  "estimateOutboundAt": "string",
  "estimateInboundAt": "string",
  "shipmentId": "string",
  "removeOrderId": "string",
  "receiveStore": "string",
  "shipToCountry": "string",
  "shipToState": "string",
  "shipToCity": "string",
  "shipToPostal": "string",
  "shipToAddress1": "string",
  "shipToContact": "string",
  "shipToTelephone": "string",
  "remark": "string",
  "serviceType": [
    0
  ],
  "truckCompany": "string",
  "pickupTime": "string",
  "transferOutboundPlanItems": [
    {
      "sku": "string",
      "qty": 0
    }
  ],
  "tags": [
    0
  ]
}

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://hwc-open-api.yqn.com/v2/transferOutboundPlan/create' \
--header 'Content-Type: application/json' \
--data-raw '{
    "type": 0,
    "orgWarehouseCode": "string",
    "inOrgWarehouseCode": "string",
    "inventoryType": 0,
    "transportationCarrierType": 0,
    "transportationType": 0,
    "sourceNo": "string",
    "estimateOutboundAt": "string",
    "estimateInboundAt": "string",
    "shipmentId": "string",
    "removeOrderId": "string",
    "receiveStore": "string",
    "shipToCountry": "string",
    "shipToState": "string",
    "shipToCity": "string",
    "shipToPostal": "string",
    "shipToAddress1": "string",
    "shipToContact": "string",
    "shipToTelephone": "string",
    "remark": "string",
    "serviceType": [
        0
    ],
    "truckCompany": "string",
    "pickupTime": "string",
    "transferOutboundPlanItems": [
        {
            "sku": "string",
            "qty": 0
        }
    ],
    "tags": [
        0
    ]
}'

返回响应

🟢200成功
application/json
Body
statusCode
integer 
必需
status
integer 
必需
code
integer 
必需
message
string 
必需
data
object 
必需
createdAt
string 
创建时间
必需
id
integer 
id
必需
createdName
string 
创建人名称
必需
createdBy
integer 
创建人id
必需
updatedName
string 
更新人名称
必需
updatedBy
integer 
更新人id
必需
updatedAt
string 
更新时间
必需
organizationId
integer 
组织id
必需
warehouseId
null 
仓库id
必需
orgWarehouseId
integer 
出组织仓库id
必需
orgWarehouseCode
string 
出组织仓库code
必需
inOrgWarehouseId
integer 
接收组织仓库id
必需
inOrgWarehouseCode
string 
接收组织仓库code
必需
onsiteWarehouseId
null 
调出仓onsite 渠道id
必需
onsiteChannel
null 
调出仓onsite 渠道账号
必需
inOnsiteWarehouseId
null 
调入仓onsite id
必需
inOnsiteChannel
null 
调入仓onsite 渠道账号
必需
lineId
integer 
项目id
必需
orderType
integer 
单据类型
必需
0:调拨(仓-仓) 1:B2B调拨出库 2:B2B调拨入库
inventoryType
integer 
库存类别
必需
transferOutboundPlanNo
string 
调拨计划单号
必需
transferOutboundPlanStatus
integer 
调拨计划状态
必需
0, "草稿",3, "已驳回",5, "待审核",6, "审核中",7, "审核通过",8, "待确认",9, "待备货",10, "待出库",15, "出库中",20, "待入库",25, "入库中",70, "已完成",90, "已关闭",100, "取消中",110, "已取消",120, "取消异常"
isCancelled
null 
调拨计划单取消状态
必需
0,"未取消",1,"已取消"
isLabel
null 
必需
valueAddedService
string 
必需
sourceNo
string 
来源单号
必需
trackingNo
null 
调拨入库Tracking NO.
必需
shipmentId
string 
FBA shipment ID
必需
removeOrderId
string 
FBA reference ID
必需
transportationType
integer 
运输方式
必需
1, "客户自提";2, "仓库预约卡车服务";3, "仓库物流服务";4, "客户物流面单";
transportationCarrierType
integer 
运送类型
必需
0卡车 1快递
isBol
null 
是否上传bol 0否 1是
必需
carrierId
integer 
承运商ID
必需
carrierCode
string 
承运商CODE
必需
estimateOutboundAt
null 
预计出库日期
必需
estimateInboundAt
null 
预计入库日期
必需
warehouseEstimateOutboundAt
null 
仓库预计出库日期
必需
actualOutboundAt
null 
实际出库时间
必需
receiveStore
string 
接收门店
必需
packedQty
null 
装箱数
必需
expressType
null 
快递类型(卡车、快递)
必需
country
null 
出库地址-国家
必需
state
null 
出库地址-州
必需
city
null 
出库地址-城市
必需
postal
null 
出库地址邮编
必需
address1
null 
出库地址-地址1
必需
address2
null 
出库地址-地址2
必需
contact
null 
出库地址-联系人
必需
telephone
null 
出库地址-电话
必需
mobile
null 
出库地址-移动电话
必需
shipToCountry
string 
发运国家
必需
shipToState
string 
目的州
必需
shipToCity
string 
目的城市
必需
shipToPostal
string 
发运邮编
必需
shipToAddress1
string 
发运地址1
必需
shipToAddress2
null 
发运地址2
必需
shipToContact
string 
发运联系人
必需
customerEmail
null 
客户邮箱
必需
shipToTelephone
string 
发运联系电话
必需
shipToMobile
null 
接收人移动电话
必需
shipToExtra
null 
接收人附加数据
必需
errorStatus
null 
错误状态码
必需
operateAt
null 
操作时间
必需
extraData
null 
额外数据
必需
appointmentNo
null 
预约编号
必需
actualShipAt
string 
实际发运时间
必需
appointmentShipAt
null 
预约发货时间
必需
actualTotalCartonQty
null 
实际出库总箱数
必需
estimateTotalCartonQty
null 
计划出库总箱数
必需
appointmentCartonQty
null 
预约出库总箱数
必需
totalPalletQty
null 
计划出库总箱数
必需
totalWeight
number 
总重量
必需
totalVolume
number 
总体积
必需
totalQuantity
integer 
总数量
必需
remark
string 
备注
必需
labelCreateStatus
integer 
label创建状态
必需
0:未创建 10:生成中 20:已生成
labelPath
string 
箱标路径
必需
sourceSystem
string 
来源系统
必需
srcLabel
integer 
来源类型
必需
0:仓到仓 1:其他平台调拨 2:采购退货 3:服务仓库-亚马逊
isOnsite
integer 
是否onsite
必需
0: 普通 1: onsite
internalDiscernNo
string 
内部识别号
必需
sourceChannel
string 
来源渠道
必需
sourceId
string 
来源ID
必需
errorCode
string 
异常code
必需
errorReason
string 
异常原因
必需
relTransferPlanNo
string 
关联调拨计划单号
必需
cancelAt
string 
取消时间
可选
submitTime
string 
提交时间
必需
confirmTime
string 
确认时间
必需
completeTime
string 
完成时间
必需
palletTime
string 
必需
hasPicture
integer 
是否有照片
必需
0否1是
truckCompany
string 
卡车公司
必需
serviceCode
string 
发货方式
必需
pickupTime
string 
提货日期
必需
orgWarehouseTitle
string 
必需
inOrgWarehouseTitle
string 
必需
lineName
string 
项目名称
必需
orgName
string 
组织名称
必需
labelStatus
integer 
面单状态
必需
labelCompleteTime
null 
买面单时间
必需
示例
{
  "statusCode": 200,
  "status": 0,
  "code": 200,
  "message": "success",
  "data": {
    "createdAt": "2023-03-02 09:26:03",
    "id": 25995,
    "createdName": "姚曦",
    "createdBy": 83,
    "updatedName": "姚曦",
    "updatedBy": 83,
    "updatedAt": "2023-03-02 09:26:04",
    "organizationId": 1,
    "warehouseId": null,
    "orgWarehouseId": 1,
    "orgWarehouseCode": "EW_CA_US",
    "inOrgWarehouseId": 0,
    "inOrgWarehouseCode": "",
    "onsiteWarehouseId": null,
    "onsiteChannel": null,
    "inOnsiteWarehouseId": null,
    "inOnsiteChannel": null,
    "lineId": 29,
    "orderType": 1,
    "inventoryType": 0,
    "transferOutboundPlanNo": "AP-TF2303020002",
    "transferOutboundPlanStatus": 0,
    "isCancelled": null,
    "isLabel": null,
    "valueAddedService": "3",
    "sourceNo": "demo00002",
    "trackingNo": null,
    "shipmentId": "",
    "removeOrderId": "14541547",
    "transportationType": 0,
    "transportationCarrierType": 0,
    "isBol": null,
    "carrierId": 0,
    "carrierCode": "WLC",
    "estimateOutboundAt": null,
    "estimateInboundAt": null,
    "warehouseEstimateOutboundAt": null,
    "actualOutboundAt": null,
    "receiveStore": "",
    "packedQty": null,
    "expressType": null,
    "country": null,
    "state": null,
    "city": null,
    "postal": null,
    "address1": null,
    "address2": null,
    "contact": null,
    "telephone": null,
    "mobile": null,
    "shipToCountry": "us",
    "shipToState": "cc",
    "shipToCity": "dd",
    "shipToPostal": "se3",
    "shipToAddress1": "3443145",
    "shipToAddress2": null,
    "shipToContact": "15648e33",
    "customerEmail": null,
    "shipToTelephone": "",
    "shipToMobile": null,
    "shipToExtra": null,
    "errorStatus": null,
    "operateAt": null,
    "extraData": null,
    "appointmentNo": null,
    "actualShipAt": null,
    "appointmentShipAt": null,
    "actualTotalCartonQty": null,
    "estimateTotalCartonQty": null,
    "appointmentCartonQty": null,
    "totalPalletQty": null,
    "totalWeight": 8199.9908,
    "totalVolume": 48807.26774983,
    "totalQuantity": 1,
    "remark": "",
    "labelCreateStatus": null,
    "labelPath": null,
    "sourceSystem": null,
    "srcLabel": null,
    "isOnsite": null,
    "internalDiscernNo": null,
    "sourceChannel": null,
    "sourceId": null,
    "errorCode": null,
    "errorReason": null,
    "relTransferPlanNo": null,
    "cancelAt": null,
    "deletedAt": null,
    "submitTime": null,
    "confirmTime": null,
    "completeTime": null,
    "palletTime": null,
    "hasPicture": null,
    "truckCompany": "",
    "serviceCode": null,
    "pickupTime": null,
    "transferOutboundPlanItemList": null,
    "transferShipmentPackagesEntityList": null,
    "orgWarehouseTitle": null,
    "inOrgWarehouseTitle": null,
    "lineName": null,
    "orgName": null,
    "serviceType": [
      3
    ],
    "labelStatus": null,
    "labelCompleteTime": null,
    "display": "[25995]TransferOutboundPlanEntity"
  }
}
上一页
销售退货计划查询
下一页
取消(根据来源单号)
Built with