
Demo project built against a bundled mock store API with sample data. Not client work.
The problem. Online orders and the stock sheet drift apart. Staff update stock by hand, cancellations get forgotten and items oversell.
What it does
Calls the store's REST API with a bearer token and pulls only orders changed since the last run
Follows cursor pagination and retries rate limits and server errors with backoff
Applies each order to stock exactly once, so re-runs never deduct twice
Puts stock back when a paid order is later cancelled
Reports unknown SKUs instead of crashing and raises low-stock alerts against reorder levels
Writes the updated stock sheet and an Excel sync report with a run log
Demo result. 23 orders synced, 0 applied twice, 1 cancellation restocked, 1 low-stock alert, 1 data problem surfaced.
Quality. 7 automated tests run against the live mock HTTP server, covering pagination with retries, deductions, idempotent replay, cancellations, unknown SKUs, bad tokens and low-stock flags.
Stack. Python, requests, pandas. The platform client is the only part that changes for Shopify, WooCommerce or a custom ERP.
0 likes · 0 views · Nov 18, 2026
Demo (mock store, sample data): Python sync that pulls orders from a store REST API and updates stock exactly once, with retries, restocks and low-stock alerts.