Skip to content

Latest commit

 

History

History
 
 

archive-orders-when-tagged

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Archive orders when tagged

Tags: Archive, Orders, Tag

Add a tag, have the order automatically archived/closed. Simple. :)

Default options

{
  "required_tag__required": "archive-me",
  "allow_manual_unarchiving_of_orders__boolean": null
}

Learn about task options in Mechanic

Subscriptions

shopify/orders/create
shopify/orders/updated
mechanic/user/trigger

Learn about event subscriptions in Mechanic

Documentation

Add a tag, have the order automatically archived/closed. Simple. :)

This task monitors for new and updated orders, watching for the tag of your choice to be added. When the tag is found, this task will make sure the order is archived/closed.

Run this task manually to scan your older orders, archiving any that match your tag.

Enable "Allow manually unarchiving of orders" to have this task add a metafield to each order, as it archives them. The task will use this metafield as a reminder to not archive those orders in the future, regardless of what happens to them.

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!