Storefront Cart API (2024-07) cartDiscountCodesUpdate API Not Working

Storefront Cart API (2024-07) cartDiscountCodesUpdate API Not Working

pasindu
Shopify Partner
3 1 2

I've developed a Shopify app using cartDiscountCodesUpdate API. This App worked fine until last month (2024-08 last tested). I've tried this API with the Shopify GraphiQL App as well. It's not working. Previously, when I applied a discount through this API, the discount was automatically applied to the checkout page when the user navigated from the cart page to the checkout page. The discount is not being applied even though I'm getting the API response correctly (No errors at all).
I had another issue when I used the checkout URL from the API response; it's getting redirected back to the store homepage.
checkoutpage.png

 

 

graphiql app.png

 

Replies 0 (0)