Skip to content

Latest commit

 

History

History

clean-up-draft-orders

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Clean up draft orders

Tags: Draft Orders, Orders

Use this task to quickly delete draft orders from your account, optionally filtering by status, or by draft order age. Useful for keeping things tidy. :)

Default options

{
  "delete_open_draft_orders__boolean": null,
  "delete_draft_orders_that_have_invoices_sent__boolean": null,
  "delete_completed_draft_orders__boolean": null,
  "minimum_draft_order_age_in_days__number": null,
  "run_daily_at_midnight__boolean": null
}

Learn about task options in Mechanic

Subscriptions

mechanic/user/trigger
{% if options.run_daily_at_midnight__boolean %}
  mechanic/scheduler/daily
{% endif %}

Learn about event subscriptions in Mechanic

Documentation

Use this task to quickly delete draft orders from your account, optionally filtering by status, or by draft order age. Useful for keeping things tidy. :)

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!