Skip to content
This repository was archived by the owner on Sep 1, 2021. It is now read-only.
This repository was archived by the owner on Sep 1, 2021. It is now read-only.

400 Bad Request deleting Cart lines #48

@mrogers-5s

Description

@mrogers-5s

I've got a Rails integration for tracking abandoned cart activity in Spree, but lately, it seems carts are failing to update -- specifically when an item is removed from the user's cart.

We've noticed that every DELETE request sent to /ecommerce/stores/{store_id}/carts/{cart_id}/lines/{line_id} returns a 400 error with In order to delete this line item, delete the parent resource.

The implication here is that if a customer deletes an item from their cart, in order to track that in MailChimp, we need to delete their entire cart and start over, which seems problematic.

Is there a different process we should be using to sync line item deletes?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions