Suppose if you want to sum taxes paid for a given day using sale agreements.happenedAt then using this BulkQuery makes it a lot easier and faster. It used to work well before. It is documented in your portal also. https://shopify.dev/docs/api/admin-graphql/2023-07/queries/order#examples-Get_sales_agreements_for_an_order.
Topic summary
Issue: Bulk GraphQL queries fetching orders → agreements → sales began failing with the error that a nested connection’s parent must implement Node, flagging agreements. This previously worked and is documented in Shopify’s examples.
Impact: Multiple developers reported breakage starting Aug 25, 2023. Removing the sales connection makes the query succeed but omits essential data (taxes, shipping, refunds, promotions), causing reporting mismatches with Shopify’s UI and breaking integrations. Trying other API versions didn’t help; non-bulk queries continued to work, creating inconsistency.
Cause (per Shopify): Recent updates to bulk query validation surfaced that Order.agreements resolves to the SalesAgreement interface, which doesn’t implement Node. Shopify requested use-case details to assess impact.
Actions: Several support tickets were filed (e.g., 41124253, 41172794, 41190322). Users asked for an alternative way to retrieve sales data while awaiting a fix.
Resolution: Shopify shipped a fix; users confirmed bulk queries with sales data are working again. Shopify staff acknowledged the deploy and thanked contributors. Status: Resolved; no alternative query was needed post-fix.