通过


Flexe (预览版)

Flexe 是满足需求的动态、灵活的仓库和履行网络。 连接到 Flexe 以检索和更新履行相关信息。

此连接器在以下产品和区域中可用:

Service Class 区域
逻辑应用程序 标准 除以下各项外的所有 逻辑应用区域
     - Azure Government区域
     - Azure中国区域
     - 美国国防部(DoD)
联系人
名称 Microsoft Dynamics
URL https://dynamics.microsoft.com/en-us/support/
Email iomdri@microsoft.com
连接器元数据
发布者 Microsoft
网站 https://www.flexe.com/
隐私策略 https://www.flexe.com/privacy-policy
类别 生产力

此连接器专为 Dynamics 365 Intelligent Order Management 的 Flexe 提供程序集成而开发。

先决条件

需要 Flexe 开发人员帐户。 如果没有,可以在其中创建它 https://developer-sandbox.flexe.com。 注意:建议专门使用此连接器来设置 Dynamics 365 Intelligent Order Management Flexe 提供程序。

如何获取凭据

Flexe 需要 API 令牌进行身份验证。 可以生成令牌并使用该令牌 https://developer-sandbox.flexe.com/tokens 来配置连接器。

连接器入门

使用 API 密钥配置连接。 若要详细了解 Flexe 的 API,请阅读公共文档: https://developer-sandbox.flexe.com/doc/public

已知问题和限制

此连接器专为 Dynamics 365 Intelligent Order Management 的 Flexe 提供程序集成而开发。 对 Dynamics 365 智能订单管理之外的用例的支持将受到限制。

正在创建连接

连接器支持以下身份验证类型:

默认 用于创建连接的参数。 所有区域 不可共享

违约

适用:所有区域

用于创建连接的参数。

这是不可共享的连接。 如果 Power App 与另一个用户共享,系统会提示其他用户显式创建新连接。

名称 类型 说明 必需
API 密钥 securestring 此 API 的 API 密钥 真 实

限制

名称 调用 续订期
每个连接的 API 调用数 100 60 秒

操作

从 Flexe 请求 SKU 的清单计数

从 Flexe 按 SKU 请求清单计数。

创建出站订单行

创建出站订单行。

创建单个订单

创建单个订单。

创建订单附件

创建订单附件。

创建零售履行订单

创建零售履行订单。

取消出站订单行

取消出站订单行。

将文件写入指定密钥

将文件写入指定键。

按其 ID 检索出站顺序

按其 ID 检索出站订单。

按订单 ID 和行 ID 检索出站订单行

按订单 ID 和行 ID 检索出站订单行。

更新现有的零售履行订单

更新现有的零售履行订单。

更新订单

更新订单。

检索出站订单

检索出站订单。

检索出站订单的分配错误

检索出站订单的分配错误。

检索出站订单行

检索出站订单行。

检索出站订单行的分配错误

检索出站订单行的分配错误。

检索出站顺序的行

检索出站订单的行。

获取包含非托盘化产品的入站发货

获取包含非托盘化产品的入站发货。

通知仓库包含非托盘化产品的入站货物

通知仓库包含非托盘化产品的入站货物。

从 Flexe 请求 SKU 的清单计数

从 Flexe 按 SKU 请求清单计数。

参数

名称 密钥 必需 类型 说明
预留 ID
reservation_id string

筛选分配给预留的特定仓库中的可用库存。

客户端请求 ID
client_request_id string

一个密钥,该密钥将发回响应对象中的客户端,以便客户端可用于标识发起调用。

继续标记
continuation_token string

获取下一页的数据。 页面大小为 3000 个 SKU。 上一响应中提供了值。

使用过
ever_in_use string

布尔值,其中 true 获取存储的所有库存,而 false 则获取当前存储的所有库存。 默认值为 true。

使用自
in_use_since string

可选字符串,ISO8601日期。 例如,“2019-09-01”。 如果已填充,则仅返回已在此日期或之后使用的清单。 除非还设置了“ever_in_use”,否则无效。 默认值为 nil。

项 ID
item_ids[] string

筛选具有特定 ID 的项目的详细信息。 如果填充,将忽略ever_in_use和 SKU 筛选器选项。

Skus
skus[] string

筛选具有特定 SKU 的项目的详细信息。 如果填充,将忽略ever_in_use筛选器选项。

创建出站订单行

创建出站订单行。

参数

