Carts Delete Coupon
tiendanube_carts_delete_couponRemove a coupon applied to an active cart by cart ID and coupon ID through the Tiendanube API, so you can undo discounts before checkout is completed.
Instructions
Remove a coupon applied to an active cart. HTTP: DELETE /carts/{id}/coupons/{coupon_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>",
"coupon_id": "<coupon_id>"
},
"name": "tiendanube_carts_delete_coupon"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Cart ID | |
| coupon_id | Yes | Coupon ID |