--- title: Admin API includes discountNodesCount - 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/admin-api-includes-discountnodescount' md: 'https://shopify.dev/changelog/admin-api-includes-discountnodescount.md' metadata: effectiveApiVersion: 2024-10 affectedApi: - displayName: Admin GraphQL API handle: admin-graphql primaryTag: displayName: API handle: api secondaryTag: displayName: New handle: new indicatesActionRequired: false createdAt: '2024-09-19T17:42:28-04:00' postedAt: '2024-10-01T09:00:00-04:00' updatedAt: '2024-09-30T16:18:59-04:00' effectiveAt: '2024-10-01T09:00:00-04:00' --- October 1, 2024 Tags: * Admin GraphQL API * 2024-10 # Admin API includes `discountNodesCount` As of Admin GraphQL API version `2024-10`, you can access the `QueryRoot.discountNodesCount` field to retrieve the total count of discounts in the shop. Learn more about `discountNodesCount` on [Shopify.dev](https://shopify.dev/docs/api/admin-graphql/2024-10/queries/discountNodesCount).