FROM clause. Each dataset covers one area of your store and groups the metrics and dimensions that belong together, so a query only uses the fields its dataset defines.
Metrics are the numbers a dataset lets you measure, like net_sales or orders. You return them with SHOW.
Dimensions are what you break those metrics down by, like product_title, sales_channel or billing_country. Group by them with GROUP BY, chart them over time with TIMESERIES, or filter on them with WHERE.
Many datasets also reach linked records (the order, its customer, the product), whose fields you write with a dot, like order.customer.country. See Linked records.
Sales
| Dataset | What it holds |
|---|---|
| Sales | Every sale on the day it happened: orders, gross and net sales, discounts, returns, shipping and taxes, matching Shopify’s own reports. |
| Orders | One row per order on the day it was placed: totals, refunds, status, tags, discount codes and where the customer came from. |
| Order line items | One row per line item: what each order contained, with quantities, prices, discounts and custom properties. |
| Returns | Each returned item, dated by the day the return was created: quantity, value and reason, exchanges and fees collected, by product and variant option. |
| Refunds | Each refund, by the day it was processed: refunds, amount refunded and average refund, shipping, shipping tax and duties refunded, and balancing adjustments, by refund type, adjustment reason and note. |
| Restocks | Refunded units and whether their stock went back on sale: restocked quantity, rate and value, by location and product. |
| Write-offs | Order balances written off and their reversals, per sale, by order and kind. |
| Sales taxes | Tax charged on sales by jurisdiction: tax name, rate, country, region and city, and what was taxed. |
| Agentic sales | Sales from or referred by AI agents, credited to any click, by agentic sales and referring channel. |
| Products bought together | Products bought together on the same order, by the order day: how often each pair sells together and the attach rate. |
| Profitability | Each order’s revenue, costs and profit before returns, as Shopify measures them, by order and market. |
Discounts and checkouts
| Dataset | What it holds |
|---|---|
| Discounts | Every discount used on an order, automatic ones included, by the order day: the amount taken off and the orders it was used on, by discount name, code, method, class and type. |
| Discount catalogue | The discount catalogue with the orders that used each code: orders, order value, discount given and sales per discount, by type, method and status. |
| Abandoned checkouts | Checkouts started and left unfinished: count, value, and how many customers came back to complete, by product and discount code. |
| Draft orders | Draft orders and quotes by the day they were created: value, how many became orders, days to complete and open value, by status, tag, company and product. |
Customers
| Dataset | What it holds |
|---|---|
| Customers | One row per customer, dated by their first order: lifetime spend and orders, location, marketing consent, cohorts and Shopify’s RFM groups. |
| Customer addresses | Every address customers have saved today: customers and addresses by country, region, city, postcode and company. |
| Customer segments | The store’s customer segments today: customers in each, and what they have spent and ordered in all. |
| Companies | B2B orders by company and location: companies ordering, orders, order value and average order value. |
| Customer journey visits | Every visit to the store before each order, by the order day: visits, orders influenced and order value split evenly across visits (linear attribution), by source, source type, landing page, referrer, UTM, marketing event, position in the journey and days before the order. |
Products and subscriptions
| Dataset | What it holds |
|---|---|
| Products | The product catalogue today, one row per product: products, variants, those missing a cost, average price and stock value at price and at cost, by vendor, type, status, tag, collection and category. |
| Price lists | Catalogs and their price lists today (markets, B2B company locations, apps): fixed prices against each variant’s own price, by catalog, currency and product. |
| Selling plans | Product sales on selling plans (subscriptions, pre-orders, try before you buy), by the day of the sale: net sales, units and orders, by plan, group and type. |
| Subscriptions | Active subscriptions, and those added and canceled. |
Inventory
| Dataset | What it holds |
|---|---|
| Inventory | Stock at each location: units, value at cost and retail value, today or on any past date, and stock over time. |
| Inventory adjustments | Every change to stock and why: corrections, damage, receiving and orders, by reason, stock state and location. |
| Inventory transfers | Stock moved between locations: units ordered for transfer, by origin, destination and product. |
| Inventory shipments | Shipments between locations: units shipped, received, accepted and rejected, by carrier and product. |
| Received items | What inbound shipments received, item by item: units and items received, accepted or rejected, by transfer, origin, destination and product. |
| Purchase orders | Stock ordered from suppliers: units, cost and tax, by supplier, status, destination and product. |
Fulfillment and shipping
| Dataset | What it holds |
|---|---|
| Fulfillments | Each shipment, dated by the day it was created: orders fulfilled, shipped and delivered, time to ship and deliver, tracking, on-time delivery and split shipments, by carrier, service and location. |
| Fulfillment backlog | Orders waiting to ship, now: how many, how many units, how long they have waited, holds and overdue orders, by location. |
| Shipping labels | Shopify Shipping labels: cost, count and average, what the orders charged for shipping, and shipping profit, by carrier and service. |
| Shipping methods | The shipping methods customers chose, by the order day: orders, shipping charged and shipping discounts, by method, rate source and delivery category. |
Finance and payments
| Dataset | What it holds |
|---|---|
| Payments | Every payment and refund on the day it was processed: gross, refunded and net payments, gift card redemptions and payment fees, by gateway, method, card and location. |
| Payment attempts | Checkout payment attempts: total, unique, failed and successful, and authorization rates, by method, card, wallet and channel. |
| Payouts | Shopify Payments payouts to your bank, by the day they were issued: amount, charges, refunds, adjustments and fees. |
| Payout transactions | Every movement on the Shopify Payments balance, with the payout that paid it: amount, fees and net, days to payout, by type and payout. |
| Payments balance | The Shopify Payments balance over time, from a daily snapshot, by currency. |
| Disputes | Chargebacks and inquiries by the day they were opened: count, value, rate, fraud, win rate and amount lost, by reason and status. |
| Chargebacks | Shopify’s own chargeback figures by day: chargebacks, fraud, amount, successful payments, the chargeback rate and the rolling 90-day rates card networks monitor, by reason and rapid resolution. |
| Receivables | Orders on payment terms (B2B net terms and due on fulfillment), by the order day: what was invoiced, what’s outstanding, overdue and paid, and how long payment takes, by company, terms and due month. |
| Gift cards | Gift cards issued, sold, spent and disabled in the period, and what they hold at its end, including balances unused for a year. |
| Store credit transactions | Each store credit movement: credit added, spent and expired, by customer, order, event and source. |
| Store credit balance | Shopify’s daily store credit liability: the starting and ending balance and its net change, by currency. |
Online store
| Dataset | What it holds |
|---|---|
| Sessions | Online store visits by people: sessions, visitors, bounce rate, cart, checkout and conversion rates, by device, location, referrer and landing page type. |
| Referrers | Visits and conversion by the site that sent them, and by medium (social, search, email). |
| UTM sessions | Visits and conversion by UTM source, medium and campaign. |
| Product page visits | Visits that started on a product page: sessions, bounce, add to cart and conversion by product, and units sold per visit. |
| Searches | Storefront searches by term: how many found something, how many found nothing, and how many led to a click. |
| Search queries | Online store searches by query and whether a result was clicked. |
| Search conversions | Visits that searched, then clicked a result, added to the cart and bought. |
| Product recommendations | Visits shown product recommendations, then clicked, added to the cart and bought, by product. |
| Recommendation conversions | The store’s product recommendation funnel per day: visits shown recommendations, clicks, cart additions and purchases. |
| Web performance | Page loads and how many rated good or poor on Core Web Vitals, by device and page type. |
Marketing
| Dataset | What it holds |
|---|---|
| Marketing attribution | Sales and orders credited to marketing campaigns under each attribution model. |
| Marketing spend | Ad spend, impressions, clicks, orders and sales the marketing channels report, with return on ad spend and cost per order. |
| Marketing performance | Sessions, sales and ad spend credited to the last click that wasn’t direct, by marketing channel, campaign and autopilot activity. |

