A Shopify order has two dates that can disagree. createdAt is set when the customer completes checkout and never changes afterwards; processedAt is the date Shopify shows on the order and uses in its analytics reports, and it can differ. When the connector is available, etlmcp puts every order on the day of its createdAt, in the store's own time zone, and leaves out test orders and cancelled orders altogether. When etlmcp and Shopify's reports disagree on a day's revenue, check which date each one uses first.
Imported orders: createdAt versus processedAt
Shopify's Order reference describes createdAt as the moment checkout finished, fixed for the life of the order, and warns that processedAt may not match it. The usual cause of a gap is an imported order. When an app or a migration from another platform creates orders, Shopify's order-creation input lets it set processedAt to a time in the past, so the order carries the date of the original sale. Since API version 2026-07, a processedAt in the future is cut back to the current time. The same input reference says processedAt is the date that appears on your orders and the one Shopify's analytics reports use.
An order imported last week with a processedAt from last year sits on last year's date in Shopify's reports and on last week's date in etlmcp, because it was created in Shopify last week. An import of old orders therefore shows up in etlmcp as a spike on the day of the import, not spread over the original dates.
Which local day an order lands on
etlmcp reads the store's time zone from Shopify (the shop's IANA time zone) and turns each order's createdAt into a date in that zone. It does not use the pipeline's time zone for this. An order placed at 23:30 in a store set to New York counts on that New York date, even though the same instant is already the next day in UTC.
To fetch a day, etlmcp asks Shopify's orders query for orders whose created_at falls between the start of that local day and the start of the next.
Cancelled orders
An order's cancelledAt stays empty until it is cancelled, and then holds the time of the cancellation. etlmcp counts an order only while cancelledAt is empty. Once an order is cancelled, it leaves every column of its day: the order count, sales, discounts, refunds, shipping, taxes and units.
That change only reaches your destination when the order's day is pulled again. A routine sync re-pulls the last 58 days, or fewer if your plan keeps less history than that, so an order cancelled within that time drops out of its original day on the next sync, and that past day's revenue goes down. An order cancelled later than that stays in the day as it was written. To bring an older day up to date, run a backfill over it; see the trailing window for which days a routine sync covers.
A backfill can only reach orders Shopify still shares. Shopify's access scopes page says read_orders covers orders created in the last 60 days, and older orders need read_all_orders as well. Unless the app holds that second scope, etlmcp does not read days older than that window, so a cancellation that comes after it never reaches the day.
Test orders
Shopify marks a test order with test set to true. Its Order reference explains that test orders come from the Shopify Bogus Gateway or a payment provider running in test mode, and adds: "A test order can't be converted into a real order and vice versa." The orders query can find them with the filter test:true.
etlmcp reads the test flag on every order and skips any order where it is true. Test checkouts you run while setting up a theme or a payment provider never add to orders or revenue, so you do not need to delete them. If an order arrives without a test value, the sync fails instead of guessing.
Why a past day's figures move
Besides cancellations, returns and refunds change an order's current totals, and etlmcp writes those totals on the order's own day whenever that day is pulled again. Shopify's Finance reports work the other way: they show a sale on the order date and a return or refund as a negative amount on the date it was processed. So for a recent day, etlmcp's net sales can be lower than the figure Shopify's report shows for that day, while the reduction appears on a later day in Shopify. Column definitions are on the Shopify connector page, and what a sync writes is on the Shopify sync page.
When the date filter is not applied
Shopify's search syntax page contradicts itself about an unknown filter field. Its text says such a query is ignored and every result comes back. Its own debug example shows the opposite: an empty list of results with a warning that the search field is invalid. Either reading would put the wrong orders on a day, too many or none.
etlmcp asks Shopify to report search warnings on every orders request. If any warning comes back, the sync stops with shopify did not apply the order date filter. It also checks each returned order's createdAt against the day it asked for, and stops with shopify returned an order outside the day asked for if one falls outside it. Either error fails the run before anything from it is stored, so a day is never replaced with the wrong orders.