Zenkraft(預覽版)
連接到 Zenkraft API 以創建/管理/跟踪來自 50+ 不同承運商的貨件
此連接器適用於以下產品和區域:
| 服務 | Class | Regions |
|---|---|---|
| 副駕駛工作室 | 進階 | 除下列區域外的所有 Power Automate 區域 : - 美國政府 (GCC) - 美國政府(海灣合作委員會高中) - 由 21Vianet 營運的中國雲 - 美國國防部 (DoD) |
| 邏輯應用程式 | 標準 | 所有 Logic Apps 區域, 但下列區域除外: - Azure Government 區域 - Azure 中國區域 - 美國國防部 (DoD) |
| Power Apps | 進階 | 除下列區域外的所有 Power Apps 區域 : - 美國政府 (GCC) - 美國政府(海灣合作委員會高中) - 由 21Vianet 營運的中國雲 - 美國國防部 (DoD) |
| Power Automate(自動化服務) | 進階 | 除下列區域外的所有 Power Automate 區域 : - 美國政府 (GCC) - 美國政府(海灣合作委員會高中) - 由 21Vianet 營運的中國雲 - 美國國防部 (DoD) |
| 連絡人 | |
|---|---|
| 名稱 | Zenkraft 支持 |
| URL | https://zenkraft.com/docs |
| support@zenkraft.com |
| 連接器中繼資料 | |
|---|---|
| Publisher | 禪卡夫 |
| 網站 | https://zenkraft.com/ |
| 隱私策略 | https://zenkraft.com/privacy-policy |
| 類別 | 商;銷售和客戶關係管理 |
Zenkraft 運輸 API 旨在讓您輕鬆地對越來越多的承運商進行評級、預訂、跟踪和安排取件。
先決條件
您需要付費訂閱才能存取 Zenkraft API。 請聯絡 sales@zenkraft.com
已知問題與限制
如果電信業者的網路服務發生問題,我們的連接器將傳回錯誤訊息
正在建立連線
連接器支援下列驗證類型:
| 預設值 | 建立連線的參數。 | 所有區域 | 不可共享 |
預設
適用:所有地區
建立連線的參數。
這不是可共用的連線。 如果 Power App 與其他使用者共用,系統會明確提示其他使用者建立新連線。
| 名稱 | 類型 | Description | 為必填項目 |
|---|---|---|---|
| Zenkraft API 金鑰 | securestring | 此 API 的 Zenkraft API 金鑰 | 對 |
節流限制
| 名稱 | 呼叫 | 續約期間 |
|---|---|---|
| 每個連線的 API 呼叫 | 100 | 60 秒 |
動作
| 列印託運標籤 |
傳送命令以根據 base64 字串列印託運標籤 |
| 取得印表機 |
請求會傳回認證、可用印表機清單、其紙匣和一些其他資料。 |
| 取消出貨 |
取消具有指定貨件 ID 或追蹤號碼的貨件 |
| 建立貨件 |
向承運人預訂貨件並退回託運標籤。 |
| 獲取可用價格 |
根據提供的運送帳戶取得可用的運費費率。 |
| 追蹤貨件 |
透過承運人追蹤貨件並退回檢查點。 |
| 預約取貨 |
排程貨件取件 |
列印託運標籤
傳送命令以根據 base64 字串列印託運標籤
參數
| 名稱 | 機碼 | 必要 | 類型 | Description |
|---|---|---|---|---|
|
內容
|
content | string |
內容 |
|
|
printer_id
|
printer_id | integer |
printer_id |
|
|
盤
|
tray | string |
盤 |
傳回
| 名稱 | 路徑 | 類型 | Description |
|---|---|---|---|
|
訊息
|
success.message | string |
訊息 |
取得印表機
請求會傳回認證、可用印表機清單、其紙匣和一些其他資料。
傳回
| 名稱 | 路徑 | 類型 | Description |
|---|---|---|---|
|
電子郵件
|
credentials.email | string |
電子郵件 |
|
密碼
|
credentials.password | string |
密碼 |
|
印表機
|
printers | array of object |
印表機 |
|
active_tray
|
printers.active_tray | string |
active_tray |
|
computer_id
|
printers.computer_id | integer |
computer_id |
|
computer_name
|
printers.computer_name | string |
computer_name |
|
識別碼
|
printers.id | integer |
識別碼 |
|
printer_name
|
printers.printer_name | string |
printer_name |
|
狀態
|
printers.status | string |
狀態 |
|
盤
|
printers.tray | array of string |
盤 |
取消出貨
取消具有指定貨件 ID 或追蹤號碼的貨件
參數
| 名稱 | 機碼 | 必要 | 類型 | Description |
|---|---|---|---|---|
|
電訊廠商
|
carrier | string |
電訊廠商 |
|
|
shipping_account
|
shipping_account | integer |
shipping_account |
|
|
測試
|
test | boolean |
測試 |
|
|
tracking_number
|
tracking_number | string |
tracking_number |
傳回
| 名稱 | 路徑 | 類型 | Description |
|---|---|---|---|
|
訊息
|
success.message | string |
訊息 |
建立貨件
向承運人預訂貨件並退回託運標籤。
參數
| 名稱 | 機碼 | 必要 | 類型 | Description |
|---|---|---|---|---|
|
電訊廠商
|
carrier | string |
電訊廠商 |
|
|
貨幣
|
currency | string |
貨幣 |
|
|
偵錯
|
debug | boolean |
偵錯 |
|
|
dim_units
|
dim_units | string |
dim_units |
|
|
include_base64_label
|
include_base64_label | boolean |
include_base64_label |
|
|
label_type
|
label_type | string |
label_type |
|
|
carrier_specific
|
carrier_specific | array of |
carrier_specific |
|
|
height
|
height | integer |
height |
|
|
length
|
length | integer |
length |
|
|
value
|
value | integer |
value |
|
|
weight
|
weight | string |
weight |
|
|
寬度
|
width | integer |
寬度 |
|
|
包裝
|
packaging | string |
包裝 |
|
|
接收城市
|
city | string |
city |
|
|
接收公司
|
company | string |
公司 |
|
|
接收國家/地區
|
country | string |
country |
|
|
收件者電子郵件
|
string |
電子郵件 |
||
|
收件者名稱
|
name | string |
名稱 |
|
|
收件人電話
|
phone | string |
phone |
|
|
收件者postal_code
|
postal_code | string |
郵遞區號 |
|
|
收件者狀態
|
state | string |
狀態 |
|
|
收件者街道1
|
street1 | string |
街道1 |
|
|
收件者街道2
|
street2 | string |
街道2 |
|
|
參考型別
|
type | string |
型別 |
|
|
參考值
|
value | string |
value |
|
|
寄件城市
|
city | string |
city |
|
|
寄件公司
|
company | string |
公司 |
|
|
寄件者國家/地區
|
country | string |
country |
|
|
寄件者電子郵件
|
string |
電子郵件 |
||
|
寄件者名稱
|
name | string |
名稱 |
|
|
寄件者電話
|
phone | string |
phone |
|
|
寄件者postal_code
|
postal_code | string |
郵遞區號 |
|
|
寄件者狀態
|
state | string |
狀態 |
|
|
寄件人街1
|
street1 | string |
街道1 |
|
|
寄件人街道2
|
street2 | string |
街道2 |
|
|
服務
|
service | string |
服務 |
|
|
ship_date
|
ship_date | string |
ship_date |
|
|
shipping_account
|
shipping_account | float |
shipping_account |
|
|
測試
|
test | boolean |
測試 |
|
|
型別
|
type | string |
型別 |
|
|
weight_units
|
weight_units | string |
weight_units |
傳回
| 名稱 | 路徑 | 類型 | Description |
|---|---|---|---|
|
電訊廠商
|
shipment.carrier | string |
電訊廠商 |
|
base_charge
|
shipment.costs.base_charge | string |
base_charge |
|
貨幣
|
shipment.costs.currency | string |
貨幣 |
|
discounts
|
shipment.costs.discounts | string |
discounts |
|
net_charge
|
shipment.costs.net_charge | string |
net_charge |
|
附加費
|
shipment.costs.surcharges | string |
附加費 |
|
稅
|
shipment.costs.taxes | string |
稅 |
|
貨幣
|
shipment.currency | string |
貨幣 |
|
dim_units
|
shipment.dim_units | string |
dim_units |
|
識別碼
|
shipment.id | string |
識別碼 |
|
label_type
|
shipment.label_type | string |
label_type |
|
套件
|
shipment.packages | array of object |
套件 |
|
height
|
shipment.packages.height | integer |
height |
|
標籤
|
shipment.packages.label | string |
標籤 |
|
label_type
|
shipment.packages.label_type | string |
label_type |
|
length
|
shipment.packages.length | integer |
length |
|
tracking_number
|
shipment.packages.tracking_number | string |
tracking_number |
|
value
|
shipment.packages.value | integer |
value |
|
weight
|
shipment.packages.weight | string |
weight |
|
寬度
|
shipment.packages.width | integer |
寬度 |
|
包裝
|
shipment.packaging | string |
包裝 |
|
city
|
shipment.recipient.city | string |
city |
|
country
|
shipment.recipient.country | string |
country |
|
名稱
|
shipment.recipient.name | string |
名稱 |
|
phone
|
shipment.recipient.phone | string |
phone |
|
郵遞區號
|
shipment.recipient.postal_code | string |
郵遞區號 |
|
狀態
|
shipment.recipient.state | string |
狀態 |
|
街道1
|
shipment.recipient.street1 | string |
街道1 |
|
引用
|
shipment.references | array of object |
引用 |
|
型別
|
shipment.references.type | string |
型別 |
|
value
|
shipment.references.value | string |
value |
|
city
|
shipment.sender.city | string |
city |
|
country
|
shipment.sender.country | string |
country |
|
名稱
|
shipment.sender.name | string |
名稱 |
|
phone
|
shipment.sender.phone | string |
phone |
|
郵遞區號
|
shipment.sender.postal_code | string |
郵遞區號 |
|
狀態
|
shipment.sender.state | string |
狀態 |
|
街道1
|
shipment.sender.street1 | string |
街道1 |
|
服務
|
shipment.service | string |
服務 |
|
ship_date
|
shipment.ship_date | string |
ship_date |
|
|
shipment.shipping_account | string |
shipping_account |
|
shipping_documents
|
shipment.shipping_documents | array of |
shipping_documents |
|
測試
|
shipment.test | boolean |
測試 |
|
tracking_number
|
shipment.tracking_number | string |
tracking_number |
|
型別
|
shipment.type | string |
型別 |
|
weight_units
|
shipment.weight_units | string |
weight_units |
獲取可用價格
根據提供的運送帳戶取得可用的運費費率。
參數
| 名稱 | 機碼 | 必要 | 類型 | Description |
|---|---|---|---|---|
|
電訊廠商
|
carrier | string |
電訊廠商 |
|
|
貨幣
|
currency | string |
貨幣 |
|
|
dim_units
|
dim_units | string |
dim_units |
|
|
height
|
height | integer |
height |
|
|
length
|
length | integer |
length |
|
|
value
|
value | integer |
value |
|
|
weight
|
weight | integer |
weight |
|
|
寬度
|
width | integer |
寬度 |
|
|
接收城市
|
city | string |
city |
|
|
接收國家/地區
|
country | string |
country |
|
|
收件人郵遞區號
|
postal_code | string |
郵遞區號 |
|
|
收件者狀態
|
state | string |
狀態 |
|
|
收件人街道 1
|
street1 | string |
街道1 |
|
|
寄件城市
|
city | string |
city |
|
|
寄件者國家/地區
|
country | string |
country |
|
|
寄件者郵遞區號
|
postal_code | string |
郵遞區號 |
|
|
寄件者狀態
|
state | string |
狀態 |
|
|
寄件人街1號
|
street1 | string |
街道1 |
|
|
shipping_account
|
shipping_account | float |
shipping_account |
|
|
測試
|
test | boolean |
測試 |
|
|
型別
|
type | string |
型別 |
|
|
weight_units
|
weight_units | string |
weight_units |
傳回
| 名稱 | 路徑 | 類型 | Description |
|---|---|---|---|
|
費率
|
rates | array of object |
費率 |
|
電訊廠商
|
rates.carrier | string |
電訊廠商 |
|
貨幣
|
rates.currency | string |
貨幣 |
|
delivery_day
|
rates.delivery_day | string |
delivery_day |
|
service_name
|
rates.service_name | string |
service_name |
|
service_type
|
rates.service_type | string |
service_type |
|
total_cost
|
rates.total_cost | string |
total_cost |
追蹤貨件
透過承運人追蹤貨件並退回檢查點。
參數
| 名稱 | 機碼 | 必要 | 類型 | Description |
|---|---|---|---|---|
|
電訊廠商
|
carrier | string |
電訊廠商 |
|
|
shipping_account
|
shipping_account | float |
shipping_account |
|
|
測試
|
test | boolean |
測試 |
|
|
tracking_number
|
tracking_number | string |
tracking_number |
傳回
| 名稱 | 路徑 | 類型 | Description |
|---|---|---|---|
|
電訊廠商
|
carrier | string |
電訊廠商 |
|
檢查站
|
checkpoints | array of object |
檢查站 |
|
描述
|
checkpoints.description | string |
描述 |
|
city
|
checkpoints.location.city | string |
city |
|
country
|
checkpoints.location.country | string |
country |
|
郵遞區號
|
checkpoints.location.postal_code | string |
郵遞區號 |
|
狀態
|
checkpoints.location.state | string |
狀態 |
|
time
|
checkpoints.time | string |
time |
|
狀態
|
status | string |
狀態 |
預約取貨
排程貨件取件
參數
| 名稱 | 機碼 | 必要 | 類型 | Description |
|---|---|---|---|---|
|
電訊廠商
|
carrier | string |
電訊廠商 |
|
|
偵錯
|
debug | boolean |
偵錯 |
|
|
描述
|
description | string |
描述 |
|
|
dim_units
|
dim_units | string |
dim_units |
|
|
接送城市
|
city | string |
city |
|
|
接送公司
|
company | string |
公司 |
|
|
取貨國家/地區
|
country | string |
country |
|
|
取件電子郵件
|
string |
電子郵件 |
||
|
location_type
|
location_type | string |
location_type |
|
|
取貨名稱
|
name | string |
名稱 |
|
|
接聽電話
|
phone | string |
phone |
|
|
取件郵遞區號
|
postal_code | string |
郵遞區號 |
|
|
住宅的
|
residential | boolean |
住宅的 |
|
|
取件狀態
|
state | string |
狀態 |
|
|
皮卡街1
|
street1 | string |
街道1 |
|
|
package_type
|
package_type | string |
package_type |
|
|
height
|
height | integer |
height |
|
|
length
|
length | integer |
length |
|
|
value
|
value | integer |
value |
|
|
weight
|
weight | integer |
weight |
|
|
寬度
|
width | integer |
寬度 |
|
|
接收城市
|
city | string |
city |
|
|
接收公司
|
company | string |
公司 |
|
|
接收國家/地區
|
country | string |
country |
|
|
收件者電子郵件
|
string |
電子郵件 |
||
|
收件者名稱
|
name | string |
名稱 |
|
|
收件人電話
|
phone | string |
phone |
|
|
收件人郵遞區號
|
postal_code | string |
郵遞區號 |
|
|
收件者狀態
|
state | string |
狀態 |
|
|
收件者街道1
|
street1 | string |
街道1 |
|
|
出貨服務
|
service | string |
服務 |
|
|
shipping_account
|
shipping_account | float |
shipping_account |
|
|
測試
|
test | boolean |
測試 |
|
|
close_time
|
close_time | string |
close_time |
|
|
date
|
date | string |
date |
|
|
ready_time
|
ready_time | string |
ready_time |
|
|
weight_units
|
weight_units | string |
weight_units |
傳回
| 名稱 | 路徑 | 類型 | Description |
|---|---|---|---|
|
電訊廠商
|
shipment.carrier | string |
電訊廠商 |
|
檢查站
|
shipment.checkpoints | array of object |
檢查站 |
|
描述
|
shipment.checkpoints.description | string |
描述 |
|
city
|
shipment.checkpoints.location.city | string |
city |
|
country
|
shipment.checkpoints.location.country | string |
country |
|
狀態
|
shipment.checkpoints.location.state | string |
狀態 |
|
signed_by
|
shipment.checkpoints.signed_by | string |
signed_by |
|
time
|
shipment.checkpoints.time | string |
time |
|
貨幣
|
shipment.costs.currency | string |
貨幣 |
|
net_charge
|
shipment.costs.net_charge | string |
net_charge |
|
貨幣
|
shipment.currency | string |
貨幣 |
|
偵錯
|
shipment.debug | boolean |
偵錯 |
|
delivered
|
shipment.delivered | boolean |
delivered |
|
dim_units
|
shipment.dim_units | string |
dim_units |
|
識別碼
|
shipment.id | string |
識別碼 |
|
include_base64_label
|
shipment.include_base64_label | boolean |
include_base64_label |
|
label_type
|
shipment.label_type | string |
label_type |
|
套件
|
shipment.packages | array of object |
套件 |
|
height
|
shipment.packages.height | string |
height |
|
標籤
|
shipment.packages.label | string |
標籤 |
|
label_type
|
shipment.packages.label_type | string |
label_type |
|
length
|
shipment.packages.length | string |
length |
|
tracking_number
|
shipment.packages.tracking_number | string |
tracking_number |
|
value
|
shipment.packages.value | string |
value |
|
weight
|
shipment.packages.weight | string |
weight |
|
寬度
|
shipment.packages.width | string |
寬度 |
|
包裝
|
shipment.packaging | string |
包裝 |
|
city
|
shipment.recipient.city | string |
city |
|
公司
|
shipment.recipient.company | string |
公司 |
|
country
|
shipment.recipient.country | string |
country |
|
電子郵件
|
shipment.recipient.email | string |
電子郵件 |
|
名稱
|
shipment.recipient.name | string |
名稱 |
|
phone
|
shipment.recipient.phone | string |
phone |
|
郵遞區號
|
shipment.recipient.postal_code | string |
郵遞區號 |
|
狀態
|
shipment.recipient.state | string |
狀態 |
|
街道1
|
shipment.recipient.street1 | string |
街道1 |
|
引用
|
shipment.references | array of |
引用 |
|
city
|
shipment.sender.city | string |
city |
|
公司
|
shipment.sender.company | string |
公司 |
|
country
|
shipment.sender.country | string |
country |
|
電子郵件
|
shipment.sender.email | string |
電子郵件 |
|
名稱
|
shipment.sender.name | string |
名稱 |
|
phone
|
shipment.sender.phone | string |
phone |
|
郵遞區號
|
shipment.sender.postal_code | string |
郵遞區號 |
|
狀態
|
shipment.sender.state | string |
狀態 |
|
街道1
|
shipment.sender.street1 | string |
街道1 |
|
服務
|
shipment.service | string |
服務 |
|
ship_date
|
shipment.ship_date | string |
ship_date |
|
|
shipment.shipping_account | float |
shipping_account |
|
special_services
|
shipment.special_services | array of |
special_services |
|
狀態
|
shipment.status | string |
狀態 |
|
測試
|
shipment.test | boolean |
測試 |
|
tracking_number
|
shipment.tracking_number | string |
tracking_number |
|
型別
|
shipment.type | string |
型別 |
|
weight_units
|
shipment.weight_units | string |
weight_units |