> ## Documentation Index
> Fetch the complete documentation index at: https://docs.partnero.com/llms.txt
> Use this file to discover all available pages before exploring further.

# WooCommerce coupons

### What are coupons?

Coupon marketing is a strategy that uses discounts and other incentives to encourage consumers to purchase. Digital coupons can be redeemed online or in-store, and they typically offer a percentage discount, free shipping, or other type of bonus.

Partnero and WooCommerce integration allows you to connect and synchronize coupons between WooCommerce and Partnero. There are two ways to do that:

1. Create coupons on Partnero and sync with WooCommerce or
2. Create coupons on WooCommerce and sync with Partnero.

***

### Integration

The following steps are required to use this feature:

1. In your affiliate program, go to **Integration**: <img src="https://mintcdn.com/partnero/dIlz41f0imTLbzhF/images/articles/woocommerce-coupons/fc2adcb5.webp?fit=max&auto=format&n=dIlz41f0imTLbzhF&q=85&s=101a3a30ae0f1bdd52720eb7e4005c0d" alt="" width="2866" height="1542" data-path="images/articles/woocommerce-coupons/fc2adcb5.webp" />
2. Scroll down to Apps & integrations and click **Authorize** next to **WooCommerce Coupons**: <img src="https://mintcdn.com/partnero/dIlz41f0imTLbzhF/images/articles/woocommerce-coupons/e945292f.webp?fit=max&auto=format&n=dIlz41f0imTLbzhF&q=85&s=b6a3534d0be25cd231006259fa41b830" alt="" width="2872" height="1546" data-path="images/articles/woocommerce-coupons/e945292f.webp" />
3. Here, you'll need to enter your Site URL, Consumer Key, and Consumer Secret: <img src="https://mintcdn.com/partnero/dIlz41f0imTLbzhF/images/articles/woocommerce-coupons/a1891c10.webp?fit=max&auto=format&n=dIlz41f0imTLbzhF&q=85&s=b42424654d14b2c2382a62c6a99f4e5c" alt="" width="2878" height="1538" data-path="images/articles/woocommerce-coupons/a1891c10.webp" />To find them, open your WordPress store. Go to **WooCommerce** > **Settings**. Open the **Advanced** tab and select the **REST API** menu: <img src="https://mintcdn.com/partnero/dIlz41f0imTLbzhF/images/articles/woocommerce-coupons/282af35b.webp?fit=max&auto=format&n=dIlz41f0imTLbzhF&q=85&s=0644818392ddd6dfe1c35ac3064ccb56" alt="" width="2876" height="1520" data-path="images/articles/woocommerce-coupons/282af35b.webp" />Click **Add key** to create a new API key for Partnero. Copy the information to Partnero.
4. Click **Authorize**.

If successful, you'll see the **Connected** badge next to the integration.

> **WooCommerce Coupon** integration can be used independently of the main [WooCommerce integration](/integrations/woocommerce). If you only want to track coupons, WooCommerce Coupon integration is sufficient.
>
> If you'd like to track all referred transactions, then the  main [WooCommerce integration](/integrations/woocommerce) is also required.

***

### Create coupons on Partnero and sync with WooCommerce

This option allows you to create new coupon codes directly on Partnero. After you create the codes, they are automatically synced with your WooCommerce account.

1. Open your affiliate program on Partnero.
2. Go to **Coupons** under Program.
3. Click **New Coupon** and select **New WooCommerce coupo**n from the dropdown: <img src="https://mintcdn.com/partnero/dIlz41f0imTLbzhF/images/articles/woocommerce-coupons/cb11d1c3.webp?fit=max&auto=format&n=dIlz41f0imTLbzhF&q=85&s=efdb77d59ec292874c5cf86d223224ce" alt="" width="2876" height="1524" data-path="images/articles/woocommerce-coupons/cb11d1c3.webp" />
4. Set up the desired coupon structure: <img src="https://mintcdn.com/partnero/dIlz41f0imTLbzhF/images/articles/woocommerce-coupons/45025de9.webp?fit=max&auto=format&n=dIlz41f0imTLbzhF&q=85&s=c2d6cb7fecc48a56e571f4353b2544f2" alt="" width="2876" height="1548" data-path="images/articles/woocommerce-coupons/45025de9.webp" />
   1. Add coupon name and internal name (optional)
   2. Select coupon type (percentage or fixed amount)
   3. Select coupon duration (how long the coupon is valid for)
   4. Define redemption expiry (coupon availability date range) and redemption limits (total number of times the coupon can be redeemed).
