Purpose Evaluates the true return on investment for each discount code and automatic discount by measuring revenue generated, number of orders, average order value with vs. without discount, customer acquisition attributed to discounts, and whether discounted orders cannibalized full-price sales. Goes beyond (which finds broken/unused codes) to answer "was this discount worth it?" Read-only — no mutations. Prerequisites - Authenticated Shopify CLI session: - API scopes: , Parameters | Parameter | Type | Required | Default | Description | |-----------|------|----------|---------|-------------|…