Shopify Buy SDK fetch checkout is returning a response with line items that have been deleted

1 0 0

We are using the Shopify headless and use Shopify Buy SDK for the cart creation/retrieval - The problem we've found now is that if a customer has an item in their cart and the item is removed from the store in Shopify, we are still getting the extra line item when fetching the cart with some basic details. The total price of the cart includes the missing product so we're unable to do anything about it.

Has anybody experienced this before? Part of the response for a test product that has been deleted in Shopify is shown below.



Replies 0 (0)