Tags: Inventory, SKU, Sync
This task monitors all variants having a SKU that you configure, and ensures that changes to the available inventory quantity are reflected across all variants sharing that SKU.
- View in the task library: tasks.mechanic.dev/sync-inventory-for-shared-skus
- Task JSON, for direct import: task.json
- Preview task code: script.liquid
{
"product_skus_to_monitor__array_required": null
}
Learn about task options in Mechanic
mechanic/user/trigger
mechanic/scheduler/10min
Learn about event subscriptions in Mechanic
This task monitors all variants having a SKU that you configure, and ensures that changes to the available inventory quantity are reflected across all variants sharing that SKU.
First, manually set all available inventory quantities to be equal for each of the SKUs you'd like to monitor. Then manually run this task which will then take a snapshot of the current available inventory quantity for your SKUs. When the task automatically runs, every 10 minutes, it will check for changes to inventory, and ensure that the cumulative change for a SKU is reflected across all product variants sharing that SKU.
Note: This task only considers a store's default location when managing inventory.
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!