---
title: "Upload Coupons (Batch)"
method: POST
path: "/coupon/api/v1/upload/file/{couponSeriedId}"
---

# Upload Coupons (Batch)

`POST /coupon/api/v1/upload/file/{couponSeriedId}`

## Path parameters

- `couponSeriedId*` integer, required

## Request body

- object
  - `RAW_BODY` string

## Response `200`

200

- object
  - `success` boolean
  - `status` integer
  - `result` object
    - `orgId` integer
    - `couponSeriesId` integer
    - `uploadJobStatuses` object[]
      - `jobId` integer
      - `uploadStatus` string
      - `createdOn` string
      - `updatedOn` string
      - `errorFileUrl` unknown
      - `successFileUrl` unknown
      - `uploadedFileUrl` string
      - `totalUploadedCount` integer
      - `actualRowCount` integer
      - `errorCount` integer
      - `uploadTableName` unknown
      - `uploadedFileName` string
      - `audienceGroupId` integer
      - `audienceGroupVersionId` integer
    - `fileName` string

## 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)
