Store inventory and fulfillment
Built and evolved availability and fulfillment across product pages and the cart for a retailer with 135+ stores, adapting inventory access as shipping expanded beyond one distribution center.
- My contribution
- Inventory and fulfillment development · SDG
- Technologies
- JavaScript / Shopify Plus / GraphQL / Storefront API

Connecting store inventory to fulfillment
A customer’s selected store determines local availability and pickup options. Those choices need to stay consistent as the customer moves from a product page to the cart.
I built the original storefront availability and fulfillment system. When shipping expanded beyond a single distribution center, I changed how it accessed inventory, replacing values maintained through Shopify Flow with queries to Shopify’s GraphQL Storefront API.
I updated the product-page and cart logic to use that data for pickup, shipping, and split fulfillment. The customer’s selected store and fulfillment choice needed to carry through both views, so availability and ordering stayed consistent.
Fixing a store-selection race condition
Availability checks could run before the selected store had loaded. I fixed that race condition by reusing cached store preferences when available and waiting for preferences to load when they were missing.