/erp/sc/storage/shipment/printFnskuLabels{
"operation": {
"method": "POST",
"path": "/erp/sc/storage/shipment/printFnskuLabels"
},
"protocol": "HTTPS",
"host": "https://openapi.lingxing.com",
"rateLimit": {
"tokenBucketCapacity": 1,
"text": ""
},
"requestExample": "curl --location 'https://openapi.lingxing.com/erp/sc/storage/shipment/printFnskuLabels?access_token=value×tamp=value&sign=value&app_key=value' \\\n--header 'Content-Type: application/json' \\\n--data '{\n \"data\": [{\n \"shipment_id\": \"FBA16RKY2ZNR\",\n \"num\": 20,\n \"seller_sku\": \"Black_ Head_Rope\",\n \"fnsku\": \"B09MT3989Q\"\n }],\n \"page_type\": \"DOUBLE_COL_100_30\",\n \"print_content\": \"yes\",\n \"content_type\": \"sku\",\n \"print_custom\": \"yes\",\n \"custom_content\": \"MADE IN CHINA\",\n \"new_tag\": \"yes\",\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": 1,
"data": {
"file_url": "https://example.com/file.pdf"
}
}
}| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | data | data | array<object> | — | Required | |
| 1.1 | shipment_id | 货件编号 | string | — | Required | 货件编号 |
| 1.2 | num | 标签打印个数 | integer | — | Required | 标签打印个数 |
| 1.3 | seller_sku | seller_sku | string | — | Required | MSKU |
| 1.4 | fnsku | fnsku | string | — | Required | FNSKU |
| 2 | page_type | 标签页面类型 | string | — | Required | 标签页面类型: SINGLE_COL_50_30 热敏纸【50X30】单排 SINGLE_COL_70_30 热敏纸【70X30】单排 DOUBLE_COL_100_30 热敏纸【100X30】双排 A4_FOUR_COL_40 A4纸【每页40个标签】四排 A4_FOUR_COL_44 A4纸【每页44个标签】四排 US_LETTER_THREE_COL_30 美国信纸【每页30个标签】三排 |
| 3 | print_content | 是否打印 | string | — | Optional | 是否打印:【默认yes】 yes 是 no 否 |
| 4 | content_type | 打印SKU/品名 | string | — | Optional | 打印SKU/品名:【默认sku】 sku SKU sku_name 品名 |
| 5 | print_custom | 是否打印自定义内容 | string | — | Optional | 是否打印自定义内容:【默认yes】 yes 是 no 否 |
| 6 | custom_content | 自定义内容 | string | — | Optional | 自定义内容,默认MADE IN CHINA |
| 7 | new_tag | 标签中是否显示‘new’字样 | string | — | Optional | 标签中是否显示‘new’字样:【默认yes】 yes 是 no 否 |
| 8 | is_return_url | 传值1时 | integer | — | Optional | 传值1时,不返回base64字符串,直接返回有10分钟过期时间的url用于下载文件 |
| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | code | 状态码 | integer | 0 | Required | 状态码,0 成功 |
| 2 | message | 消息提示 | string | success | Required | 消息提示 |
| 3 | error_details | 错误信息 | array<any> | — | Required | 错误信息 |
| 4 | request_id | 请求链路id | string | 17036564-84C9-554E-5225-BEFE9A3733EC | Required | 请求链路id |
| 5 | response_time | 响应时间 | string | 2022-07-04 18:40:49 | Required | 响应时间 |
| 6 | total | 总数 | integer | 1 | Required | 总数 |
| 7 | data | 响应数据 | object | — | Required | 响应数据 |
| 7.1 | file_base64 | 未传或is_return_url不为1时 | string | xxx | Required | 未传或is_return_url不为1时,返回打印PDF文件的base64编码 |
| 7.2 | file_url | file_url | string | https://example.com/file.pdf | Required | is_return_url=1时返回PDF下载链接(10分钟有效) |
The 查询FBA货件商品FNSKU标签 API (/erp/sc/storage/shipment/printFnskuLabels) 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.
Qeasy ships with prebuilt adaptation for this API — contact us to start configuring data integration.