Shopify has introduced a new include_mirrored_exchanges query filter parameter for the Retail ExchangeV2 GraphQL Admin API. This parameter gives developers greater control over which exchange data is queryable through the API, specifically controlling whether exchanges mirrored from the Shopify admin are included in API responses. Starting with API version 2025-04, only exchanges created in the Shopify admin after this version will be queryable through GraphQL, while historical exchanges remain excluded by default.
For developers building exchange management features, this change provides essential flexibility in how exchange data is retrieved and displayed. The new filter prevents unnecessary API calls by allowing you to explicitly control whether to include mirrored exchanges, optimizing performance and data consistency. This is particularly important for apps that need to distinguish between natively created exchanges and those synced from the Shopify admin, ensuring accurate reporting and management workflows.
include_mirrored_exchanges parameter once you've upgraded to API version 2025-04 or laterIf you're building apps that access Shopify's GraphQL Admin API, GetShopifyToken simplifies OAuth authentication and token management, making it easier to implement these updated API parameters securely in your applications.