Skip to content

Latest commit

 

History

History

auto-add-default-custom-attributes-to-new-orders

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Auto-add default custom attributes to new orders

Tags: Order Attributes, Orders

Shopify allows orders to have custom attributes associated with them – and these attributes can be edited from within Shopify. Use this task to configure default attributes to be added to all new orders, providing an attribute name and (optionally) a value. Feel free to leave the value blank if you know you'll want to add your own values later, within Shopify.

Default options

{
  "default_order_attributes_to_add__keyval_required": {
    "Assigned CSM": ""
  }
}

Learn about task options in Mechanic

Subscriptions

shopify/orders/create

Learn about event subscriptions in Mechanic

Documentation

Shopify allows orders to have custom attributes associated with them – and these attributes can be edited from within Shopify. Use this task to configure default attributes to be added to all new orders, providing an attribute name and (optionally) a value. Feel free to leave the value blank if you know you'll want to add your own values later, within Shopify.

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!