Would like to write a shopify page that prompt user to enter a discount code, then verify the code before redirecting to a specific shopify product collections page. What I need is an API that help verifying the code entered. I browsed through API help but all I get is applying discount code during checkout. Does that mean I cannot verify a discount code before checkout, or is there something I missed?
Thank you in advance for your help.