名称 密钥 必需 类型 说明
订单 ID
orderId True string

用于创建出站订单行的订单 ID。

返回

名称 路径 类型 说明
数量
quantity integer
计量单位
unitOfMeasure string
externalId
externalId string
sku
sku string
关键值
labels.key string
id
id string
订单编号
orderId string
createdAt
createdAt string
updatedAt
updatedAt string
cancelledAt
cancelledAt string
completelyShippedAt
completelyShippedAt string
percentAllocated
percentAllocated integer
percentShipped
percentShipped integer
hasErrors
hasErrors boolean
shipmentIds
shipmentIds array of string

shipmentIds

allocatedQuantity
allocatedQuantity integer
shippedQuantity
shippedQuantity integer

创建单个订单

创建单个订单。

返回

名称 路径 类型 说明
id
id string
createdAt
createdAt string
updatedAt
updatedAt string
状态
state string
hasErrors
hasErrors boolean
externalId
externalId string
关键值
labels.key string
预订编号
reservationId string
名字
recipient.name string
电话
recipient.phone string
电子邮件
recipient.email string
line1
recipient.address.line1 string
line2
recipient.address.line2 string
line3
recipient.address.line3 string
city
recipient.address.city string
区域
recipient.address.region string
邮政编码
recipient.address.postcode string
国家
recipient.address.country string
instructions
shipping.instructions string
serviceType
shipping.serviceType string
carrierBillingAccountId
shipping.carrierBillingAccountId string
signatureConfirmation
shipping.signatureConfirmation string
labelReference1
shipping.labelReference1 string
labelReference2
shipping.labelReference2 string

创建订单附件

创建订单附件。

参数

名称 密钥 必需 类型 说明
订单 ID
orderId True string

要为其创建附件的顺序的 ID。

返回

名称 路径 类型 说明
externalUrl
externalUrl string
订单编号
orderId string
documentType
documentType string
displayName
displayName string
cancelledAt
cancelledAt string
externalId
externalId string
fileKey
fileKey string
类型
type string
关键值
labels.key string
barcodeText
barcodeText string
createdAt
createdAt string
id
id string
fileGroup
fileGroup string
trackingNumber
trackingNumber string

创建零售履行订单

创建零售履行订单。

参数

名称 密钥 必需 类型 说明
id
id True string
类型
type True string
customerUUID
customerUUID True string
value
value True string
value
value True string
sku
sku True string
value
value string
addressLine1
addressLine1 True string
国家
country True string
地区
locality True string
名字
name True string
邮政编码
postcode True string
区域
region True string
地址行 2
addressLine2 string
addressLine3
addressLine3 string
电话
phone string
电子邮件
email string
end
end True string
启动
start True string
shipment类型
shipmentType string
类型
type True string
shipmentMethod
shipmentMethod string
purchaseOrder
purchaseOrder string
routeBy
routeBy string
instructions
instructions string
运营商
carrier string
carrierServiceType
carrierServiceType string
carrierBillingAccountId
carrierBillingAccountId string
数字
number string
value
value string
value
value string
类型
type string
routingDetailsId
routingDetailsId string
destinationType
destinationType string
destinationRetailer
destinationRetailer string
correlationId
correlationId True string

取消出站订单行

取消出站订单行。

参数

名称 密钥 必需 类型 说明
订单 ID
orderId True string

用于取消出站订单行的订单 ID。

行 ID
lineId True string

用于取消出站订单行的行 ID。

返回

名称 路径 类型 说明
数量
quantity integer
计量单位
unitOfMeasure string
externalId
externalId string
sku
sku string
关键值
labels.key string
id
id string
订单编号
orderId string
createdAt
createdAt string
updatedAt
updatedAt string
cancelledAt
cancelledAt string
completelyShippedAt
completelyShippedAt string
percentAllocated
percentAllocated integer
percentShipped
percentShipped integer
hasErrors
hasErrors boolean
shipmentIds
shipmentIds array of string

shipmentIds

allocatedQuantity
allocatedQuantity integer
shippedQuantity
shippedQuantity integer

将文件写入指定密钥

将文件写入指定键。

参数

名称 密钥 必需 类型 说明
密钥
key True string

用于标识文件并防止重复项的唯一键。

名称
name string

文件的名称。 该名称不必是唯一的,可用于跟踪文件名。

正文
body True binary

返回

