Skip to content

Latest commit

 

History

History

sync-inventory-for-shared-skus

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Sync inventory for shared SKUs

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.

Default options

{
  "product_skus_to_monitor__array_required": null
}

Learn about task options in Mechanic

Subscriptions

mechanic/user/trigger
mechanic/scheduler/10min

Learn about event subscriptions in Mechanic

Documentation

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.

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!