Zenkraft (预览版)
连接到 Zenkraft API,以创建/管理/跟踪来自 50 多个不同运营商的发货
此连接器在以下产品和区域中可用:
| 服务 | Class | 区域 |
|---|---|---|
| Copilot Studio | 高级 | 除以下各项外的所有 Power Automate 区域 : - 美国政府 (GCC) - 美国政府 (GCC High) - 由世纪互联运营的中国云 - 美国国防部(DoD) |
| 逻辑应用程序 | 标准 | 除以下各项外的所有 逻辑应用区域 : - Azure 政府区域 - Azure 中国区域 - 美国国防部(DoD) |
| Power Apps | 高级 | 除以下各项外的所有 Power Apps 区域 : - 美国政府 (GCC) - 美国政府 (GCC High) - 由世纪互联运营的中国云 - 美国国防部(DoD) |
| Power Automate | 高级 | 除以下各项外的所有 Power Automate 区域 : - 美国政府 (GCC) - 美国政府 (GCC High) - 由世纪互联运营的中国云 - 美国国防部(DoD) |
| 联系人 | |
|---|---|
| Name | Zenkraft 支持 |
| URL | https://zenkraft.com/docs |
| support@zenkraft.com |
| 连接器元数据 | |
|---|---|
| 发布者 | Zenkraft |
| 网站 | https://zenkraft.com/ |
| 隐私策略 | https://zenkraft.com/privacy-policy |
| 类别 | 商业;销售和 CRM |
Zenkraft 航运 API 旨在通过日益增多的航运运营商列表轻松地对提货、预订、跟踪和安排取件进行评分。
先决条件
需要付费订阅才能访问 Zenkraft API。 请联系 sales@zenkraft.com
已知问题和限制
如果运营商的 Web 服务出现问题,连接器将返回错误消息
创建连接
连接器支持以下身份验证类型:
| 默认 | 用于创建连接的参数。 | 所有区域 | 不可共享 |
违约
适用:所有区域
用于创建连接的参数。
这是不可共享的连接。 如果 Power App 与另一个用户共享,系统会提示其他用户显式创建新连接。
| Name | 类型 | Description | 必选 |
|---|---|---|---|
| Zenkraft API 密钥 | securestring | 此 API 的 Zenkraft API 密钥 | True |
限制
| 名称 | 调用 | 续订期 |
|---|---|---|
| 每个连接的 API 调用数 | 100 | 60 秒 |
操作
| 创建发货 |
使用运输商预订发货,并返回发货标签。 |
| 取消发货 |
取消具有给定发货 ID 或跟踪号的发货 |
| 打印发货标签 |
发送基于 base64 字符串打印发货标签的命令 |
| 获取可用费率 |
根据提供的发货帐户获取可用的发货费率。 |
| 获取打印机 |
请求返回凭据、可用打印机列表、其托盘和其他一些数据。 |
| 计划取件 |
安排发货以取件 |
| 跟踪发货 |
使用运输商跟踪货物并返回检查点。 |
创建发货
使用运输商预订发货,并返回发货标签。
参数
| 名称 | 密钥 | 必需 | 类型 | 说明 |
|---|---|---|---|---|
|
运营商
|
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 | integer |
身高 |
|
|
length
|
length | integer |
length |
|
|
value
|
value | integer |
value |
|
|
重量
|
weight | string |
重量 |
|
|
width
|
width | integer |
width |
|
|
包装
|
packaging | string |
包装 |
|
|
收件人城市
|
city | string |
城市 |
|
|
收件人公司
|
company | string |
公司 |
|
|
收件人国家/地区
|
country | string |
country |
|
|
收件人电子邮件
|
string |
电子邮件 |
||
|
收件人名称
|
name | string |
姓名 |
|
|
收件人电话
|
phone | string |
phone |
|
|
recipient postal_code
|
postal_code | string |
postal_code |
|
|
收件人状态
|
state | string |
状态 |
|
|
recipient street1
|
street1 | string |
street1 |
|
|
recipient street2
|
street2 | string |
street2 |
|
|
引用类型
|
type | string |
类型 |
|
|
引用值
|
value | string |
value |
|
|
发送者城市
|
city | string |
城市 |
|
|
发送方公司
|
company | string |
公司 |
|
|
发件人国家/地区
|
country | string |
country |
|
|
发件人电子邮件
|
string |
电子邮件 |
||
|
发件人名称
|
name | string |
姓名 |
|
|
发送方电话
|
phone | string |
phone |
|
|
sender postal_code
|
postal_code | string |
postal_code |
|
|
发送方状态
|
state | string |
状态 |
|
|
sender street1
|
street1 | string |
street1 |
|
|
sender street2
|
street2 | string |
street2 |
|
|
服务
|
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 |
返回
| 名称 | 路径 | 类型 | 说明 |
|---|---|---|---|
|
运营商
|
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 |
|
id
|
shipment.id | string |
id |
|
label_type
|
shipment.label_type | string |
label_type |
|
packages
|
shipment.packages | array of object |
packages |
|
身高
|
shipment.packages.height | integer |
身高 |
|
标签
|
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 |
|
重量
|
shipment.packages.weight | string |
重量 |
|
width
|
shipment.packages.width | integer |
width |
|
包装
|
shipment.packaging | string |
包装 |
|
城市
|
shipment.recipient.city | string |
城市 |
|
country
|
shipment.recipient.country | string |
country |
|
姓名
|
shipment.recipient.name | string |
姓名 |
|
phone
|
shipment.recipient.phone | string |
phone |
|
postal_code
|
shipment.recipient.postal_code | string |
postal_code |
|
状态
|
shipment.recipient.state | string |
状态 |
|
street1
|
shipment.recipient.street1 | string |
street1 |
|
引用
|
shipment.references | array of object |
引用 |
|
类型
|
shipment.references.type | string |
类型 |
|
value
|
shipment.references.value | string |
value |
|
城市
|
shipment.sender.city | string |
城市 |
|
country
|
shipment.sender.country | string |
country |
|
姓名
|
shipment.sender.name | string |
姓名 |
|
phone
|
shipment.sender.phone | string |
phone |
|
postal_code
|
shipment.sender.postal_code | string |
postal_code |
|
状态
|
shipment.sender.state | string |
状态 |
|
street1
|
shipment.sender.street1 | string |
street1 |
|
服务
|
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 |
取消发货
取消具有给定发货 ID 或跟踪号的发货
参数
| 名称 | 密钥 | 必需 | 类型 | 说明 |
|---|---|---|---|---|
|
运营商
|
carrier | string |
运营商 |
|
|
shipping_account
|
shipping_account | integer |
shipping_account |
|
|
测试
|
test | boolean |
测试 |
|
|
tracking_number
|
tracking_number | string |
tracking_number |
返回
| 名称 | 路径 | 类型 | 说明 |
|---|---|---|---|
|
消息
|
success.message | string |
消息 |
打印发货标签
发送基于 base64 字符串打印发货标签的命令
参数
| 名称 | 密钥 | 必需 | 类型 | 说明 |
|---|---|---|---|---|
|
内容
|
content | string |
内容 |
|
|
printer_id
|
printer_id | integer |
printer_id |
|
|
托盘
|
tray | string |
托盘 |
返回
| 名称 | 路径 | 类型 | 说明 |
|---|---|---|---|
|
消息
|
success.message | string |
消息 |
获取可用费率
根据提供的发货帐户获取可用的发货费率。
参数
| 名称 | 密钥 | 必需 | 类型 | 说明 |
|---|---|---|---|---|
|
运营商
|
carrier | string |
运营商 |
|
|
货币
|
currency | string |
货币 |
|
|
dim_units
|
dim_units | string |
dim_units |
|
|
身高
|
height | integer |
身高 |
|
|
length
|
length | integer |
length |
|
|
value
|
value | integer |
value |
|
|
重量
|
weight | integer |
重量 |
|
|
width
|
width | integer |
width |
|
|
收件人城市
|
city | string |
城市 |
|
|
收件人国家/地区
|
country | string |
country |
|
|
收件人邮政编码
|
postal_code | string |
postal_code |
|
|
收件人状态
|
state | string |
状态 |
|
|
收件人街道 1
|
street1 | string |
street1 |
|
|
发送者城市
|
city | string |
城市 |
|
|
发件人国家/地区
|
country | string |
country |
|
|
发件人邮政编码
|
postal_code | string |
postal_code |
|
|
发送方状态
|
state | string |
状态 |
|
|
发送者街道 1
|
street1 | string |
street1 |
|
|
shipping_account
|
shipping_account | float |
shipping_account |
|
|
测试
|
test | boolean |
测试 |
|
|
类型
|
type | string |
类型 |
|
|
weight_units
|
weight_units | string |
weight_units |
返回
| 名称 | 路径 | 类型 | 说明 |
|---|---|---|---|
|
率
|
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 |
获取打印机
请求返回凭据、可用打印机列表、其托盘和其他一些数据。
返回
| 名称 | 路径 | 类型 | 说明 |
|---|---|---|---|
|
电子邮件
|
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 |
|
id
|
printers.id | integer |
id |
|
printer_name
|
printers.printer_name | string |
printer_name |
|
状态
|
printers.status | string |
状态 |
|
托盘
|
printers.tray | array of string |
托盘 |
计划取件
安排发货以取件
参数
| 名称 | 密钥 | 必需 | 类型 | 说明 |
|---|---|---|---|---|
|
运营商
|
carrier | string |
运营商 |
|
|
调试
|
debug | boolean |
调试 |
|
|
描述
|
description | string |
描述 |
|
|
dim_units
|
dim_units | string |
dim_units |
|
|
皮卡城市
|
city | string |
城市 |
|
|
皮卡公司
|
company | string |
公司 |
|
|
皮卡国家/地区
|
country | string |
country |
|
|
取件电子邮件
|
string |
电子邮件 |
||
|
location_type
|
location_type | string |
location_type |
|
|
取件名称
|
name | string |
姓名 |
|
|
取件电话
|
phone | string |
phone |
|
|
取件邮政编码
|
postal_code | string |
postal_code |
|
|
住宅
|
residential | boolean |
住宅 |
|
|
取件状态
|
state | string |
状态 |
|
|
皮卡街 1
|
street1 | string |
street1 |
|
|
package_type
|
package_type | string |
package_type |
|
|
身高
|
height | integer |
身高 |
|
|
length
|
length | integer |
length |
|
|
value
|
value | integer |
value |
|
|
重量
|
weight | integer |
重量 |
|
|
width
|
width | integer |
width |
|
|
收件人城市
|
city | string |
城市 |
|
|
收件人公司
|
company | string |
公司 |
|
|
收件人国家/地区
|
country | string |
country |
|
|
收件人电子邮件
|
string |
电子邮件 |
||
|
收件人名称
|
name | string |
姓名 |
|
|
收件人电话
|
phone | string |
phone |
|
|
收件人邮政编码
|
postal_code | string |
postal_code |
|
|
收件人状态
|
state | string |
状态 |
|
|
recipient street1
|
street1 | string |
street1 |
|
|
发货服务
|
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 |
返回
| 名称 | 路径 | 类型 | 说明 |
|---|---|---|---|
|
运营商
|
shipment.carrier | string |
运营商 |
|
检查站
|
shipment.checkpoints | array of object |
检查站 |
|
描述
|
shipment.checkpoints.description | string |
描述 |
|
城市
|
shipment.checkpoints.location.city | string |
城市 |
|
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 |
调试 |
|
交付
|
shipment.delivered | boolean |
交付 |
|
dim_units
|
shipment.dim_units | string |
dim_units |
|
id
|
shipment.id | string |
id |
|
include_base64_label
|
shipment.include_base64_label | boolean |
include_base64_label |
|
label_type
|
shipment.label_type | string |
label_type |
|
packages
|
shipment.packages | array of object |
packages |
|
身高
|
shipment.packages.height | string |
身高 |
|
标签
|
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 |
|
重量
|
shipment.packages.weight | string |
重量 |
|
width
|
shipment.packages.width | string |
width |
|
包装
|
shipment.packaging | string |
包装 |
|
城市
|
shipment.recipient.city | string |
城市 |
|
公司
|
shipment.recipient.company | string |
公司 |
|
country
|
shipment.recipient.country | string |
country |
|
电子邮件
|
shipment.recipient.email | string |
电子邮件 |
|
姓名
|
shipment.recipient.name | string |
姓名 |
|
phone
|
shipment.recipient.phone | string |
phone |
|
postal_code
|
shipment.recipient.postal_code | string |
postal_code |
|
状态
|
shipment.recipient.state | string |
状态 |
|
street1
|
shipment.recipient.street1 | string |
street1 |
|
引用
|
shipment.references | array of |
引用 |
|
城市
|
shipment.sender.city | string |
城市 |
|
公司
|
shipment.sender.company | string |
公司 |
|
country
|
shipment.sender.country | string |
country |
|
电子邮件
|
shipment.sender.email | string |
电子邮件 |
|
姓名
|
shipment.sender.name | string |
姓名 |
|
phone
|
shipment.sender.phone | string |
phone |
|
postal_code
|
shipment.sender.postal_code | string |
postal_code |
|
状态
|
shipment.sender.state | string |
状态 |
|
street1
|
shipment.sender.street1 | string |
street1 |
|
服务
|
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 |
跟踪发货
使用运输商跟踪货物并返回检查点。
参数
| 名称 | 密钥 | 必需 | 类型 | 说明 |
|---|---|---|---|---|
|
运营商
|
carrier | string |
运营商 |
|
|
shipping_account
|
shipping_account | float |
shipping_account |
|
|
测试
|
test | boolean |
测试 |
|
|
tracking_number
|
tracking_number | string |
tracking_number |
返回
| 名称 | 路径 | 类型 | 说明 |
|---|---|---|---|
|
运营商
|
carrier | string |
运营商 |
|
检查站
|
checkpoints | array of object |
检查站 |
|
描述
|
checkpoints.description | string |
描述 |
|
城市
|
checkpoints.location.city | string |
城市 |
|
country
|
checkpoints.location.country | string |
country |
|
postal_code
|
checkpoints.location.postal_code | string |
postal_code |
|
状态
|
checkpoints.location.state | string |
状态 |
|
time
|
checkpoints.time | string |
time |
|
状态
|
status | string |
状态 |