Why inventory sync matters
Shopify Functions—the technology that powers checkout customization—cannot access your store’s inventory data directly. Charlie bridges this gap by:- Listening to inventory changes across all your locations
- Syncing quantities to metafields that Functions can read
- Calculating sellable inventory (available minus safety stock)
What it enables
Inventory constraints
Block locations from fulfilling when stock is low or unavailable
Inventory routing
Prioritize locations with higher stock levels
Sellable inventory
Calculate available-to-sell quantities using safety stock reserves
Capacity tracking
Monitor daily order capacity per location
Sellable inventory
Charlie calculates sellable inventory for each product-location combination:Sellable inventory = Available inventory − Safety stock
- Available inventory: 50 units
- Safety stock: 10 units
- Sellable inventory: 40 units
Configure safety reserves
While inventory sync runs automatically, you can configure safety stock levels to control how much inventory to hold back from selling.Safety Stock
Set up inventory reserves to protect against stockouts