获取FBA包裹标签


POST https://openapi.chukou1.cn/v1/fbaOrder/label
接口说明: 获取FBA包裹标签,支持多个包裹
Http 200 - 成功
Http 400 - 提交的数据有误,请检查

输入参数

Body Parameters
名称类型格式要求是否必须描述示例值
PackageId string

长度: 0 ~ 50

必须

包裹Id

PrintFormat PrintFormat

None.

必须

打印格式

ClassicLabel

PrintContent DirectExpressPrintContent

None.

必须

打印内容

AddressCostomsSplit

IdType IdType

None.

输入参数id的类型

输入参数的json形式
{
  "PackageId": "sample string 1",
  "PrintFormat": "ClassicA4",
  "PrintContent": "Address",
  "IdType": "PackageId"
}

返回结果

名称类型格式要求是否必须描述示例值
Label string

None.

Base64 编码,需要转换成byte数据,再生成pdf文件

返回结果的json形式
{
  "Label": "sample string 1"
}