fix: frontend fixes batch - live search proxy, quick products 10 slots, categories emoji list, bell notifications with tabs, awaiting payment orders endpoint
This commit is contained in:
@@ -142,6 +142,10 @@ export const ordersApi = {
|
||||
api.get<{ total: number; thresholdHours: number; items: StaleOrderNotification[] }>(
|
||||
`/api/orders/notifications/stale?hours=${hours}&limit=${limit}`,
|
||||
),
|
||||
awaitingPaymentNotifications: () =>
|
||||
api.get<{ total: number; items: Array<{ id: string; totalCents: number; customerEmail: string | null; createdAt: string }> }>(
|
||||
'/api/orders/notifications/awaiting-payment',
|
||||
),
|
||||
};
|
||||
|
||||
// ── Customers ─────────────────────────────────────────────────────────────────
|
||||
|
||||
Reference in New Issue
Block a user