Qeasy Cloud
Get Started

领星ERP 查询FBA货件箱子、卡板标签 API

Platform
领星ERP
Type
WebAPI
Effect
QUERY
API Version
1.0
Adapter
\Adapter\LingXing\LXQueryAdapter
Auth Mode
OTHER
Description
FBA / FBA货件(STA) · POST · 请求参数 18 个(必填 4) · 响应参数 9 个 · 限流令牌桶容量 1
Updated At
2026-11-21

查询FBA货件箱子、卡板标签

POST/erp/sc/storage/shipment/printFbaLabels
Factory
{
  "operation": {
    "method": "POST",
    "path": "/erp/sc/storage/shipment/printFbaLabels"
  },
  "protocol": "HTTPS",
  "host": "https://openapi.lingxing.com",
  "rateLimit": {
    "tokenBucketCapacity": 1,
    "text": ""
  },
  "requestExample": "curl --location 'https://openapi.lingxing.com/erp/sc/storage/shipment/printFbaLabels?access_token=value&timestamp=value&sign=value&app_key=value' \\\n--header 'Content-Type: application/json' \\\n--data '{\n    \"data\": [{\n        \"shipment_id\": \"FBA16Q9LDF2X\",\n        \"page_type\": \"PackageLabel_Plain_Paper_CarrierBottom\",\n        \"page_start_index\": 1,\n        \"num\": 2\n    }],\n    \"hide_ship_from_company_name\": 1,\n    \"hide_ship_to_company_name\": 1,\n    \"print_sta_name_page\": 1,\n    \"sort_label\": 1,\n    \"sort_by_packing_task_box\": 1,\n    \"print_made_in_china\": 1,\n    \"print_product_num\": 1,\n    \"print_center_id\": 1,\n    \"print_fnsku\": 1,\n    \"print_product_name\": 1,\n    \"print_packing_task_box_no\": 1,\n    \"type\": \"card\",\n    \"is_return_url\": 1\n}'",
  "responseExample": {
    "code": 0,
    "message": "success",
    "error_details": [],
    "request_id": "17036564-84C9-554E-5225-BEFE9A3733EC",
    "response_time": "2022-07-04 18:40:49",
    "total": 0,
    "data": {
      "file_url": "https://example.com/file.pdf"
    }
  }
}

Request Parameters

No.FieldNameTypeDefaultRequiredDescription
1data请求数据array<object>—Required请求数据
1.1shipment_id货件编号string—Required货件编号
1.2page_type页面类型string—Required页面类型: PackageLabel_A4_2 - 每张A4纸打印2个标签 PackageLabel_A4_4 - 每张A4纸打印4个标签 PackageLabel_Plain_Paper - 每张美国信纸打印1个标签 PackageLabel_Letter_2 - 每张美国信纸打印2个标签 PackageLabel_Letter_6 - 每张美国信纸打印6个标签 PackageLabel_Thermal_NonPCP - 热敏纸(108 x 152 mm)1个标签 PackageLabel_Thermal_AK100 - 热敏纸(100 x 100mm)1个标签 PackageLabel_Thermal_AK100_Mark - 热敏纸(100 x 100mm)1个标签(带水印)
1.3num页数【非合作承运人货件必填integer—Optional页数【非合作承运人货件必填;合作承运人标签无法指定页数,不需要填】
1.4page_start_index箱子打印的起始页integer—Optional箱子打印的起始页,默认为1
2hide_ship_from_company_name隐藏ship from公司名integer—Optional隐藏ship from公司名,默认不隐藏,非必填,传值1为开启
3hide_ship_to_company_name传值1为隐藏ship to公司名integer—Optional传值1为隐藏ship to公司名,默认不隐藏,非必填,传值1为开启
4print_sta_name_page传值1为新增任务名称页integer—Optional传值1为新增任务名称页,默认不新增,非必填,仅打印box箱子标签时生效,传值1为开启
5sort_label传值1为按箱子顺序重排integer—Optional传值1为按箱子顺序重排,默认不按箱子顺序重排,仅打印box箱子子标签时生效(说明:不按箱子顺序重排时,打印文件...
6sort_by_packing_task_box传值1为按装箱任务箱号重拍integer—Optional传值1为按装箱任务箱号重拍,需货件关联了装箱任务时才支持这个选项
7print_made_in_china传值1为打印MADE IN CHINAinteger—Optional传值1为打印MADE IN CHINA
8print_product_num传值1为打印箱子商品数integer—Optional传值1为打印箱子商品数
9print_center_id传值1为打印物流中心编码integer—Optional传值1为打印物流中心编码
10print_fnsku传值1为打印FNSKUinteger—Optional传值1为打印FNSKU
11print_product_name传值1为打印产品品名integer—Optional传值1为打印产品品名
12print_packing_task_box_no传值1为打印货件箱子关联的装箱任务编号integer—Optional传值1为打印货件箱子关联的装箱任务编号
13type打印类型string—Required打印类型:box 箱子标签,card 卡板标签
14is_return_url传值1时integer—Optional传值1时,不返回base64字符串,直接返回有10分钟过期时间的url用于下载文件

Response Parameters

No.FieldNameTypeDefaultRequiredDescription
1code状态码integer0Required状态码,0 成功
2message消息提示stringsuccessRequired消息提示
3error_details错误信息array<any>—Required错误信息
4request_id请求链路idstring17036564-84C9-554E-5225-BEFE9A3733ECRequired请求链路id
5response_time响应时间string2022-07-04 18:40:49Required响应时间
6total总数integer0Required总数
7data响应数据object—Required响应数据
7.1file_base64未传或is_return_url不为1时stringxxxRequired未传或is_return_url不为1时,返回打印PDF文件的base64编码
7.2file_urlfile_urlstringhttps://example.com/file.pdfRequiredis_return_url=1时返回PDF下载链接(10分钟有效)

The 查询FBA货件箱子、卡板标签 API (/erp/sc/storage/shipment/printFbaLabels) of 领星ERP is curated by the API asset management module of the Qeasy Cloud data integration platform and kept in sync with 领星ERP version updates.

Need to integrate this API?

Qeasy ships with prebuilt adaptation for this API — contact us to start configuring data integration.