Skip to content

Latest commit

 

History

History
 
 

demonstration-order-editing

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Demonstration: Order editing

Tags: Demonstration, Order Editing, Orders

This task demonstrates Shopify's ability to edit orders through the admin API. It's intended to be a starting place for developing more specific functionality. Out of the box, this task automatically adds a product to orders that (optionally) meet an order minimum.

Default options

{
  "minimum_order_total__number": null,
  "variant_id_to_add__number_required": null,
  "quantity_to_add__number_required": null,
  "notify_customer__boolean": null,
  "staff_note__required": null
}

Learn about task options in Mechanic

Subscriptions

shopify/orders/create
mechanic/actions/perform

Learn about event subscriptions in Mechanic

Documentation

This task demonstrates Shopify's ability to edit orders through the admin API. It's intended to be a starting place for developing more specific functionality. Out of the box, this task automatically adds a product to orders that (optionally) meet an order minimum.

Configure this task using a variant ID. (To learn how to find this, see How do I find an ID for a product, collection, order, or something else?.)

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!