How it’s calculated
Built from
Bulk order line item originalTotalSet.shopMoney.amountLine item quantity and product/variant identity
Known caveats
- Only the bulk product publisher may write this key.
- This is gross line revenue. It does not subtract discounts, refunds, or cancellations.
Where this appears
- Top Products revenue
- Top Products grouping and sorting
Grain and identity
Grain and identity
One order-time line item. The Top Products read groups rows by product title, then SKU, variant title, or variant id.Join and identity keys
- HMAC line-item dedupe identity
- orderToken for distinct-order reads
- productHandle/productTitle/variantId/variantTitle/SKU for grouping
Filters and boundaries
Filters and boundaries
- Organization and store are resolved from the authenticated request.
- Reads use a half-open interval: recorded_at >= start and recorded_at < end.
- ShopifyQL sales values are used as reported; no extra paid-order filter is added by Aloftly.
Timezone, currency, and freshness
Timezone, currency, and freshness
Timezone. ShopifyQL groups by the shop reporting date; Aloftly stores that date as a UTC-midnight label. Order lifecycle events retain their provider timestamp.Currency. Currency values use Shopify shop-money amounts. Aloftly does not perform foreign-exchange conversion; mixed-currency all-store totals must not be interpreted as converted currency.Freshness. Daily scheduled product bulk sync and deliberate history runs.
Version history
Version history