When we remove a discount code with the Storefront Cart API, the line items will still have the discountAllocations applied in the response. However when to go to the Checkout link the discountAllocations is removed.
If we do anything after the discount code is removed the items discountAllocations are then properly removed (IE add another item to cart).
Is this a Bug with the CART API or are we incorrectly using the cartDiscountCodesUpdate mutation?
The problem still persists. Just noticed the same in our shop.
It was perfectly fine a few weeks ago.
Just for reference, to delete discounts - we updating cart discounts with an empty array.
And this doesn’t happen with discount codes with a fixed amount, only for percentage value.
Hi @shawntaylor_1 , @Illia_Kovtun .. Shopify API-support here. I just wanted to update you that this issue is under investigation with our developer teams now. Thank you for bringing it to our attention. If its allowable to post an update on the progress on this here I will. Alternatively you can reference this forum post in any interaction you have regarding this with our Partner Support team going forward. Thank you again for taking the time with this.