Dedicated to the Hydrogen framework, headless commerce, and building custom storefronts using the Storefront API.
is there any Storefront API endpoint that receives a discount code and checks if it exists and returns the discount price and all needed data as a response?
is there any other method to do that? Except using Admin API.
No there is not. The Admin API (with the correct permissions) is the only way to do this.
Ryan | Shopify - Was my reply helpful? Click Like to let me know! - Was your question answered? Mark it as an Accepted Solution - To learn more visit the Shopify Help Center or the Shopify Blog