Commencer maintenant
Shopify Tools

Shopify Cancel Order

Utilisez Shopify Cancel Order avec Shopify Tools via Aident Loadout. Vérifiez les entrées, sorties, la configuration, le tarif et le risque avant exécution.

Action d'écritureNiveau de risque 2 sur 5Connexion OAuth

Description du fournisseur

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.

Tarifs et limites

Tarif
Action gratuite
Paiement unifié
Non pris en charge actuellement

Entrées

  • 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
    Obligatoire
    The unique identifier of the order to cancel. Must use the order's API id, not order_number.

Sortie observable

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

Skills qui utilisent cette Action

Cas d’usage associés

Aucun cas d’usage associé et vérifié pour le moment.

Source officielle

Source du fournisseur