- 授权
- 商品
- 地址
- 价格
- 库存
- 订单
- 售后
- 物流
- 发票
- 类目
- 员工
8.6 包裹单查询
GET
/api/v2/order/querybox
NewOrder
请求参数
Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token示例:
Authorization: Bearer ********************
Query 参数
boxid
string
包裹单id
>= 0 字符<= 32 字符
示例值:
D661026147526-1
Header 参数
channel
string
可选
默认值:
benlai
shopId
string
商城id
默认值:
123
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://open-agent-branch.benlai.com/api/v2/order/querybox?boxid=D661026147526-1' \
--header 'channel: benlai' \
--header 'shopId: 123'
返回响应
🟢200成功
text/plain
Body
box_id
string
可选
do_id
string
可选
way_bill_no
string
可选
productlist
array[object (Benlai.Open.Models.Wms.ProductDetail) {4}]
可选
product_id
string
商品Id
product_name
string
商品名
quantity
number <double>
商品数量
so_sysno
integer <int32>
商品系统编号
示例
{
"box_id": "string",
"do_id": "string",
"way_bill_no": "string",
"productlist": [
{
"product_id": "string",
"product_name": "string",
"quantity": 0,
"so_sysno": 0
}
]
}