Admin API includes discountNodesCount
API
Effective October 01, 2024
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.