共用方式為


Flexe(預覽)

Flexe 是一個充滿活力且彈性的倉儲與履約網絡,滿足需求需求。 連接 Flexe 以取得及更新履約相關資訊。

此連接器適用於以下產品和區域:

Service Class Regions
邏輯應用程式 標準 所有 Logic Apps 區域, 但下列區域除外:
     - Azure Government 區域
     - Azure中國地區
     - 美國國防部 (DoD)
連絡人​​
名稱 Microsoft動力學
URL https://dynamics.microsoft.com/en-us/support/
Email iomdri@microsoft.com
連接器中繼資料
Publisher Microsoft
網站 https://www.flexe.com/
隱私策略 https://www.flexe.com/privacy-policy
類別 Productivity

此連接器專為 Dynamics 365 智慧訂單管理的 Flexe 供應商整合而開發。

先決條件

需要 Flexe 開發者帳號。 如果你沒有,也可以在 https://developer-sandbox.flexe.com. 注意:建議使用此連接器來設定 Dynamics 365 智慧訂單管理 Flexe 供應商。

如何取得認證

Flexe 需要 API 憑證來進行認證。 你可以產生一個令牌 https://developer-sandbox.flexe.com/tokens ,並用它來設定連接器。

開始使用連接器

用 API 金鑰設定連線。 想了解更多關於 Flexe API 的資訊,請閱讀公開文件: https://developer-sandbox.flexe.com/doc/public

已知問題與限制

此連接器專為 Dynamics 365 智慧訂單管理的 Flexe 供應商整合而開發。 對 Dynamics 365 Intelligent Order Management 以外的使用案例的支援將受到限制。

正在建立連線

連接器支援下列驗證類型:

預設值 建立連線的參數。 所有地區 不可共享

預設

適用:所有地區

建立連線的參數。

這不是可共用的連線。 如果 Power App 與其他使用者共用,系統會明確提示其他使用者建立新連線。

名稱 類型 說明 Required
API 金鑰 安全字串 此 API 的 API 金鑰

節流限制

名稱 呼叫 續約期間
每個連線的 API 呼叫 100 60 秒

動作

以 ID 檢索出站訂單

透過 Id 擷取一個外出訂單。

依訂單 ID 與行 ID 檢索出站訂單行

依訂單 ID 和行 ID 檢索出站訂單行。

出站訂單的取回線

取回出站訂單的行。

創造單一秩序

創造單一秩序。

取回出站訂單

取回外撥訂單。

取消外撥訂單線

取消一條外撥訂單線。

向 Flexe 申請按 SKU 進行庫存盤點

向Flexe申請按SKU計數庫存。

寫入指定鍵的檔案

寫入指定的鍵。

建立出站訂單線

建立一條出站訂單線。

建立訂單附件

建立一個訂單附件。

建立零售履行訂單

建立零售履行訂單。

收到包含非棧板化產品的入貨

接收包含非棧板化產品的入貨貨物。

更新現有零售履約訂單

更新現有的零售履約訂單。

更新訂單

更新訂單。

檢索出廠訂單線的分配錯誤

檢索出站訂單線的分配錯誤。

檢索出站訂單的分配錯誤

檢索出站訂單的分配錯誤。

檢索出站訂單線

檢索出站訂單行。

通知倉庫有未托盤化產品的入貨

通知倉庫有未托盤化產品的入貨。

以 ID 檢索出站訂單

透過 Id 擷取一個外出訂單。

參數

名稱 機碼 必要 類型 Description
訂單識別碼
orderId True string

Id 用來取回出站訂單的訂單。

傳回

名稱 路徑 類型 Description
屬性1
labels.property1 string
屬性2
labels.property2 string
externalId(外部識別碼)
externalId string
預訂編號
reservationId string
country
recipient.address.country string
城市
recipient.address.city string
郵遞區號
recipient.address.postcode string
行3
recipient.address.line3 string
區域
recipient.address.region string
line2
recipient.address.line2 string
line1
recipient.address.line1 string
phone
recipient.phone string
名字
recipient.name string
電子郵件
recipient.email string
服務類型
shipping.serviceType string
instructions
shipping.instructions string
標籤參考1
shipping.labelReference1 string
labelReference2
shipping.labelReference2 string
carrierBillingAccountID
shipping.carrierBillingAccountId string
簽名確認
shipping.signatureConfirmation string
id
id string
創建於
createdAt string
updatedAt
updatedAt string
狀態
state string
有錯誤
hasErrors boolean
shipmentIDs
shipmentIds array of string

