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

上传附件

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

请求参数

Body 参数application/json
sourceNo
string 
来源单号
可选
transferAttaches
array [object {3}] 
文件列表
必需
attachType
string 
附件类型
必需
Shippinglabel,Packinglist,BOL,Other,CartonLabel,PalletLabel,ItemLabel
fileName
string 
文件名
可选
fileUrl
string 
文件链接
可选
示例
{
  "sourceNo": "string",
  "transferAttaches": [
    {
      "attachType": "string",
      "fileName": "string",
      "fileUrl": "string"
    }
  ]
}

示例代码

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/uploadAttachment' \
--header 'Content-Type: application/json' \
--data-raw '{
    "sourceNo": "string",
    "transferAttaches": [
        {
            "attachType": "string",
            "fileName": "string",
            "fileUrl": "string"
        }
    ]
}'

返回响应

🟢200成功
application/json
Body
statusCode
integer 
必需
status
integer 
必需
code
integer 
必需
message
string 
必需
data
array [object {10}] 
必需
id
integer 
id
可选
orderType
null 
可选
storageLabel
null 
可选
orderId
null 
可选
fileName
string 
文件名称
可选
attachType
string 
类型
可选
filePath
null 
可选
fileUrl
string 
文件链接
可选
description
null 
描述
可选
extraDate
null 
可选
示例
{
  "statusCode": 200,
  "status": 0,
  "code": 200,
  "message": "success",
  "data": [
    {
      "id": 29453,
      "orderType": null,
      "storageLabel": null,
      "orderId": null,
      "fileName": "test-091301@1.jpg",
      "attachType": "bol",
      "filePath": null,
      "fileUrl": "https://dev-ucenter.thebizark.com/attach/r/11/8/1000030/1080889094579556352.jpg",
      "description": null,
      "extraDate": null
    }
  ]
}
上一页
取消(根据来源单号)
下一页
查看
Built with