# Coupon issued

Endpoint: POST coupon-issued
Version: latest
Security: SecretApiKey, JWT

## Request fields (application/json):

  - `couponId` (string)
    ID of the coupon.

  - `eventType` (string)
    Type of event that triggered the webhook.
    Enum: "coupon-expiration-modified", "coupon-expired", "coupon-issued", "coupon-modified"

  - `_embedded` (object)
    Embedded objects related to the coupon event.

  - `_embedded.coupon` (object)
    Coupons and discounts.

  - `_embedded.coupon.discount` (any, required)

  - `_embedded.coupon.restrictions` (array)
    Coupon restrictions.
All type values in this array must be unique.

  - `_embedded.coupon.description` (string)
    Description of the coupon.
Use this field to provide a description for the invoice discount item.

If this field is empty,
the invoice discount item description uses the related coupon ID,
in the following format: Coupon "COUPON-ID".

  - `_embedded.coupon.issuedTime` (string, required)
    Date and time when the coupon is issued.
This value may also be described as start time of the coupon.

  - `_embedded.coupon.expiredTime` (string,null)
    Date and time when the coupon expires.

  - `_links` (array)
    Links to related resources.

  - `_links.href` (string)
    URL of the link.

  - `_links.rel` (string)
    Relationship type of the link.
    Enum: "coupon"


## Response 2xx fields
