Skip to content
HeapByte — Senior Shopify Engineering Studio

Insights

Notes from
inside the code.

Things we have had to explain more than once. Written for the person who will maintain the store after we leave.

Latest · Integration

5 November 2026 · 8 min read

Shopify order cancellations in ERP integrations: warehouse picking locks, post-commit race conditions, and ghost stock

Why naive cancellation webhooks cause unrecoverable stock loss or permanent ghost reservations. How to build two-phase cancellation gates and warehouse pick locks.

Archive

Insights

Want this applied to your store?

The audit is where the writing becomes specific: your theme, your app stack, your numbers.