# Hermoso: manage_woocommerce_coupons · Hermoso developer docs

> Machine-readable twin of https://hermoso.ai/docs/reference/workspace/manage_woocommerce_coupons/. Generated from the shipped page. Do not edit by hand.
> Full agent guide: https://hermoso.ai/llms.txt · MCP: https://app.hermoso.ai/mcp

[Docs](https://hermoso.ai/docs/) / [Tool reference](https://hermoso.ai/docs/reference/) / [Workspace & account](https://hermoso.ai/docs/reference/workspace/) / manage_woocommerce_coupons

# `manage_woocommerce_coupons`

WooCommerce coupons destructive

Area: WooCommerce catalog · [Workspace & account](https://hermoso.ai/docs/reference/workspace/). Generated from the running MCP server, like the rest of the [tool reference](https://hermoso.ai/docs/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

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](https://hermoso.ai/docs/credits/).

## Related tools

- [manage_woocommerce_categories](https://hermoso.ai/docs/reference/workspace/manage_woocommerce_categories/) WooCommerce categories
- [manage_woocommerce_products](https://hermoso.ai/docs/reference/workspace/manage_woocommerce_products/) WooCommerce products

[All 143 Workspace & account tools](https://hermoso.ai/docs/reference/workspace/) · [tools.json](https://hermoso.ai/docs/reference/tools.json)
