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

# Coupons

> Static and dynamic discount codes that auto-provision in your connected store.

Coupons are discount codes you create in Senderz and use across popups, campaigns, flows and the AI assistant. Dynamic coupons can auto-create in your connected store.

## Static vs dynamic

<CardGroup cols={2}>
  <Card title="Static" icon="ticket">
    One reusable code (e.g. `WELCOME10`). Simple and shareable.
  </Card>

  <Card title="Dynamic" icon="wand-magic-sparkles">
    A segment-targeted coupon that auto-provisions in your store (Shopify or
    WooCommerce).
  </Card>
</CardGroup>

## Discount types

* **Percentage** — e.g. 10% off.
* **Fixed amount** — e.g. ₪25 off.
* **Free shipping**.

Configure applies-to, minimum purchase, combinations, and activation/expiration windows. The code is generated server-side when you don't supply one.

## Store auto-provisioning

A dynamic coupon enqueues a provisioning job that resolves your connected store and creates the discount via the store's API:

<Steps>
  <Step title="Shopify">
    Basic and free-shipping discount mutations. Entire-order discounts in v1
    (product/collection-scoped are a follow-up).
  </Step>

  <Step title="WooCommerce">
    A WooCommerce coupon via the REST API.
  </Step>

  <Step title="Konimbo">
    Not auto-provisioned in v1 — the coupon saves in Senderz.
  </Step>
</Steps>

The coupon row shows a provisioning badge: `pending`, `created` or `failed`.

## AI-assisted coupons

Two AI paths exist:

* The **coupon prompt bar** drafts a coupon from a description (a draft only — nothing is persisted until you confirm), grounded on your brand voice and real segment names.
* The **AI assistant** can create-and-provision a coupon end-to-end through the same service the UI uses — it never calls a store API directly.

<Note>
  Everything the AI does goes through the normal service layer, so row-level
  security, validation and audit logging all apply.
</Note>
