Portail B2B Shopify / 2022
Project completed in agency at Huggii
2A Distribution
First B2B ordering portal: connecting an ERP to Shopify to continuously synchronise stock levels, customers, pricing and orders, while restricting prices to authenticated buyers only.
- Shopify
- PHP
- JavaScript
- PowerShell
- Batch
The intention
First B2B ordering portal: connecting an ERP to Shopify to continuously synchronise stock levels, customers, pricing and orders, while restricting prices to authenticated buyers only.
The execution
Bidirectional PHP/PowerShell connector between the ERP and Shopify — syncing stock and pricing down, orders up, with B2B pricing gated behind session authentication. Batch queue to bypass the native API limit (2 req/s) and achieve ten times the throughput. Optimised cron jobs for uninterrupted continuous synchronisation.
The verdict
B2B portal live from day one — no break-in period, no incidents. Full ERP synchronisation: stock, pricing, orders and customer data kept up to date in real time. API throughput multiplied tenfold via the Batch queue, zero downtime since launch.
Technical details
- Portal
- B2B — pricing restricted to authenticated buyers
- ERP sync
- Stock · Pricing · Orders · Customers
- Performance
- API throughput multiplied tenfold via Batch queue
- Technologies
- Shopify · PHP · JavaScript · PowerShell · Batch