<commit_before>.. _optional/coupons:

Automatic Coupon Creation
=========================

You can reward |advocate| and their |friend| with coupons. Talkable supports both
one-time-use coupons as well as multi-use coupons. If you are using one-time-use
coupons there is a need to refill a list of coupons within Talkable. You will need
to export a list of coupons or provide a multi-use coupon code creation end point.

.. raw:: html

   <h2>Manual Coupon Import</h2>

Add your coupon codes on your campaign settings coupons page.

.. raw:: html

   <h2>REST API to Create Coupons</h2>

`Read this guide`_ for details on the REST API you need to implement.

.. raw:: html

   <h2>Automatic Magento Coupon Creation</h2>

This feature is only available to Enterprise customers.

.. raw:: html

   <h2>Automatic Shopify Coupon Creation</h2>

This feature is only available to Enterprise customers.

.. _Read this guide: http://help.talkable.com/questions/54519-Using-Webhooks-to-create-Single-Use-Coupon-Codes

.. container:: hidden

   .. toctree::<commit_msg>Remove notes about platform-specific coupon creation<commit_after>.. _optional/coupons:

Automatic Coupon Creation
=========================

You can reward |advocate| and their |friend| with coupons. Talkable supports both
one-time-use coupons as well as multi-use coupons. If you are using one-time-use
coupons there is a need to refill a list of coupons within Talkable. You will need
to export a list of coupons or provide a multi-use coupon code creation end point.

.. raw:: html

   <h2>Manual Coupon Import</h2>

Add your coupon codes on your campaign settings coupons page.

.. raw:: html

   <h2>REST API to Create Coupons</h2>

`Read this guide`_ for details on the REST API you need to implement.
{'fraction_non_alphanumeric': 0.1035653650254669, 'fraction_numerical': 0.009620826259196379, 'mean_word_length': 3.9523809523809526, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4794549', 'n_tokens_mistral': 536, 'n_tokens_neox': 510, 'n_words': 229}