---
title: "Upload Redeemed Coupons"
method: POST
path: "/upload/redeemFile/{couponSeriesId}"
---

# Upload Redeemed Coupons

`POST /upload/redeemFile/{couponSeriesId}`

Lets you upload coupons that are redeemed for a coupon series in bulk. 

You can also import coupons (Capillary CRM) that are redeemed externally using an endpoint.

## Path parameters

- `couponSeriesId` string, required

## Headers

- `Content-Type` 'multipart/form-data', required

## Request body

- object
  - `customerIdentifier` 'MOBILE' | 'EXTERNAL_ID' | 'EMAIL' | 'USER_ID', required — Unique identifier of the customer to update redeemed coupons.
  - `couponIdentifier` 'COUPON_ID' | 'COUPON_CODE', required — Coupon identifier used.
  - `file` string — The CSV file that contains information of redeemed coupons. Each row in CSV file can contain following fields(columns marked with * are mandatory).

## Response `200`

200

- object
  - `success` boolean
  - `status` integer
  - `result` object
    - `orgId` integer
    - `couponSeriesId` integer
    - `redeemUploadJobStatuses` object[]
      - `jobId` integer
      - `uploadRedeemedCouponStatus` string
      - `createdOn` string
      - `updatedOn` string
      - `errorFileUrl` unknown
      - `successFileUrl` unknown
      - `uploadedFileUrl` string
      - `totalUploadedCount` integer
      - `actualRowCount` integer
      - `errorCount` integer
      - `uploadTableName` unknown
      - `uploadedFileName` string
    - `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)
