- Grain: One row per (
sm_store_id,snapshot_date). - Date field:
snapshot_date, a UTC day. - Joins: The orders behind the current count are in
rpt_shopify_order_fulfillment.
How the count works
An order counts as open when it isunfulfilled or partial and still has units to ship, or an unknown number of units. It covers the same stores as rpt_shopify_order_fulfillment: Shopify stores whose orders come entirely through SourceMedium’s own Shopify connection.
Each row is the queue as counted that day, and observed_at says how current it is: the count reflects Shopify updates up to that time. A count of zero means the queue was clear. A missing day means no count was taken. Past days cannot be counted after the fact, so the history starts on the first day the table was counted for your store.

