--- title: >- New ends_at, created_at, and updated_at query filter parameters for searching discounts - Shopify developer changelog description: >- Shopify’s developer changelog documents all changes to Shopify’s platform. Find the latest news and learn about new platform opportunities. source_url: html: >- https://shopify.dev/changelog/new-endsat-createdat-and-updatedat-query-filter-parameters-for-searching-discounts md: >- https://shopify.dev/changelog/new-endsat-createdat-and-updatedat-query-filter-parameters-for-searching-discounts.md metadata: effectiveApiVersion: 2025-04 affectedApi: - displayName: Admin GraphQL API handle: admin-graphql primaryTag: displayName: API handle: api secondaryTag: displayName: New handle: new indicatesActionRequired: false createdAt: '2025-02-12T13:28:34-05:00' postedAt: '2025-02-17T12:00:00-05:00' updatedAt: '2025-02-12T16:45:42-05:00' effectiveAt: '2025-02-17T12:00:00-05:00' --- February 17, 2025 Tags: * Admin GraphQL API * 2025-04 # New ends\_at, created\_at, and updated\_at query filter parameters for searching discounts As of API version 2025-04, we've added new `ends_at`, `created_at`, and `updated_at` filters to the `discountNodes` query, in order to provide greater flexibility in managing and viewing discounts using the GraphQL Admin API. The `ends_at`, `created_at`, and `updated_at` query filter parameters allow you to find discounts that will end at, were created at, or were last updated at a given time range. For more information about the discountNodes query, please refer to our [documentation](https://shopify.dev/docs/api/admin-graphql/2025-04/queries/discountNodes).