名称 路径 类型 说明
createdAt
createdAt string
deletedAt
deletedAt string
大小
size integer
名字
name string
内容类型
contentType string
关键值
key string
关键值
labels.key string
updatedAt
updatedAt string

按其 ID 检索出站顺序

按其 ID 检索出站订单。

参数

名称 密钥 必需 类型 说明
订单 ID
orderId True string

用于检索出站订单的订单 ID。

返回

名称 路径 类型 说明
property1
labels.property1 string
property2
labels.property2 string
externalId
externalId string
预订编号
reservationId string
国家
recipient.address.country string
city
recipient.address.city string
邮政编码
recipient.address.postcode string
line3
recipient.address.line3 string
区域
recipient.address.region string
line2
recipient.address.line2 string
line1
recipient.address.line1 string
电话
recipient.phone string
名字
recipient.name string
电子邮件
recipient.email string
serviceType
shipping.serviceType string
instructions
shipping.instructions string
labelReference1
shipping.labelReference1 string
labelReference2
shipping.labelReference2 string
carrierBillingAccountId
shipping.carrierBillingAccountId string
signatureConfirmation
shipping.signatureConfirmation string
id
id string
createdAt
createdAt string
updatedAt
updatedAt string
状态
state string
hasErrors
hasErrors boolean
shipmentIds
shipmentIds array of string

shipmentIds

按订单 ID 和行 ID 检索出站订单行

按订单 ID 和行 ID 检索出站订单行。

参数

名称 密钥 必需 类型 说明
订单 ID
orderId True string

用于检索出站订单行的订单 ID。

行 ID
lineId True string

用于检索出站订单行的行 ID。

返回

名称 路径 类型 说明
数量
quantity integer
计量单位
unitOfMeasure string
externalId
externalId string
sku
sku string
关键值
labels.key string
id
id string
订单编号
orderId string
createdAt
createdAt string
updatedAt
updatedAt string
cancelledAt
cancelledAt string
completelyShippedAt
completelyShippedAt string
percentAllocated
percentAllocated integer
percentShipped
percentShipped integer
hasErrors
hasErrors boolean
shipmentIds
shipmentIds array of string

shipmentIds

allocatedQuantity
allocatedQuantity integer
shippedQuantity
shippedQuantity integer

更新现有的零售履行订单

更新现有的零售履行订单。

参数

名称 密钥 必需 类型 说明
发货 ID
shipmentId True string

用于检索零售履行订单的发货 ID。

状态
state string
scac
scac string
bolNumber
bolNumber string
元数据
meta string

更新订单

更新订单。

参数

名称 密钥 必需 类型 说明
订单 ID
orderId True string

用于更新订单的订单 ID。

labels
labels string
city
city True string
国家
country True string
line1
line1 True string
邮政编码
postcode True string
区域
region True string
line2
line2 string
line3
line3 string
名字
name True string
电话
phone string
电子邮件
email string
instructions
instructions string
serviceType
serviceType string
carrierBillingAccountId
carrierBillingAccountId string
signatureConfirmation
signatureConfirmation string
labelReference1
labelReference1 string
labelReference2
labelReference2 string
预订编号
reservationId string

返回

名称 路径 类型 说明
property1
labels.property1 string
property2
labels.property2 string
externalId
externalId string
预订编号
reservationId string
国家
recipient.address.country string
city
recipient.address.city string
邮政编码
recipient.address.postcode string
line3
recipient.address.line3 string
区域
recipient.address.region string
line2
recipient.address.line2 string
line1
recipient.address.line1 string
电话
recipient.phone string
名字
recipient.name string
电子邮件
recipient.email string
serviceType
shipping.serviceType string
instructions
shipping.instructions string
labelReference1
shipping.labelReference1 string
labelReference2
shipping.labelReference2 string
carrierBillingAccountId
shipping.carrierBillingAccountId string
signatureConfirmation
shipping.signatureConfirmation string
id
id string
createdAt
createdAt string
updatedAt
updatedAt string
状态
state string
hasErrors
hasErrors boolean
shipmentIds
shipmentIds array of string

shipmentIds

检索出站订单

检索出站订单。

参数

名称 密钥 必需 类型 说明
继续标记
continuationToken True string

用于检索下一页出站订单的延续标记。

ID
ids True string

用于检索出站订单的 ID。

外部 ID
externalIds True string

用于检索出站订单的外部 ID。

页面大小
pageSize True string

