Tags:
- Action Required
- Admin GraphQL API
- 2026-04
ShopifyQL returns fields deprecated and replaced with sales reversals fields
In GraphQL Admin API version 2026-04, several Returns fields in analytics, which can be queried through ShopifyQL, have been deprecated and replaced with renamed versions (e.g., , ) to better reflect that they capture all order adjustments, including refunds, returns, order edits, and cancellations. The definitions remain unchanged.
Deprecation timeline
Deprecated fields will be removed in version 2026-07, but will still be accessible via older API versions until 2027-04.
Why we did this
The new field names clarify the difference between broad order adjustments (sales reversals) and physical returns. With the launch of return reason reporting, you can now see physical quantities returned and their reasons at the line item level, separate from overall order adjustments. Access these details in the returns schema using , , and .
What you need to do
Update your ShopifyQL queries to use the new and fields (see mapping table below)
| Deprecated field | New replacement field |
|---|---|
returns | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
Learn more about the updated fields., and about ShopifyQL.