The challenge
A new ERP whose database can run five minutes behind its API
Truvy moved from DirectScale to Exigo’s ERP, so its storefront was rebuilt to read from Exigo’s replicated database and to price each order by who is buying.
Truvy sold nutrition products through independent associates in 16 countries. Its previous storefront was a Nuxt app built for DirectScale, a direct-sales platform. When Exigo acquired DirectScale, Truvy had to move to Exigo’s ERP, and in June 2023 rebuilding the storefront became part of that cutover. Little of the old integration carried over: customers, referrals, regions, pricing and kits were all modeled differently in Exigo.
Customers, orders, subscriptions, commissions and inventory lived in Exigo. Integrations were expected to read from a replica of its SQL Server database rather than its API, and that replica could take up to five minutes to show a change made through the API. Read naively, a customer who had just signed up wouldn’t exist yet at checkout.
Prices also depended on who was buying: retail customers, subscribers and associates each paid a different price. Every new customer had to be enrolled under the associate who referred them, because that is how associates are paid.













