Skip to main content

Cart

The Cart resource allows the manipulation of shopping carts generated in a storefront.

You need the write_orders scope in order to call these endpoints.

Endpoints

DELETE /carts/{id}/line-items/{id}

Remove a line item from a Cart by its line item id.

DELETE /carts/1234/line-items/5678

HTTP/1.1 200 OK

{}

DELETE /carts/{id}/coupons/{id}

Unset a Coupon from a Cart by its coupon id.

DELETE /carts/1234/coupons/5678

HTTP/1.1 200 OK

{}