hermosodocs

manage_woocommerce_coupons

WooCommerce coupons destructive

Area: WooCommerce catalog · Workspace & account. Generated from the running MCP server, like the rest of the tool reference.

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

ParameterTypeDescription
action"list" | "get" | "create" | "update" | "activate" | "deactivate" | "delete"default list (get when id or code is passed)
idstring
codestring
titlestring
descriptionstring
percentOffnumber
amountOffnumber
appliesOnEachItemboolean
freeShippingboolean
minSubtotalstring
endsAtstring | null
usageLimitnumber | null
oncePerCustomerboolean
productIdsstring[]
categoryIdsstring[]
emailsstring[]
individualUseboolean
excludeSaleItemsboolean
status"on" | "off"
querystring
permanentboolean
pagenumber
limitnumber
confirmboolean

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.

All 143 Workspace & account tools · tools.json