I am trying to create a button on select product pages that leads to a custom Shopify checkout with applied discounts. How best would I go about this? Calling the checkout API with information on the cart from webhooks?
To better clarify my situation, I am building a Shopify app that helps with creating that particular checkout (with applied discounts) on different stores that have installed my app. Do you have any recommendations for how I could accomplish this?