Tags: Demonstration, Fulfillment, Location, SKU
This task demonstrates how to move line items from their assigned fulfillment location to another. Configure it with the SKUs that should be moved and the name of location they should be moved to. Then, when new orders are created, if any of the configured SKUs appear on a line item that is assigned to any other location besides the configured one, the task will move it.
- View in the task library: tasks.mechanic.dev/demonstration-fulfillment-order-move
- Task JSON, for direct import: task.json
- Preview task code: script.liquid
{
"move_to_location_name__required": null,
"skus_to_move__array_required": null
}
Learn about task options in Mechanic
shopify/orders/create
mechanic/user/order
Learn about event subscriptions in Mechanic
This task demonstrates how to move line items from their assigned fulfillment location to another. Configure it with the SKUs that should be moved and the name of location they should be moved to. Then, when new orders are created, if any of the configured SKUs appear on a line item that is assigned to any other location besides the configured one, the task will move it.
Note: This task does not check inventory at the confiugred location before making a move, instead only verifying that the SKU is stocked there.
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!