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.
- View in the task library: tasks.mechanic.dev/demonstration-order-editing
- Task JSON, for direct import: task.json
- Preview task code: script.liquid
{
"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
shopify/orders/create
mechanic/actions/perform
Learn about event subscriptions in Mechanic
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?.)
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.
Found a bug? Got an improvement to add? Start here: ../../CONTRIBUTING.md.
Submit your task requests for consideration by the Mechanic community, and they may be chosen for development and inclusion in the task library!