spree
spree copied to clipboard
Update order after removing a line_item
When we call the /api/v2/storefront/cart/remove_line_item
endpoint, the matching line_item is destroyed but the response still contains it. We use this response to update our cached cart state. I suggest to reload the line_items on the order in the ServiceModule.
This was already fixed in #11700