Update Coupon

Modify existing WooCommerce coupons.

Overview

The Update Coupon action modifies an existing WooCommerce coupon’s settings. Use this to adjust discounts, extend expiry dates, or update usage limits.

Configuration

Required Fields

FieldTypeDescription
Couponinteger/stringCoupon ID or code

Optional Fields

All fields from Create Coupon can be updated.

Example Configurations

Extend Expiry

Coupon: {{Trigger.coupon_code}}
Expiry Date: +30 days

Increase Discount

Coupon: HOLIDAY2024
Amount: 25

Reset Usage

Coupon: {{Trigger.coupon_id}}
Usage Limit: 100

Add Restrictions

Coupon: SPECIAL10
Minimum Spend: 50
Maximum Spend: 200

Output Data

VariableTypeDescription
{{Action.coupon_id}}integerCoupon ID
{{Action.code}}stringCoupon code

Common Workflows

VIP Upgrade

  1. Trigger: Customer reaches VIP status
  2. Action: Update Coupon
    • Increase discount percentage
    • Remove restrictions

Flash Sale

  1. Trigger: Sale starts
  2. Action: Update Coupon
    • Increase amount temporarily
    • Set short expiry

Usage Reset

  1. Trigger: Monthly schedule
  2. Action: Update Coupon
    • Reset usage count

Best Practices

  • Track changes for audit
  • Notify affected customers
  • Test changes before peak times
  • Document promotion schedules