---
title: "Issue bulk coupons"
method: POST
path: "/coupon/bulk/issue"
---

# Issue bulk coupons

`POST /coupon/bulk/issue`

## Query parameters

- `source` 'FACEBOOK' | 'WEB_ENGAGE' | 'WECHAT' | 'INSTORE' | 'MARTJACK' | 'TMALL' | 'TAOBAO' | 'JD' | 'ECOMMERCE' | 'WEBSITE' | 'LINE' | 'MOBILE_APP', required
- `accountId` string

## Request body

- object
  - `seriesIds` integer[], required — Coupon series IDs (offerIds) from which you want to issue coupons.
  - `customer` object — Details of customer to whom the coupons need to send.
    - `id` integer — Unique ID of the customer.
    - `mobile` string — Unique mobile number of the customer.
    - `email` string — Registered email ID of the customer.
    - `externalId` string — Unique external ID of the customer.

## Response `200`

200

- object
  - `response` object[]
    - `entityId` integer
    - `result` object
      - `code` string
      - `seriesId` integer
      - `description` string
      - `discountCode` string
      - `validTill` string
      - `discountType` string
      - `discountValue` integer
      - `discountUpto` integer
      - `discountOn` string
      - `detailedInfo` string
      - `redemptionCount` integer
      - `id` integer
    - `errors` unknown[]
      - unknown
    - `warnings` unknown[]
      - unknown
  - `totalCount` integer
  - `failureCount` integer

## Other responses

- `400` — 400

---

[API](https://skmtc.net/capillarytech/apis/sample-api.md) · [All operations](https://skmtc.net/capillarytech/apis/sample-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/capillarytech/sample-api/versions/de241f2ed9b3/schema)
