Tools Catalog / WooCommerce tools / wc_update_coupon

wc_update_coupon tool reference for StifLi Flex MCP

Write
Group CouponsCapability manage_woocommerce

updates a coupon by ID.

Description

updates a coupon by ID.

What it is for

  • Changing discounts, expiration, or limits.

Example use case

extending a campaign.

Sample prompt

Update coupon ID 73 and extend its expiration date by two more weeks.

Sample response

{
  "tool": "wc_update_coupon",
  "status": "ok",
  "updated": true
}

What does wc_update_coupon do?

updates a coupon by ID.

Does wc_update_coupon modify store data?

Yes. It is a write operation and can create, update, or delete data depending on arguments.

Which capability is commonly required?

It usually runs under controls compatible with manage_woocommerce and the active MCP profile.

How should wc_update_coupon be used safely?

Enable write confirmations, test in staging first, and keep changelog/rollback enabled.