Skip to main content

Overview

Cart Utilities provide administrative functions for cart maintenance, analytics, and cleanup operations. These internal functions help maintain system performance and provide insights into customer behavior. Location: convex/customers/cartUtils.ts

Cleanup Abandoned Carts

daysOld
number
required
Age threshold in days

Get Cart Analytics

storeId
Id<'stores'>
Optional store filter
These are internal administrative functions for system maintenance and analytics.