立即开始
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.

价格与限制

价格
免费操作
统一支付
暂不支持

输入

  • emailboolean
    Whether to send a cancellation email notification to the customer.
  • amountstring
    The refund amount when canceling the order. Required for multi-currency orders along with currency.
  • reasonstring
    The reason for canceling the order. Common values include 'customer', 'fraud', 'inventory', 'declined', 'other'.
  • refundobject
    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.
  • restockboolean
    Whether to restock the items from the canceled order back into inventory. Note: This parameter is deprecated but still functional.
  • currencystring
    The currency code for the refund amount (e.g., 'USD', 'CAD'). Required when amount is specified in multi-currency scenarios.
  • order_idstring
    必填
    The unique identifier of the order to cancel. Must use the order's API id, not order_number.

可观察输出

  • data
    必填
    Data from the action execution
  • errorstring
    Error if any occurred during the execution of the action
  • successfulboolean
    必填
    Whether or not the action execution was successful or not

使用此操作的技能

相关使用场景

尚未关联经过验证的相关使用场景。

官方来源

服务提供商来源