When you place an order through the “Draft Order” API, there is no discount code box available on the checkout page. Also, we cannot render anything on the checkout page because it is fully controlled by Shopify. For this reason, we have to keep the discount code box on the cart page.