Pull latest product catalog and inventory counts from Wholesale2B. Running in demo mode — no API key required.
Send a test order to POST /api/orders/ingest to see the routing loop in action.
| Method | Endpoint | Description |
|---|---|---|
| POST | /api/orders/ingest | Route incoming storefront order to supplier |
| GET | /api/orders | List all orders with status |
| POST | /api/orders/:id/pull-tracking | Fetch tracking from supplier, fire webhook |
| POST | /api/sync/run | Trigger catalog sync from Wholesale2B |
| GET | /api/sync/status | Sync state + inventory summary |
| GET | /api/products | Browse synced product catalog |
| POST | /api/webhooks/register | Register storefront tracking callback URL |