shipmentIDs

依訂單 ID 與行 ID 檢索出站訂單行

依訂單 ID 和行 ID 檢索出站訂單行。

參數

名稱 機碼 必要 類型 Description
訂單識別碼
orderId True string

Id 用來檢索出站訂單的訂單行。

線路識別碼
lineId True string

Id 用來取得出貨訂單的那條線。

傳回

名稱 路徑 類型 Description
數量
quantity integer
度量單位
unitOfMeasure string
externalId(外部識別碼)
externalId string
sku
sku string
Key
labels.key string
id
id string
訂單編號
orderId string
創建於
createdAt string
updatedAt
updatedAt string
取消了
cancelledAt string
完全已寄貨
completelyShippedAt string
百分比分配
percentAllocated integer
出貨百分比
percentShipped integer
有錯誤
hasErrors boolean
shipmentIDs
shipmentIds array of string

shipmentIDs

分配數量
allocatedQuantity integer
出貨數量
shippedQuantity integer

出站訂單的取回線

取回出站訂單的行。

參數

名稱 機碼 必要 類型 Description
頁面大小
pageSize True string

用於檢索出站訂單行的頁面大小。

延續權杖
continuationToken True string

繼續權杖用於檢索下一頁的外出訂單行。

建立於
createdAtFrom True string

從 創建的 at 用來取得出廠訂單行。

建立時間 至
createdAtTo True string

創建 at 以取得出站訂單行。

外部 ID
externalIds True string

外部 ID 用於擷取出廠訂單行。

Skus
skus True string

SKU 過去用來檢索出站訂單行。

線路識別碼
lineIds True string

ID 用來檢索出站訂單線的行。

標籤
labels True string

用來檢索出站訂單行的標籤。

訂單識別碼
orderId True string

Id 用來檢索出站訂單行的訂單。

傳回

名稱 路徑 類型 Description
總計
total integer
continuationToken
continuationToken string
lines array of object

id
lines.id string
Key
lines.labels.key string
externalId(外部識別碼)
lines.externalId string
sku
lines.sku string
數量
lines.quantity integer
度量單位
lines.unitOfMeasure string
訂單編號
lines.orderId string
創建於
lines.createdAt string
updatedAt
lines.updatedAt string
取消了
lines.cancelledAt string
完全已寄貨
lines.completelyShippedAt string
百分比分配
lines.percentAllocated integer
出貨百分比
lines.percentShipped integer
有錯誤
lines.hasErrors boolean
shipmentIDs
lines.shipmentIds array of string

shipmentIDs

分配數量
lines.allocatedQuantity integer
出貨數量
lines.shippedQuantity integer

創造單一秩序

創造單一秩序。

傳回

名稱 路徑 類型 Description
id
id string
創建於
createdAt string
updatedAt
updatedAt string
狀態
state string
有錯誤
hasErrors boolean
externalId(外部識別碼)
externalId string
Key
labels.key string
預訂編號
reservationId string
名字
recipient.name string
phone
recipient.phone string
電子郵件
recipient.email string
line1
recipient.address.line1 string
line2
recipient.address.line2 string
行3
recipient.address.line3 string
城市
recipient.address.city string
區域
recipient.address.region string
郵遞區號
recipient.address.postcode string
country
recipient.address.country string
instructions
shipping.instructions string
服務類型
shipping.serviceType string
carrierBillingAccountID
shipping.carrierBillingAccountId string
簽名確認
shipping.signatureConfirmation string
標籤參考1
shipping.labelReference1 string
labelReference2
shipping.labelReference2 string

取回出站訂單

取回外撥訂單。

參數

名稱 機碼 必要 類型 Description
延續權杖
continuationToken True string

用於取得下一頁外撥訂單的續通標記。

識別碼
ids True string

這些 ID 用來取回出站訂單。

外部 ID
externalIds True string

外部 ID 用於取回出站訂單。

頁面大小
pageSize True string

用於取回出站訂單的頁面大小。

建立於
createdAtFrom True string

從 Created at 被用來取得出站訂單。

建立時間 至
createdAtTo True string

這些被創建的 at 用來取回出站訂單。

標籤
labels True string

標籤用來檢索出站訂單。

有錯誤
hasErrors True string

有錯誤用於取回出站訂單。

State
state True string

該州過去用來取回出站訂單。

傳回

