Skip to content

Latest commit

 

History

History
 
 

keep-variant-inventory-in-sync-across-locations

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Keep variant inventory in sync across locations

Tags: Inventory, Location, Sync, Variants

When an inventory level is updated, this task will adjust the "available" inventory for all other locations of the same variant to be the same quantity. Optionally, configure this task to filter for specific product types. Leaving this option blank means the task will monitor and update inventory for all products in the shop.

Default options

{
  "filter_by_these_product_types__array": null
}

Learn about task options in Mechanic

Subscriptions

shopify/inventory_levels/update

Learn about event subscriptions in Mechanic

Documentation

When an inventory level is updated, this task will adjust the "available" inventory for all other locations of the same variant to be the same quantity. Optionally, configure this task to filter for specific product types. Leaving this option blank means the task will monitor and update inventory for all products in the shop.

CAUTION: This task might not make accurate adjustments in certain high-volume scenarios. For example, an inventory import that sets mismatched inventory levels for a variant monitored by this task will cause a cascading effect of reapplying the deltas between each incorrect inventory level.

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!