manage_woocommerce_coupons
WooCommerce coupons destructive
Description
Coupons (discount codes) on the brand's WooCommerce store. action list (status on | off, query), get (id or code), create (code, percentOff or amountOff (appliesOnEachItem for a per-item amount) or freeShipping, minSubtotal, endsAt, usageLimit, oncePerCustomer, productIds, categoryIds, emails, individualUse, excludeSaleItems), update (those), activate / deactivate (switch a code on or off; off keeps it), delete (to the trash; permanent:true for good). Creating, changing a live code, switching on or off and deleting are previews until confirm:true. Free.
Parameters
| Parameter | Type | Description |
|---|---|---|
action | "list" | "get" | "create" | "update" | "activate" | "deactivate" | "delete" | default list (get when id or code is passed) |
id | string | |
code | string | |
title | string | |
description | string | |
percentOff | number | |
amountOff | number | |
appliesOnEachItem | boolean | |
freeShipping | boolean | |
minSubtotal | string | |
endsAt | string | null | |
usageLimit | number | null | |
oncePerCustomer | boolean | |
productIds | string[] | |
categoryIds | string[] | |
emails | string[] | |
individualUse | boolean | |
excludeSaleItems | boolean | |
status | "on" | "off" | |
query | string | |
permanent | boolean | |
page | number | |
limit | number | |
confirm | boolean |
Example call
Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and POST https://app.hermoso.ai/v1/tools/manage_woocommerce_coupons.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"manage_woocommerce_coupons","arguments":{}}}
CLI
hermoso call manage_woocommerce_coupons --json '{}'
Credits
Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See Credits & costs.
Related tools
manage_woocommerce_categoriesWooCommerce categoriesmanage_woocommerce_productsWooCommerce products