Which SKUs drove the most refunds in the last 30 days, and what does the line-item mix look like?
Read-only Admin API · Live
Ask your Shopify store anything.
Connect Shopify to Lumen via OAuth and ask questions about orders, customers, inventory, and fulfillments in plain English. Lumen runs read-only GraphQL queries against the Admin API — mutations are blocked by design.
- Auth
- Shopify OAuth
- Access
- Read-only GraphQL
- Plan
- Basic → Plus
- Freshness
- Live — every query hits the Admin API
- Available on
- Every plan
Examples
Questions teams actually ask.
The tools it pulls from are shown inline — every answer in Lumen cites the underlying records it read.
Where is order #10284 right now, and what does its fulfillment history show?
Top 10 customers by lifetime spend this year, and how often they're re-ordering.
Which variants are below 20 units at the Berlin warehouse, filtered to active products?
How did AOV shift for orders with the SUMMER25 discount vs without, last 14 days?
Any orders placed over 48 hours ago that still aren't fulfilled, grouped by location?
Preview
See what the answer looks like.
Toggle the tools Lumen is allowed to use. The plan, answer, and cited sources update to match.
Which SKUs drove the most refunds last week?
- shopify.introspect — confirm the Order, Refund, and LineItem fields available
- shopify.query — orders(query: "created_at:>30d financial_status:refunded") with refunds and lineItems
- paginate via edges/cursor until pageInfo.hasNextPage is false
- rank SKUs by refunded quantity and net amount
Three SKUs account for 62% of last week's refunds. TRS-CHNO-M and TRS-CHNO-L (chino trousers, medium and large) are $4,120 combined across 48 orders. HDY-OAT-S is $1,890 across 14 orders. I pulled these directly from orders + refunds — no cached index.
- [1]shopify.query — 214 orders with financial_status=refunded, Feb 12–18
- [2]shopify.query — refunds with line-item breakdown, same window
- [3]shopify.introspect — reference card used to confirm field names
Scope
What Lumen sees. What it can change.
Read is on by default. Every write is a separate toggle, capped per user, and logged.
What Lumen reads
Lumen calls the Shopify GraphQL Admin API directly. Every question fires a fresh query scoped to whatever you're asking — no data is warehoused in Lumen.
- Orders, line items, transactions, refunds
Including financial status, fulfillment status, and refund reasons
- Customers and addresses
email, phone, orders count, total spent, tags
- Products, variants, collections
Including vendor, status, price, SKU, and handle
- Inventory levels by location
Quantity available per variant per location
- Fulfillments and shipping
Tracking numbers, shipping lines, fulfillment events
- Discounts and price rules
For margin and promotion analysis
What Lumen can write
Lumen does not write to Shopify today. Every GraphQL mutation is blocked before it leaves our worker — the `assertReadOnlyGraphQL` guard rejects any query containing a mutation before it hits the Admin API.
Every query is logged with the asking user, the GraphQL text, the variables, and row counts returned. Exportable as CSV or streamed to your SIEM.
Install
Connect in under a minute.
No keys, no call, no app marketplace fine print.
- Connect01
Sign in with Shopify
In Settings → Integrations → Shopify, paste your store domain (e.g. `mystore.myshopify.com`) and click Connect. Lumen redirects you to Shopify's standard OAuth screen to approve read scopes. Lumen never sees your Shopify password.
- Verify02
Ask a warm-up question
The agent's first move is usually `shopify.introspect` to confirm the fields it can query, then a small `shopify.query` against orders. Try: "How many orders were placed yesterday?"
- Iterate03
Ask the real questions
Lumen uses cursor-based pagination so it can walk the full result set for large queries. Answers always show the GraphQL that ran — easy to spot-check before you trust a number.
Questions
Frequently asked.
Does Lumen write to Shopify?
Does Lumen work with Shopify Plus?
Which Admin API scopes does Lumen request?
How fresh is the data?
Does Lumen store my order data?
Can the agent write its own GraphQL?
What happens if a query is too big?
Can I limit what Lumen can read?
Connect your store. Ask your first question.
Standard OAuth. Read-only. No app install on the buyer storefront, no keys, no call.