Purpose Ranks customers by lifetime spend and order frequency, identifies the top N% (by value, frequency, or both), and outputs a CSV of VIP candidates. Optionally applies a VIP tag to qualified customers via . Used to build loyalty segments, prioritize white-glove support, or seed exclusive-access campaigns. The lifetime spend and order count are pulled directly from Shopify customer aggregates — no external CRM required. Prerequisites - Authenticated Shopify CLI session: - API scopes: , , (only if ) Parameters | Parameter | Type | Required | Default | Description | |-----------|------|----…