apply_order_discount
Apply an order-level discount using a percentage, fixed amount, or catalogue discount. Preview changes with dry-run and confirm before modifying the order.
Instructions
Modifies merchant data. Apply an order-level discount.
Exactly one of percentage (1-100), amount_cents (1-100_000_000, positive — Clover requires a negative amount on the wire, this tool negates it for you), or catalogue_discount_id must be given. Catalogue discounts are resolved client-side (name + percentage/amount fetched from list_discounts and sent inline). Previews on dry_run (includes current discounts + a client-computed line-item subtotal — Clover has no computed order total); confirms via MCP elicitation or confirm=True before writing. Requires ORDERS_W.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| confirm | No | ||
| dry_run | No | ||
| order_id | Yes | ||
| percentage | No | ||
| amount_cents | No | ||
| catalogue_discount_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||