Docs
Clear, task-focused documentation for each area of the LPS Sync Dashboard.
Orders
Purpose
Orders is where you monitor Shopify → NetSuite order processing, including:
- Raw inbound payloads
- Normalized/parsed orders
- Sync results, retries, and diagnostics
Key UI pages
Related API routes
These are implemented under app/api/orders/...:
GET /api/orders/recent: list recent ordersGET /api/orders/raw: view raw inbound payloadsGET /api/orders/normalized: view normalized ordersGET /api/orders/results: view sync resultsPOST /api/orders/results/retry/[shopify_order_id]: retry a failed orderGET /api/orders/results/[shopify_order_id]/history: attempt historyGET /api/orders/diagnostics: diagnostics summaryGET /api/orders/diagnostics/item-lookup: item lookup toolGET /api/orders/diagnostics/validate: validation endpointGET /api/orders/shipping: shipping-related diagnostics/data
Troubleshooting
- Order stuck retrying: check attempt history and the retry endpoint response.
- Mismatch between raw and normalized: compare the raw payload with the normalized output; the normalization step is the place to fix parsing assumptions.