名稱 路徑 類型 Description
總計
total integer
continuationToken
continuationToken string
出境訂單
outboundOrders array of object

出境訂單

id
outboundOrders.id string
創建於
outboundOrders.createdAt string
updatedAt
outboundOrders.updatedAt string
狀態
outboundOrders.state string
有錯誤
outboundOrders.hasErrors boolean
externalId(外部識別碼)
outboundOrders.externalId string
Key
outboundOrders.labels.key string
預訂編號
outboundOrders.reservationId string
名字
outboundOrders.recipient.name string
phone
outboundOrders.recipient.phone string
電子郵件
outboundOrders.recipient.email string
line1
outboundOrders.recipient.address.line1 string
line2
outboundOrders.recipient.address.line2 string
行3
outboundOrders.recipient.address.line3 string
城市
outboundOrders.recipient.address.city string
區域
outboundOrders.recipient.address.region string
郵遞區號
outboundOrders.recipient.address.postcode string
country
outboundOrders.recipient.address.country string
instructions
outboundOrders.shipping.instructions string
服務類型
outboundOrders.shipping.serviceType string
carrierBillingAccountID
outboundOrders.shipping.carrierBillingAccountId string
簽名確認
outboundOrders.shipping.signatureConfirmation string
標籤參考1
outboundOrders.shipping.labelReference1 string
labelReference2
outboundOrders.shipping.labelReference2 string

取消外撥訂單線

取消一條外撥訂單線。

參數

名稱 機碼 必要 類型 Description
訂單識別碼
orderId True string

訂單 ID 用來取消外接訂單的訂單。

線路識別碼
lineId True string

Id 用來取消外撥訂單的那條線。

傳回

名稱 路徑 類型 Description
數量
quantity integer
度量單位
unitOfMeasure string
externalId(外部識別碼)
externalId string
sku
sku string
Key
labels.key string
id
id string
訂單編號
orderId string
創建於
createdAt string
updatedAt
updatedAt string
取消了
cancelledAt string
完全已寄貨
completelyShippedAt string
百分比分配
percentAllocated integer
出貨百分比
percentShipped integer
有錯誤
hasErrors boolean
shipmentIDs
shipmentIds array of string

shipmentIDs

分配數量
allocatedQuantity integer
出貨數量
shippedQuantity integer

向 Flexe 申請按 SKU 進行庫存盤點

向Flexe申請按SKU計數庫存。

參數

名稱 機碼 必要 類型 Description
保留識別碼
reservation_id string

篩選指定倉庫的庫存。

客戶端請求識別碼
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」,否則不適用。 預設為零。

項目 ID
item_ids[] string

在具有特定 ID 的項目細節上進行篩選。 若已填入,ever_in_use 和 SKUS 篩選選項將被忽略。

Skus
skus[] string

篩選特定 SKU 的物品細節。 如果有填入,ever_in_use篩選選項將被忽略。

寫入指定鍵的檔案

寫入指定的鍵。

參數

名稱 機碼 必要 類型 Description
鑰匙
key True string

一鍵唯一金鑰用於識別檔案並防止重複。

名稱
name string

檔案的檔名。 名稱不必是唯一的,且可用來追蹤檔案名稱。

body
body True binary

傳回

名稱 路徑 類型 Description
創建於
createdAt string
deletedAt
deletedAt string
尺寸
size integer
名字
name string
內容類型
contentType string
Key
key string
Key
labels.key string
updatedAt
updatedAt string

建立出站訂單線

建立一條出站訂單線。

參數

名稱 機碼 必要 類型 Description
訂單識別碼
orderId True string

用來建立出站訂單行的訂單 ID 。

傳回

名稱 路徑 類型 Description
數量
quantity integer
度量單位
unitOfMeasure string
externalId(外部識別碼)
externalId string
sku
sku string
Key
labels.key string
id
id string
訂單編號
orderId string
創建於
createdAt string
updatedAt
updatedAt string
取消了
cancelledAt string
完全已寄貨
completelyShippedAt string
百分比分配
percentAllocated integer
出貨百分比
percentShipped integer
有錯誤
hasErrors boolean
shipmentIDs
shipmentIds array of string

shipmentIDs

分配數量
allocatedQuantity integer
出貨數量
shippedQuantity integer

建立訂單附件

建立一個訂單附件。

參數

名稱 機碼 必要 類型 Description
訂單識別碼
orderId True string

附件所建立的順序 ID。

傳回

