Skip to content

Latest commit

 

History

History

auto-add-the-draft-order-id-to-an-orders-attributes

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Auto-add the draft order to a new order's attributes

Tags: Draft Orders, Order Attributes

When a new order is created from a draft order, this task will automatically add the draft order ID and/or name to the custom attributes of the new order.

Default options

{
  "order_attribute_name_for_storing_the_draft_order_id": "Draft Order ID",
  "order_attribute_name_for_storing_the_draft_order_name": "Draft Order Name"
}

Learn about task options in Mechanic

Subscriptions

shopify/orders/create

Learn about event subscriptions in Mechanic

Documentation

When a new order is created from a draft order, this task will automatically add the draft order ID and/or name to the custom attributes of the new order.

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!