Skip to content

Latest commit

 

History

History

automatically-cancel-high-risk-orders

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Automatically cancel high-risk orders

Tags: Cancel, Orders, Risk

This task cancels orders as soon as Shopify (or another risk-analysis app) determines it to be high risk. Optionally, this task can also auto-tag the order, email the customer, restock the inventory, and/or refund payment.

Default options

{
  "cancellation_reason_to_set": null,
  "ignore_unpaid_orders__boolean": null,
  "refund_payment_for_cancelled_orders__boolean": null,
  "restock_inventory_for_cancelled_orders__boolean": null,
  "email_customer_when_cancelling__boolean": null,
  "staff_note_for_timeline": null,
  "add_this_order_tag_when_cancelling": ""
}

Learn about task options in Mechanic

Subscriptions

shopify/orders/updated

Learn about event subscriptions in Mechanic

Documentation

This task cancels orders as soon as Shopify (or another risk-analysis app) determines it to be high risk. Optionally, this task can also auto-tag the order, email the customer, restock the inventory, and/or refund payment.

Valid cancellation reasons to set:

  • customer: The customer wanted to cancel the order.
  • declined: Payment was declined.
  • fraud: The order was fraudulent.
  • inventory: There was insufficient inventory.
  • staff: Staff made an error.
  • other: The order was canceled for an unlisted reason.

NOTE: This task will not cancel orders that have been partially or fully fulfilled

Installing this task

Find this task in the library at tasks.mechanic.dev, and use the "Try this task" button. Or, import this task's JSON export – see Importing and exporting tasks to learn how imports work.

Contributions

Found a bug? Got an improvement to add? Start here: ../../CONTRIBUTING.md.

Task requests

Submit your task requests for consideration by the Mechanic community, and they may be chosen for development and inclusion in the task library!