In the documentation of the Admin GraphQL API under discountNodes > query it says you can query on type and discount_type. But nowhere is it stated what the accepted values are or even what field both values relate to. I tried some logical values for both, but found no answer. So my question is, what do both fields relate to? See link below for the documentation I refer to:
https://shopify.dev/api/admin-graphql/2023-01/queries/discountNodes#argument-discountnodes-query