用于检索出站订单的页面大小。

创建自
createdAtFrom True string

从中检索出站订单时创建的。

创建时间到
createdAtTo True string

创建时用于检索出站订单。

标签
labels True string

用于检索出站订单的标签。

有错误
hasErrors True string

存在用于检索出站订单的错误。

state True string

用于检索出站订单的状态。

返回

名称 路径 类型 说明
total integer
continuationToken
continuationToken string
outboundOrders
outboundOrders array of object

outboundOrders

id
outboundOrders.id string
createdAt
outboundOrders.createdAt string
updatedAt
outboundOrders.updatedAt string
状态
outboundOrders.state string
hasErrors
outboundOrders.hasErrors boolean
externalId
outboundOrders.externalId string
关键值
outboundOrders.labels.key string
预订编号
outboundOrders.reservationId string
名字
outboundOrders.recipient.name string
电话
outboundOrders.recipient.phone string
电子邮件
outboundOrders.recipient.email string
line1
outboundOrders.recipient.address.line1 string
line2
outboundOrders.recipient.address.line2 string
line3
outboundOrders.recipient.address.line3 string
city
outboundOrders.recipient.address.city string
区域
outboundOrders.recipient.address.region string
邮政编码
outboundOrders.recipient.address.postcode string
国家
outboundOrders.recipient.address.country string
instructions
outboundOrders.shipping.instructions string
serviceType
outboundOrders.shipping.serviceType string
carrierBillingAccountId
outboundOrders.shipping.carrierBillingAccountId string
signatureConfirmation
outboundOrders.shipping.signatureConfirmation string
labelReference1
outboundOrders.shipping.labelReference1 string
labelReference2
outboundOrders.shipping.labelReference2 string

检索出站订单的分配错误

检索出站订单的分配错误。

参数

名称 密钥 必需 类型 说明
页面大小
pageSize True string

用于检索出站订单错误的页大小。

继续标记
continuationToken True string

用于检索下一页出站顺序错误的延续标记。

订单 ID
orderId True string

用于检索出站订单错误的订单 ID。

返回

名称 路径 类型 说明
total integer
continuationToken
continuationToken string
allocationErrors
allocationErrors array of object

allocationErrors

orderExternalId
allocationErrors.orderExternalId string
createdAt
allocationErrors.createdAt string
代码
allocationErrors.code string
订单编号
allocationErrors.orderId string
lineExternalId
allocationErrors.lineExternalId string
details
allocationErrors.details string
orderLineId
allocationErrors.orderLineId string
关键值
allocationErrors.labels.key string

检索出站订单行

检索出站订单行。

参数

名称 密钥 必需 类型 说明
页面大小
pageSize True string

用于检索出站订单行的页面大小。

继续标记
continuationToken True string

用于检索下一页出站订单行的延续标记。

创建自
createdAtFrom True string

从中检索出站订单行时创建的。

创建时间到
createdAtTo True string

用于检索出站订单行的创建位置。

外部 ID
externalIds True string

用于检索出站订单行的外部 ID。

Skus
skus True string

用于检索出站订单行的 SKU。

标签
labels True string

用于检索出站订单行的标签。

订单 ID
orderIds True string

用于检索出站订单行的订单 ID。

行 ID
lineIds True string

用于检索出站订单行的行 ID。

有错误
hasErrors True string

存在用于检索出站订单行的错误。

返回

名称 路径 类型 说明
total integer
continuationToken
continuationToken string
线
lines array of object

线

id
lines.id string
关键值
lines.labels.key string
externalId
lines.externalId string
sku
lines.sku string
数量
lines.quantity integer
计量单位
lines.unitOfMeasure string
订单编号
lines.orderId string
createdAt
lines.createdAt string
updatedAt
lines.updatedAt string
cancelledAt
lines.cancelledAt string
completelyShippedAt
lines.completelyShippedAt string
percentAllocated
lines.percentAllocated integer
percentShipped
lines.percentShipped integer
hasErrors
lines.hasErrors boolean
shipmentIds
lines.shipmentIds array of string

shipmentIds

allocatedQuantity
lines.allocatedQuantity integer
shippedQuantity
lines.shippedQuantity integer

检索出站订单行的分配错误

检索出站订单行的分配错误。

参数

名称 密钥 必需 类型 说明
页面大小
pageSize True string

用于检索出站订单行错误的页大小。

继续标记
continuationToken True string

