跳轉到主要內容
GET
/
labels
/
{id}
以標籤 ID 或客戶訂單編號取得物流業者託管的標籤 URL
curl --request GET \
  --url https://api.flexforwardship.com/labels/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
  "customerOrderNumber": "N2026-05-13-TEST-01",
  "url": "https://label-cdn.yunexpress.cn/labels/YT2503010001.pdf",
  "labelFormat": "pdf"
}

授權

Authorization
string
header
必填

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

路徑參數

id
string
必填

標籤 UUID、客戶訂單編號或以逗號分隔的識別碼。

Minimum string length: 1

回應

Default Response

標籤文件取得結果。

id
string<uuid>
必填

標籤識別碼。

範例:

"f47ac10b-58cc-4372-a567-0e02b2c3d479"

customerOrderNumber
string
必填

與此標籤關聯的客戶訂單編號。

Minimum string length: 1
範例:

"N2026-05-13-TEST-01"

url
string<uri>
必填

標籤文件下載 URL。

範例:

"https://label-cdn.yunexpress.cn/labels/YT2503010001.pdf"

labelFormat
string
必填

文件格式(pdf 或 png)。

Minimum string length: 1
範例:

"pdf"