Shopify Tools
Shopify Cancel Order
通过 Aident Loadout 使用 Shopify Tools 的 Shopify Cancel Order。执行前查看输入、输出、设置、价格和风险。
写入操作风险等级 2/5OAuth 连接
服务提供商说明
Cancels a Shopify order and optionally restocks items and sends email notifications. Use when canceling an order that has not yet been paid or fulfilled. Orders cannot be cancelled if payment status is already paid or if the order has existing fulfillments.
价格与限制
- 价格
- 免费操作
- 统一支付
- 暂不支持
输入
- Whether to send a cancellation email notification to the customer.emailboolean
- The refund amount when canceling the order. Required for multi-currency orders along with currency.amountstring
- The reason for canceling the order. Common values include 'customer', 'fraud', 'inventory', 'declined', 'other'.reasonstring
- An object containing detailed refund information. Should be generated using the Refund API's 'calculate' endpoint, specifying each line item with line_item_id, quantity, and restock_type.refundobject
- Whether to restock the items from the canceled order back into inventory. Note: This parameter is deprecated but still functional.restockboolean
- The currency code for the refund amount (e.g., 'USD', 'CAD'). Required when amount is specified in multi-currency scenarios.currencystring
- The unique identifier of the order to cancel. Must use the order's API id, not order_number.order_idstring必填
可观察输出
- Data from the action executiondata必填
- Error if any occurred during the execution of the actionerrorstring
- Whether or not the action execution was successful or notsuccessfulboolean必填
使用此操作的技能
相关使用场景
尚未关联经过验证的相关使用场景。