Remove a line
DELETE
/ store/ v1/ carts/ {cart_id}/ lines/ {line_id}Remove a line.
Path parameters
cart_idstringrequiredThe cart's ID, like
cart_01k8qs5s….line_idstringrequiredThe cart line's ID, like
cline_01k8qs5s….
Headers
X-Cart-TokenstringrequiredThe cart's token
shop-api-versionYYYY-MMThe version to answer in. Without it, your app’s pinned version, else the newest.
Returns
200 The updated cart.
Errors
- 404
not_foundNo such cart or line. - 409A payment is in progress, or the cart is completed.