您位於此處:
取消手推車非同步作業動作
在 B2B Commerce Checkout 流程中,取消目前的 Checkout,以便使用者可以返回解除鎖定的手推車。此作業會在叫用手推車變更 (例如新增至手推車) 時自動執行。
您位於此處:
在 B2B Commerce Checkout 流程中,取消目前的 Checkout,以便使用者可以返回解除鎖定的手推車。此作業會在叫用手推車變更 (例如新增至手推車) 時自動執行。
| 提供版本:Lightning Experience |
| 檢視支援的版本。 |
在 Flow Builder 中,將「動作」元素新增至您的流程。選取「B2B Commerce」種類,然後搜尋「計算手推車非同步作業」。若要從 API 存取此動作,請使用名稱 cancelCartAsyncOperation。
設定輸入值:
使用流程前期中的值設定輸入。
| 輸入參數 | 描述 |
|---|---|
| cartId | 轉換為結帳的手推車識別碼。 |
錯誤條件:
| 錯誤條件 | 描述 |
|---|---|
| 取消已結束的手推車 | 手推車一旦結束後便無法取消。 錯誤碼:INVALID_OPERATION HTTP 狀態碼:403 |
使用狀況:
若要使用「B2B Commerce 取消手推車非同步作業」,則適用下列需求。
Closed。「取消手推車非同步作業」執行時,會發生以下 API 互動。

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.