Skip to content

Latest commit

 

History

History

cancel-fulfillments-when-an-order-is-fully-refunded

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Cancel fulfillments when an order is fully refunded

Tags: Cancel, Fulfillment, Orders, Refunds

This task monitors for new refunds. When a new refund changes an order's status to fully refunded, this task will cancel all fulfillments for that order. This task supports running manually, to cancel all fulfillments for refunded orders, across your store's order history.

Default options

{
  "cancel_pending_fulfillments__boolean": true,
  "cancel_open_fulfillments__boolean": false,
  "cancel_successful_fulfillments__boolean": false
}

Learn about task options in Mechanic

Subscriptions

mechanic/user/trigger
shopify/refunds/create

Learn about event subscriptions in Mechanic

Documentation

This task monitors for new refunds. When a new refund changes an order's status to fully refunded, this task will cancel all fulfillments for that order. This task supports running manually, to cancel all fulfillments for refunded orders, across your store's order history.

Run this task manually to cancel fulfillments for refunded orders, across your store's order history. (To process orders older than 60 days, enable "read all orders".)

This task will also monitor for new refunds. When a new refund changes an order's status to fully refunded, this task will cancel all fulfillments for that order.

Configure this task to choose which fulfillment statuses Mechanic will look for.

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!