How do I Read Discount code?

Shopify Partner
1 0 0

I am developing a app and I want to read the value entered in the "Discount code" field. How can I do that? I dont want to modify the discount code, I just want to read the discount code.

Replies 0 (0)