v1

latestOpenAPI 3.0.12026-07-24501176.6 MB

Update coupon code expiry date

put/coupon/bulk/expiry

Request body

couponSeriesIdinteger

The ID of the series the coupon belongs to.

couponCodestring required

The code of the coupon.

expiryDatestring required

The expiry date of the coupon (YYYY-MM-DDTHH:MM:SSZ). **NOTE: **Time should not be passed in the field only but only date with timezone. Example:- "expiryDate":"2025-02-28T00:00:00Z" or "expiryDate":"2025-10-01T00:00:00+05:30"

Response

200

OR
OR
OR
OR

Example response

{
  "entity": {
    "totalCount": 2,
    "successCount": 2,
    "userId": 555567088,
    "couponSeriesId": 415446
  },
  "success": true
}