Get Discount Code list/creation date

Davecon
Shopify Partner
6 0 1

I previously posted this in the wrong forum.  I want to use the API to do what you can do through the admin dashboard which is to go to Discounts and then click on a Discount code, then click View all codes.  That shows a list of all the individually generated codes and what Date they were created.

 

Using the API, I can get a list of all discount codes and I can get a list of codes and ids (of type DiscountRedeemCode) for the codes.  What I can't figure out is where to get the "Created On" date that you can get through the dashboard.  To try to be more clear, I have a discount code called WELCOME and it has 100 generated codes such as CXV154G2 and each of those has a Code, Created On, and Used value.

Reply 1 (1)
Davecon
Shopify Partner
6 0 1

Can someone please just tell me whether or not this is possible?  If it is not, I would like to know so I can just drop it.