5. Next, set up customer-facing promotion codes for the coupon. You can create them manually, or generate automatically: <img src="https://mintcdn.com/partnero/dIlz41f0imTLbzhF/images/articles/woocommerce-coupons/b18f58e1.webp?fit=max&auto=format&n=dIlz41f0imTLbzhF&q=85&s=1c80bc899bd8cbe9e8cab3a3ed253c20" alt="" width="2868" height="1538" data-path="images/articles/woocommerce-coupons/b18f58e1.webp" />
   1. Manual promotion codes: create codes manually and assign them to specific partners: <img src="https://mintcdn.com/partnero/dIlz41f0imTLbzhF/images/articles/woocommerce-coupons/58c7dac1.webp?fit=max&auto=format&n=dIlz41f0imTLbzhF&q=85&s=b3997210da13718d1ff311b988bf9690" alt="" width="2874" height="1542" data-path="images/articles/woocommerce-coupons/58c7dac1.webp" />
   2. Automatic promotion codes: each partner automatically gets a unique promo code when they join your program: <img src="https://mintcdn.com/partnero/dIlz41f0imTLbzhF/images/articles/woocommerce-coupons/43cf9867.webp?fit=max&auto=format&n=dIlz41f0imTLbzhF&q=85&s=9ff7a3a6f799b7eca125c708b7221c65" alt="" width="2866" height="1548" data-path="images/articles/woocommerce-coupons/43cf9867.webp" />[Read more about creating promotion codes here](/knowledge-base/shopify/how-to-use-promotion-codes).
6. Click **Create**.
7. Open the Coupons section on WooCommerce - you should also see the newly created coupon there:<img src="https://mintcdn.com/partnero/dIlz41f0imTLbzhF/images/articles/woocommerce-coupons/15205c13.webp?fit=max&auto=format&n=dIlz41f0imTLbzhF&q=85&s=36935cbd6db82a291629d699622d0803" alt="" width="2876" height="1318" data-path="images/articles/woocommerce-coupons/15205c13.webp" />

***

### Create coupons on WooCommerce and sync with Partnero

This option lets you create new coupon codes on WooCommerce and sync them with your Partnero account.

Once you integrate WooCommerce and Partnero, WooCommerce will automatically send all required data to Partnero. When you create a coupon on WooCommerce, it will automatically be synced with Partnero and appear under **Program** > **Coupons**.

[Here's how to create a coupon on WooCommerce.](https://woocommerce.com/posts/coupons-with-woocommerce/)

***

### Sync existing WooCommerce coupons with Partnero

If you already have coupons on Stripe, you can sync them with Partnero:

1. Go to **Coupons** under **Program**.
2. Click **Sync coupons** and select **Sync WooCommerce coupo\*\*\*\*ns**: <img src="https://mintcdn.com/partnero/dIlz41f0imTLbzhF/images/articles/woocommerce-coupons/fb2d0356.webp?fit=max&auto=format&n=dIlz41f0imTLbzhF&q=85&s=5d4ddbfa42e89fbe18a0d2e73db2c88b" alt="" width="2878" height="1522" data-path="images/articles/woocommerce-coupons/fb2d0356.webp" />
3. You should now see a list of WooCommerce coupons on Partnero.

***

Now that your coupons are ready, it's time to set up [dynamic rewards](/knowledge-base/referral-programs/offer-woocommerce-coupons-as-rewards)!


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.