Abandoned Checkouts Apply Coupon
tiendanube_abandoned_checkouts_apply_couponAttach a coupon to an abandoned checkout to support recovery campaigns and encourage customers to complete their purchase.
Instructions
Attach a coupon to an abandoned checkout (recovery campaigns). HTTP: POST /checkouts/{id}/coupon 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_abandoned_checkouts_apply_coupon"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Checkout ID | |
| coupon_id | Yes | Coupon ID to apply | |
| additional_fields | No | Extra raw API body fields not covered above; merged into the request body |