名稱 路徑 類型 Description
外部網址
externalUrl string
訂單編號
orderId string
文件類型
documentType string
顯示名稱
displayName string
取消了
cancelledAt string
externalId(外部識別碼)
externalId string
檔案鍵
fileKey string
型別
type string
Key
labels.key string
條碼文字
barcodeText string
創建於
createdAt string
id
id string
fileGroup
fileGroup string
trackingNumber
trackingNumber string

建立零售履行訂單

建立零售履行訂單。

參數

名稱 機碼 必要 類型 Description
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
country True string
地區
locality True string
名字
name True string
郵遞區號
postcode True string
區域
region True string
位址行 2
addressLine2 string
addressLine3
addressLine3 string
phone
phone string
電子郵件
email string
結束
end True string
開始
start True string
shipment類型
shipmentType string
型別
type True string
運送方法
shipmentMethod string
購買訂單
purchaseOrder string
路線
routeBy string
instructions
instructions string
電訊廠商
carrier string
carrierServiceType
carrierServiceType string
carrierBillingAccountID
carrierBillingAccountId string
number
number string
value
value string
value
value string
型別
type string
路由詳細資料ID
routingDetailsId string
destinationType
destinationType string
目的地零售商
destinationRetailer string
correlationId
correlationId True string

收到包含非棧板化產品的入貨

接收包含非棧板化產品的入貨貨物。

參數

名稱 機碼 必要 類型 Description
接續權杖
continuationToken True string

續頁令牌用於在仍有更多頁面可用時,取得下一頁的入站貨件。

頁面大小
pageSize True string

用於檢索入貨的頁面大小。

State
state True string

州政府過去會收回入貨貨物。

建立於
createdAtFrom True string

在 from 創建的 at 是用來取回入貨的貨物。

建立時間 至
createdAtTo True string

這些系統被創建用來取回入貨貨物。

更新於 From
updatedAtFrom True string

更新的 at from 用來取回入貨貨物。

更新時間為
updatedAtTo True string

更新後的 at to 用來取回入貨貨物。

客戶 UUID
customerUUID True string

客戶的 UUID 用來取回入貨貨物。

採購單
purchaseOrder True string

採購單用來取回入貨貨物。

Reservations
reservations True string

這些預約是用來取回入貨貨物的。

更新現有零售履約訂單

更新現有的零售履約訂單。

參數

名稱 機碼 必要 類型 Description
貨件編號
shipmentId True string

我用來取回零售履約訂單的貨件。

狀態
state string
SCAC
scac string
bolNumber
bolNumber string
中繼
meta string

更新訂單

更新訂單。

參數

名稱 機碼 必要 類型 Description
訂單識別碼
orderId True string

我用來更新訂單的順序。

labels
labels string
城市
city True string
country
country True string
line1
line1 True string
郵遞區號
postcode True string
區域
region True string
line2
line2 string
行3
line3 string
名字
name True string
phone
phone string
電子郵件
email string
instructions
instructions string
服務類型
serviceType string
carrierBillingAccountID
carrierBillingAccountId string
簽名確認
signatureConfirmation string
標籤參考1
labelReference1 string
labelReference2
labelReference2 string
預訂編號
reservationId string

傳回

名稱 路徑 類型 Description
屬性1
labels.property1 string
屬性2
labels.property2 string
externalId(外部識別碼)
externalId string
預訂編號
reservationId string
country
recipient.address.country string
城市
recipient.address.city string
郵遞區號
recipient.address.postcode string
行3
recipient.address.line3 string
區域
recipient.address.region string
line2
recipient.address.line2 string
line1
recipient.address.line1 string
phone
recipient.phone string
名字
recipient.name string
電子郵件
recipient.email string
服務類型
shipping.serviceType string
instructions
shipping.instructions string
標籤參考1
shipping.labelReference1 string
labelReference2
shipping.labelReference2 string
carrierBillingAccountID
shipping.carrierBillingAccountId string
簽名確認
shipping.signatureConfirmation string
id
id string
創建於
createdAt string
updatedAt
updatedAt string
狀態
state string
有錯誤
hasErrors boolean
shipmentIDs
shipmentIds array of string

shipmentIDs

檢索出廠訂單線的分配錯誤

檢索出站訂單線的分配錯誤。

參數

名稱 機碼 必要 類型 Description
頁面大小
pageSize True string

用於檢索出站訂單行錯誤的頁面大小。

延續權杖
continuationToken True string

