元数标准接口
  1. 单据追踪系统-BTS
元数标准接口
  • 签名说明
  • 订单
    • 订单信息同步接口
      POST
    • 订单取消同步接口
      POST
    • 订单发货同步接口-单包裹
      POST
    • 订单发货同步接口-多包裹
      POST
    • 修改收货地址同步接口
      POST
  • 售后
    • 售后信息同步接口
      POST
    • 退单支付回调(非全款支付)
      POST
    • 售后入库接口【入参结构调整】
      POST
  • 库存
    • erp库存同步
      POST
  • 单据追踪系统-BTS
    • 东北虎说明
    • 查询订单物流流水信息
      GET
    • 查询订单综合流水信息(含包裹商品信息)
      GET
    • 流水上报接口
      GET
    • 追加包裹单
      GET
    • 物流单变更
      GET
    • 物流单变更V2
      GET
  1. 单据追踪系统-BTS

追加包裹单

开发中
GET
/bts-web/saas/ifs/addParcel.do
signKey 需要重新申请
参数是param,为json串
param={具体设置见下面body所示}
追加包裹单节点编码:0503
示例:http://test.bts.retailo2o.com/bts-web/ifs/addParcel.do?param={"code":"12147653919436257","codeType":"01","currentNode":"0503","optTime":1695461038000,"platformCode":"01","relativeCodes":[{"contains":[{"goodsId":"005161","goodsName":"全链路自动化测试专用勿动01","goodsNum":"500"}],"uploadMessage":"包裹通过顺丰速运配送,运单号:123456789,请注意查收!","mobileTelephone":"15850653116","relativeCodeType":"01","expressCmpCode":"0030","expressCompany":"顺丰速运","relativeCode":"1234546789"}],"signKey":"WjEzMjhNejljc3F1YW55aTE2OTUzNzAzNDY3MjM=","source":"quanyi","uploadTime":1695461038000}

请求参数

Header 参数
Content-Type
string 
必需
示例值:
application/json
Body 参数application/json
code
string 
单据号
可选
codeType
string 
可选
单据类型,01-订单,02-退单
currentNode
string 
当前节点 0503
可选
optTime
number 
上报时间
可选
platformCode
string 
平台号,默认01
可选
_platform_num
string 
租户号
可选
relativeCodes
array [object {7}] 
关联信息
可选
contains
array [object {3}] 
包裹商品信息,可空
可选
expressCmpCode
string 
运单公司编码
可选
expressCompany
string 
运单公司名称
可选
mobileTelephone
string 
收件人手机号
可选
relativeCode
string 
运单号
可选
relativeCodeType
string 
运单号类型
可选
uploadMessage
string 
上报流水信息
可选
signKey
string 
密钥
可选
source
string 
上报来源,如oms
可选
uploadTime
number 
上报时间
可选
示例
{
    "code": "string",
    "codeType": "string",
    "currentNode": "string",
    "optTime": 0,
    "platformCode": "string",
    "_platform_num": "string",
    "relativeCodes": [
        {
            "contains": [
                {
                    "goodsId": "string",
                    "goodsName": "string",
                    "goodsNum": "string"
                }
            ],
            "expressCmpCode": "string",
            "expressCompany": "string",
            "mobileTelephone": "string",
            "relativeCode": "string",
            "relativeCodeType": "string",
            "uploadMessage": "string"
        }
    ],
    "signKey": "string",
    "source": "string",
    "uploadTime": 0
}

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET '/bts-web/saas/ifs/addParcel.do' \
--header 'Content-Type: application/json' \
--data-raw '{
    "code": "string",
    "codeType": "string",
    "currentNode": "string",
    "optTime": 0,
    "platformCode": "string",
    "_platform_num": "string",
    "relativeCodes": [
        {
            "contains": [
                {
                    "goodsId": "string",
                    "goodsName": "string",
                    "goodsNum": "string"
                }
            ],
            "expressCmpCode": "string",
            "expressCompany": "string",
            "mobileTelephone": "string",
            "relativeCode": "string",
            "relativeCodeType": "string",
            "uploadMessage": "string"
        }
    ],
    "signKey": "string",
    "source": "string",
    "uploadTime": 0
}'

返回响应

🟢200成功
application/json
Body
msg
string 
可选
code
string 
可选
data
number 
可选
示例
{
    "msg": "string",
    "code": "string",
    "data": 0
}
修改于 2023-11-03 12:27:17
上一页
流水上报接口
下一页
物流单变更
Built with