- API接口文档(K5)
- 接口说明
- K5
- K5 API接口
- 创建快件订单,仓储订单,快递制单:[createOrder]
- 修改快件订单,仓储订单,快递制单:[updateOrder]
- 删除快件订单,仓储订单,快递制单:[deleteOrder]
- 快递制单取消发货:[cancelDelivery]
- 根据公司单号提取转单号:[searchOrderTracknumber]
- 查询启用的仓库:[searchStartHouse]
- 查询启用渠道:[searchStartChannel]
- 查询仓储库存:[ searchStock ]
- 查询入仓材积明细
- 打印地址标签:[printOrderLabel]
- 根据渠道查询支持的打印纸张:[searchPrintPaper]
- 查询保险类型:[searchInsuranceType]
- 查询价格:[searchPrice]
- 查询空运价格:[searchKYPrice]
- 查询轨迹:[searchTrack]
- 打印订单发票:[printOrderInvoice]
- K5 获取快递制单—物流标签接口[getEorderData]
- 获取FBA仓库信息:[getFBAHouse]
- 查询订单特殊接口[searchOrderXy]
- 运单查询收货渠道 接口[getRchannel]
- K5 仓储API接口-一件代发
- K5 仓储API接口-大货中转
- K5 仓储API接口-退货换标
- K5 仓储API接口-仓储公共 API
- 设备入仓
大货中转创建入库:[ createGStorage]
POST
http://yqbug.kingtrans.net/PostInterfaceService
请求参数
Query 参数
method
string
必需
示例值:
createGStorage
Header 参数
Content-Type
string
可选
默认值:
application/json;charset=UTF-8
Body 参数application/json
Verify
object
验证信息
Clientid
string
必需
Token
string
必需
StorageAr
object
可传多个入库订单
StorageId
string
传入入库主键ID
HouseId
string
仓库编码
HeadwayType
string
必需
ContainerNumber
string
可选
SingleNumber
string
头程单号
Refernumb
string
客户订单号
Etd
string
预计发货时间
Eta
string
预计到货时间
StorageAr
array [object {9}]
可传多个明细
示例
{
"Verify": {
"Clientid": "XC",
"Token": "WVFCVUc=ng7kbKSHS6gV0nJvkf8j"
},
"StorageAr": [
{
"StorageId": "zsy1001010100",
"BusinessType": "0",
"HeadwayType": "0",
"SingleNumber": "111222",
"ContainerNumber": "222333",
"Refernumb": "",
"RetId": "",
"Etd": "",
"Eta": "",
"HouseId": "xh",
"StorageItemAr": [
{
"StorageItemId": "zsy100011",
"GoodsName": "手机",
"Specification": "规格",
"Num": "7",
"Weight": "2",
"Length": "30",
"Width": "22",
"Height": "22"
},
{
"StorageItemId": "zsy100012",
"GoodsName": "数据线",
"Specification": "1",
"Num": "2",
"Weight": "0.2",
"Length": "3",
"Width": "4",
"Height": "5"
}
]
},
{
"StorageId": "zsy100020",
"BusinessType": "0",
"HeadwayType": "0",
"SingleNumber": "1112222",
"ContainerNumber": "2223323",
"HouseId": "moscow",
"StorageItemAr": [
{
"StorageItemId": "zsy100021",
"GoodsName": "手机 02",
"Specification": "规格",
"Num": "7",
"Weight": "2",
"Length": "30",
"Width": "22",
"Height": "22"
},
{
"StorageItemId": "zsy100022",
"GoodsName": "数据线 02",
"Specification": "1",
"Num": "2",
"Weight": "0.2",
"Length": "3",
"Width": "4",
"Height": "5"
}
]
}
]
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://yqbug.kingtrans.net/PostInterfaceService?method=createGStorage' \
--header 'Content-Type: application/json;charset=UTF-8' \
--data-raw '{
"Verify": {
"Clientid": "XC",
"Token": "WVFCVUc=ng7kbKSHS6gV0nJvkf8j"
},
"StorageAr": [{
"StorageId": "zsy1001010100",
"BusinessType": "0",
"HeadwayType": "0",
"SingleNumber": "111222",
"ContainerNumber": "222333",
"Refernumb": "",
"RetId": "",
"Etd": "",
"Eta": "",
"HouseId": "xh",
"StorageItemAr": [{
"StorageItemId": "zsy100011",
"GoodsName": "手机",
"Specification": "规格",
"Num": "7",
"Weight": "2",
"Length": "30",
"Width": "22",
"Height": "22"
},
{
"StorageItemId": "zsy100012",
"GoodsName": "数据线",
"Specification": "1",
"Num": "2",
"Weight": "0.2",
"Length": "3",
"Width": "4",
"Height": "5"
}
]
},
{
"StorageId": "zsy100020",
"BusinessType": "0",
"HeadwayType": "0",
"SingleNumber": "1112222",
"ContainerNumber": "2223323",
"HouseId": "moscow",
"StorageItemAr": [{
"StorageItemId": "zsy100021",
"GoodsName": "手机 02",
"Specification": "规格",
"Num": "7",
"Weight": "2",
"Length": "30",
"Width": "22",
"Height": "22"
},
{
"StorageItemId": "zsy100022",
"GoodsName": "数据线 02",
"Specification": "1",
"Num": "2",
"Weight": "0.2",
"Length": "3",
"Width": "4",
"Height": "5"
}
]
}
]
}'
返回响应
🟢200成功
application/json
Body
statusCode
string
可选
returnDatas
array [object {5}]
可选
statusCode
string
可选
StorageId
string
对接方入库主键
boxurl
string
箱唛标签打印地址
MergeSheetId
string
入库主键编码
itemReultAr
object
可选
示例
{
"statusCode": "string",
"returnDatas": [
{
"statusCode": "string",
"StorageId": "string",
"boxurl": "string",
"MergeSheetId": "string",
"itemReultAr": {
"statusCode": "string",
"StorageItemId": "string",
"SheetId": "string",
"BoxCode": "string"
}
}
]
}
修改于 2023-09-13 06:31:55