用于检索下一页出站订单行错误的延续标记。

订单 ID
orderId True string

用于检索出站订单行错误的订单 ID。

行 ID
lineId True string

用于检索出站订单行错误的行 ID。

返回

名称 路径 类型 说明
total integer
continuationToken
continuationToken string
allocationErrors
allocationErrors array of object

allocationErrors

orderExternalId
allocationErrors.orderExternalId string
createdAt
allocationErrors.createdAt string
代码
allocationErrors.code string
订单编号
allocationErrors.orderId string
lineExternalId
allocationErrors.lineExternalId string
details
allocationErrors.details string
orderLineId
allocationErrors.orderLineId string
关键值
allocationErrors.labels.key string

检索出站顺序的行

检索出站订单的行。

参数

名称 密钥 必需 类型 说明
页面大小
pageSize True string

用于检索出站订单行的页面大小。

继续标记
continuationToken True string

用于检索下一页出站订单行的延续标记。

创建自
createdAtFrom True string

从中检索出站订单行时创建的。

创建时间到
createdAtTo True string

用于检索出站订单行的创建位置。

外部 ID
externalIds True string

用于检索出站订单行的外部 ID。

Skus
skus True string

用于检索出站订单行的 SKU。

行 ID
lineIds True string

用于检索出站订单行的行 ID。

标签
labels True string

用于检索出站订单行的标签。

订单 ID
orderId True string

用于检索出站订单行的订单 ID。

返回

名称 路径 类型 说明
total integer
continuationToken
continuationToken string
线
lines array of object

线

id
lines.id string
关键值
lines.labels.key string
externalId
lines.externalId string
sku
lines.sku string
数量
lines.quantity integer
计量单位
lines.unitOfMeasure string
订单编号
lines.orderId string
createdAt
lines.createdAt string
updatedAt
lines.updatedAt string
cancelledAt
lines.cancelledAt string
completelyShippedAt
lines.completelyShippedAt string
percentAllocated
lines.percentAllocated integer
percentShipped
lines.percentShipped integer
hasErrors
lines.hasErrors boolean
shipmentIds
lines.shipmentIds array of string

shipmentIds

allocatedQuantity
lines.allocatedQuantity integer
shippedQuantity
lines.shippedQuantity integer

获取包含非托盘化产品的入站发货

获取包含非托盘化产品的入站发货。

参数

名称 密钥 必需 类型 说明
继续标记
continuationToken True string

当更多页面仍然可用时,用于检索下一页入站发货的延续令牌。

页面大小
pageSize True string

用于检索入站发货的页面大小。

state True string

用于检索入站发货的状态。

创建自
createdAtFrom True string

从中检索入站发货时创建的。

创建时间到
createdAtTo True string

创建时用于检索入站发货。

在发件人处更新
updatedAtFrom True string

从用于检索入站发货的更新时间。

已更新到
updatedAtTo True string

已更新为用于检索入站货物。

客户 UUID
customerUUID True string

客户 UUID 用于检索入站发货。

采购订单
purchaseOrder True string

用于检索入站发货的采购订单。

预订
reservations True string

用于检索入站发货的预留。

通知仓库包含非托盘化产品的入站货物

通知仓库包含非托盘化产品的入站货物。

参数

名称 密钥 必需 类型 说明
billOfLading
billOfLading string
amount
amount True integer
单位
unit True string
sku
sku string
expectedInboundShipmentType
expectedInboundShipmentType string
customerUUID
customerUUID True string
containerNumber
containerNumber string
amount
amount True string
单位
unit True string
purchaseOrderId
purchaseOrderId True string
dropoffDate
dropoffDate True string
containerSealNumber
containerSealNumber string
id
id True string
类型
type True string
suplierOrVendor
suplierOrVendor string
id
id string
customReference1
customReference1 string
lotCode
lotCode string
asnNumber
asnNumber string
manufactureDate
manufactureDate string
关键值
key string
countryOfOrigin
countryOfOrigin string
poNumber
poNumber string
originSite
originSite string
customReference2
customReference2 string
到期日期
expirationDate string
标签
label string
单位
unit string
数量
quantity integer
sku
sku string
correlationId
correlationId True string

触发器

侦听 Webhook

建立从 Flexe 接收事务的 Webhook。

侦听 Webhook

建立从 Flexe 接收事务的 Webhook。

参数

名称 密钥 必需 类型 说明
名字
name True string