Admin/Integrations
Integrations
Shopify sync health. Inventory, orders, customers, and products kept current so answers are accurate.
Not for client
Module 02 · Shopify integration. The custom-app token pulls inventory, orders, customers, and products/metafields from Tyson's Shopify store on a mix of webhooks and timed sweeps. This is the plumbing that keeps every other system honest: the bot only quotes stock it has, prices at the dealer's real tier, and portal accounts read live order status. When this drifts, answers drift, so it is monitored here.
// SYNC HEALTH
Last full reconcile Today 3:00 AM · 2 streams healthy · 1 syncing · 1 error · retry queued// SYNC STREAMS
Inventory levels
Healthyread_inventory
660 SKUs · 3 locations
Last synced2 min ago
CadenceEvery 5 min + webhook
Sanford, Reno, and Toronto stock levels. Powers in-stock answers.
Orders
Syncingread_all_orders
5,406 orders
Last syncedSyncing now
CadenceWebhook + 15 min sweep
2 new orders inbound. Backfilled Apr 2022 → today on last full sweep.
Customers
Healthyread_customers
6,349 customers
Last synced12 min ago
CadenceWebhook + nightly
dealer_tier metafill in progress for Gold/Silver tiers.
Products + metafields
Errorread_products
660 products · 1,914 variants
Last synced1 hr ago
CadenceHourly
3 products failed metafield write (rate limit 429). Retry queued.
// RECENT SYNC LOG
| Timestamp | What synced | Records | Status |
|---|---|---|---|
| 2 min ago | Inventory levels · Sanford warehouse | 47 levels | Healthy |
| Syncing now | Orders · webhook orders/create | 2 orders | Syncing |
| 12 min ago | Customers · 1 updated (ICC tier change) | 1 customer | Healthy |
| 38 min ago | Inventory levels · Reno + Toronto | 112 levels | Healthy |
| 1 hr ago | Products + metafields · hourly sweep | 657 / 660 | Error |
| 1 hr ago | Orders · 15 min sweep | 4 orders | Healthy |
| Today 8:00 AM | Customers · nightly full reconcile | 6,349 customers | Healthy |
| Today 3:00 AM | Products · full catalog reconcile | 660 products | Healthy |
// WHAT STAYS IN SYNC · AND WHY
Stock levels
The bot says "in stock, ships in 5-7 days from Sanford" only when it actually is. No phantom inventory.
Pricing + tiers
List price and dealer_tier metafields feed quote math. A Gold dealer always sees 25% off, live.
Order status
Portal accounts and the bot read live order state: placed, fulfilled, tracking, delivered.
Customer identity
Customer records tie a logged-in portal account to its quotes, orders, and tier.
Active error. 3 of 660 products failed a metafield write on a 429 rate limit. Retry is queued with backoff. The bot falls back to last-known-good values until it clears.