Carts Delete Line Item
tiendanube_carts_delete_line_itemRemoves a specific line item from an active Tiendanube cart using the cart ID and line item ID, so you can update cart contents before checkout.
Instructions
Remove one line item from an active cart. HTTP: DELETE /carts/{id}/line-items/{line_item_id} Required scope: write_orders API version: 2025-03
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>",
"line_item_id": "<line_item_id>"
},
"name": "tiendanube_carts_delete_line_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Cart ID | |
| line_item_id | Yes | Line item ID (64-bit; pass as string) |