Skip to content

Latest commit

 

History

History
 
 

auto-cancel-orders-with-too-many-of-a-certain-sku

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Auto-cancel orders with too many of a certain SKU

Tags: Cancel, Orders, SKU

Useful for enforcing order limits on the backend, use this task to ensure that orders with too many of certain products will be automatically cancelled.

Default options

{
  "skus_to_watch_for__required_array": null,
  "quantity_threshold_for_cancellation__number_required": null,
  "send_cancellation_email_to_customer__boolean": false,
  "attempt_to_refund_or_void_payment_in_full__boolean": false,
  "reason_for_cancellation__required": "other"
}

Learn about task options in Mechanic

Subscriptions

shopify/orders/create

Learn about event subscriptions in Mechanic

Documentation

Useful for enforcing order limits on the backend, use this task to ensure that orders with too many of certain products will be automatically cancelled.

Configure the product SKUs to monitor on the left and the quantities that will trigger a cancellation on the right. Optionally, choose whether to email the customer, refund the payment, or restock the inventory upon cancellation. The configured cancellation reason must be one of - 'customer', 'declined', 'fraud', 'inventory', 'other', or 'staff'.

Notes:

  • SKUs are case-sensitive!
  • Any refunds generated by this task will be for the maximum amount, for the order being cancelled.

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!