ShopifyQL vs GraphQL
I would like to produce a simple report each month with the following columns.
Date, Time, Discount Code, Country, State, City, Zip Code
where there is one entry for each order and the discount code may possibly be null (i.e., no discount was applied). Eventually I may want to add additional columns, such as order price. I also want to export the data in CSV format.
Should I use ShopifyQL or GraphQL for this? Are there any examples with a discount code?