用於檢索下一頁外發訂單行錯誤的續寫權杖。

訂單識別碼
orderId True string

用來檢索出站訂單行錯誤的訂單 Id 。

線路識別碼
lineId True string

用來檢索出站訂單行錯誤的線碼 Id 。

傳回

名稱 路徑 類型 Description
總計
total integer
continuationToken
continuationToken string
allocationErrors
allocationErrors array of object

allocationErrors

orderExternalId
allocationErrors.orderExternalId string
創建於
allocationErrors.createdAt string
字碼
allocationErrors.code string
訂單編號
allocationErrors.orderId string
lineExternalId(外在識別)
allocationErrors.lineExternalId string
details
allocationErrors.details string
orderLineID
allocationErrors.orderLineId string
Key
allocationErrors.labels.key string

檢索出站訂單的分配錯誤

檢索出站訂單的分配錯誤。

參數

名稱 機碼 必要 類型 Description
頁面大小
pageSize True string

用於檢索出站訂單錯誤的頁面大小。

延續權杖
continuationToken True string

用於檢索下一頁外出訂單錯誤的續通標記。

訂單識別碼
orderId True string

用來取得出站訂單錯誤的訂單 ID 所用的。

傳回

名稱 路徑 類型 Description
總計
total integer
continuationToken
continuationToken string
allocationErrors
allocationErrors array of object

allocationErrors

orderExternalId
allocationErrors.orderExternalId string
創建於
allocationErrors.createdAt string
字碼
allocationErrors.code string
訂單編號
allocationErrors.orderId string
lineExternalId(外在識別)
allocationErrors.lineExternalId string
details
allocationErrors.details string
orderLineID
allocationErrors.orderLineId string
Key
allocationErrors.labels.key string

檢索出站訂單線

檢索出站訂單行。

參數

名稱 機碼 必要 類型 Description
頁面大小
pageSize True string

用於檢索出站訂單行的頁面大小。

延續權杖
continuationToken True string

繼續權杖用於檢索下一頁的外出訂單行。

建立於
createdAtFrom True string

從 創建的 at 用來取得出廠訂單行。

建立時間 至
createdAtTo True string

創建 at 以取得出站訂單行。

外部 ID
externalIds True string

外部 ID 用於擷取出廠訂單行。

Skus
skus True string

SKU 過去用來檢索出站訂單行。

標籤
labels True string

用來檢索出站訂單行的標籤。

訂單 ID
orderIds True string

用於取得出站訂單行的命令 ID。

線路識別碼
lineIds True string

ID 用來檢索出站訂單線的行。

有錯誤
hasErrors True string

有錯誤用來檢索出站訂單線。

傳回

名稱 路徑 類型 Description
總計
total integer
continuationToken
continuationToken string
lines array of object

id
lines.id string
Key
lines.labels.key string
externalId(外部識別碼)
lines.externalId string
sku
lines.sku string
數量
lines.quantity integer
度量單位
lines.unitOfMeasure string
訂單編號
lines.orderId string
創建於
lines.createdAt string
updatedAt
lines.updatedAt string
取消了
lines.cancelledAt string
完全已寄貨
lines.completelyShippedAt string
百分比分配
lines.percentAllocated integer
出貨百分比
lines.percentShipped integer
有錯誤
lines.hasErrors boolean
shipmentIDs
lines.shipmentIds array of string

shipmentIDs

分配數量
lines.allocatedQuantity integer
出貨數量
lines.shippedQuantity integer

通知倉庫有未托盤化產品的入貨

通知倉庫有未托盤化產品的入貨。

參數

名稱 機碼 必要 類型 Description
提單
billOfLading string
amount True integer
單位
unit True string
sku
sku string
預期入貨貨物類型
expectedInboundShipmentType string
customerUUID
customerUUID True string
容器編號
containerNumber string
amount True string
單位
unit True string
購買訂購ID
purchaseOrderId True string
交接日期
dropoffDate True string
容器封條號碼
containerSealNumber string
id
id True string
型別
type True string
suplierOrVendor
suplierOrVendor string
id
id string
customReference1
customReference1 string
地段代碼
lotCode string
asn編號
asnNumber string
製造日期
manufactureDate string
Key
key string
起源國
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

建立一個 webhook,接收來自 Flexe 的交易。

聽聽 webhook

建立一個 webhook,接收來自 Flexe 的交易。

參數

名稱 機碼 必要 類型 Description
名字
name True string