get https://{host}/v2/customers//coupons
This API provides detailed information about customer coupons, including each coupon’s unique code, discount value, expiry date, redemption status, and related campaign details. It also covers specific conditions, such as redemption limits, eligibility criteria, and applicable stores. This API is useful for obtaining in-depth data about each coupon and understanding its terms, usage history, and redemption rules.
Note
For detailed information about our APIs and for hands-on testing, refer documentation in API overview and step-by-step guide on making your first API call in Make your first API call .
Prerequisites
- Authentication: Basic or OAuth authentication
- Default access group
Resource information
URL | /customers/{customerId}/coupons |
HTTP Method | GET |
Pagination | No |
Batch support | No |
Rate limit information | None |
API endpoint example
https://eu.api.capillarytech.com/v2/customers/345635529/coupons?coupon_code_case=LOWER
Request path parameters
Parameters | Data Type | Description |
---|---|---|
customerId | Integer | Unique ID of the customer to fetch coupon details. |
Request query parameters
Parameters | Data Type | Description |
---|---|---|
coupon_code_case | Enum | This parameter helps to retrieve the coupon code in the desired letter cases. By default, the system automatically converts the coupon code to upper case. The query itself is not case sensitive. Supported Values: LOWER: Converts the coupon code to lower case. UPPER: Converts the coupon codes to upper case. AS_IT_IS: It ensure that the coupon code is retrieved exactly as it was created or provided, without altering the letter case. For instance, if the code is "abAB123," it should be retrieved and displayed as "abAB123," maintaining its original formatting. |
Response parameters
Parameter | Description |
---|---|
id | Unique identifier for the coupon. |
seriesId | Identifier for the series the coupon belongs to. |
code | Coupon code. |
description | Description of the coupon. |
createdDate | Date when the coupon was created. |
validTill | Expiry date of the coupon. |
isRedeemed | Indicates if the coupon has been redeemed. |
issuedTo | User ID to whom the coupon is issued. |
issuedBy | User ID who issued the coupon. |
issuedAt.id | Store ID where the coupon was issued. |
issuedAt.code | Store code. |
issuedAt.description | Store description. |
issuedAt.name | Store name . |
status.statusCode.status | Status of the coupon resend operation. |
status.statusCode.code | Status code of the coupon resend operation. |
status.statusCode.message | Message regarding the coupon resend operation. |
couponDiscountType | Type of discount applied. |
issuedOn | Date when the coupon was issued. |
activeFrom | Date from when the coupon is active. |
redemptionsLeft | Number of redemptions left for the coupon. |
couponStatus.statusCode.status | Status of the coupon. |
discountValue | Value of the discount. |
discountUpto | Maximum discount applicable. |
redeemed | Indicates if the coupon has been redeemed. |
seriesName | Name of the coupon series. |
{
"entity": [
{
"id": 33267197,
"seriesId": 14162,
"series": {
"id": 14162,
"orgId": 50074,
"description": "Mobile Push offer 1",
"discountCode": "MobilePush",
"validTillDate": "2118-09-10T16:09:02+05:30",
"validDaysFromCreation": 30,
"expiryStrategyValue": 200,
"maxCreate": 1000,
"maxRedeem": -1,
"isTransferrable": false,
"anyUser": false,
"sameUserMultipleRedeem": false,
"isReferralExistingUsersAllowed": false,
"isMultipleUseAllowed": false,
"isValidationRequired": false,
"isValidWithDiscountedItem": false,
"createdBy": 4,
"numIssued": 78,
"numRedeemed": 6,
"createdOn": "2018-09-10T14:45:06+05:30",
"lastUsed": "2019-10-31T16:47:39+05:30",
"seriesCode": "GM0V3HXC",
"smsTemplate": "{{full_name}} Your Coupon code {{voucher}} Expires on {{valid_days_from_create}} {{optout}}",
"isSMSDisabled": false,
"isUpdateProductData": false,
"info": "Mobile Push offer 1",
"isMultipleVouchersPerUserAllowed": true,
"doNotResendExistingVoucher": true,
"mutualExclusiveSeriesIds": "[]",
"storeIdsJson": "[-1]",
"isDvsEnabled": false,
"dvsExpiryDate": "2019-11-30T00:00:00+05:30",
"priority": 0,
"shortSMSTemplate": "Hello {{cust_name}}, your voucher code is {{voucher_code}}",
"maxVouchersPerUser": -1,
"minDaysBetweenVouchers": -1,
"maxReferralsPerReferee": -1,
"discountUpto": 0,
"discountValue": 10,
"dvsItems": "false",
"redemptionRange": "{\"dom\":[\"-1\"],\"dow\":[\"-1\"],\"hours\":[\"-1\"]}",
"minBillAmount": 0,
"maxBillAmount": 9007199254740991,
"redeemAtStore": "[-1]",
"campaignId": -1,
"tag": "Mobile Push offer 1",
"maxRedemptionsInSeriesPerUser": -1,
"minDaysBetweenRedemption": -1,
"redemptionValidFrom": "1970-01-01T05:30:00+05:30",
"sourceOrgId": -1,
"issueToLoyalty": false,
"redeemStoreType": "redeemable_stores",
"offlineRedeemType": false,
"isOldFlowEnabled": false,
"isPreRedeemEventRequired": false,
"brands": [],
"products": [],
"categories": [],
"termsAndConditions": "T&C apply",
"signalRedemptionEvent": true,
"syncToClient": false,
"showPinCode": false,
"validRedemptionOrgEntityDetails": {
"concepts": [],
"zones": [],
"stores": [],
"tills": []
},
"seriesType": "LOYALTY",
"clientHandlingType": "DISC_CODE",
"expiryStrategyType": "DAYS",
"discountOn": "BILL",
"discountType": "PERC",
"dvsExpiryDateFormat": "2019-11-30",
"updateProductData": false,
"validTilldateFormat": "2118-09-10",
"redemptionValidFromFormat": "1970-01-01"
},
"code": "ER07BCJ8",
"description": "Mobile Push offer 1",
"createdDate": "2019-10-31T17:15:02+05:30",
"validTill": "2020-05-18T23:59:59+05:30",
"isRedeemed": false,
"issuedTo": 343040815,
"issuedBy": 50006796,
"orgId": 50074,
"refId": 0,
"issuedAt": {
"id": 50006795,
"code": "storecode",
"description": "webenagestore",
"name": "webstore1",
"type": "STORE",
"adminType": "GENERAL",
"isOrgUnit": false
},
"status": {
"statusCode": {
"status": true,
"code": 700,
"message": "Coupon Resent"
},
"warnings": [],
"warningsAsStatusCode": [],
"code": 700,
"success": true,
"message": "Coupon Resent"
},
"couponDiscountType": "PERC",
"issuedOn": "2019-10-31T17:15:02+05:30",
"activeFrom": "2019-10-31T00:00:00+05:30",
"redemptionsLeft": -1,
"couponStatus": {
"statusCode": {
"status": true,
"code": 200,
"message": "Success"
},
"warnings": [],
"warningsAsStatusCode": [],
"code": 200,
"success": true,
"message": "Success"
},
"redemptionInfo": [],
"discountType": false,
"discountValue": 10,
"discountUpto": 0,
"redeemed": false,
"seriesName": "Mobile Push offer 1",
"trimmedCode": "ER07BCJ8"
},
{
"id": 33267195,
"seriesId": 14162,
"series": {
"id": 14162,
"orgId": 50074,
"description": "Mobile Push offer 1",
"discountCode": "MobilePush",
"validTillDate": "2118-09-10T16:09:02+05:30",
"validDaysFromCreation": 30,
"expiryStrategyValue": 200,
"maxCreate": 1000,
"maxRedeem": -1,
"isTransferrable": false,
"anyUser": false,
"sameUserMultipleRedeem": false,
"isReferralExistingUsersAllowed": false,
"isMultipleUseAllowed": false,
"isValidationRequired": false,
"isValidWithDiscountedItem": false,
"createdBy": 4,
"numIssued": 78,
"numRedeemed": 6,
"createdOn": "2018-09-10T14:45:06+05:30",
"lastUsed": "2019-10-31T16:47:39+05:30",
"seriesCode": "GM0V3HXC",
"smsTemplate": "{{full_name}} Your Coupon code {{voucher}} Expires on {{valid_days_from_create}} {{optout}}",
"isSMSDisabled": false,
"isUpdateProductData": false,
"info": "Mobile Push offer 1",
"isMultipleVouchersPerUserAllowed": true,
"doNotResendExistingVoucher": true,
"mutualExclusiveSeriesIds": "[]",
"storeIdsJson": "[-1]",
"isDvsEnabled": false,
"dvsExpiryDate": "2019-11-30T00:00:00+05:30",
"priority": 0,
"shortSMSTemplate": "Hello {{cust_name}}, your voucher code is {{voucher_code}}",
"maxVouchersPerUser": -1,
"minDaysBetweenVouchers": -1,
"maxReferralsPerReferee": -1,
"discountUpto": 0,
"discountValue": 10,
"dvsItems": "false",
"redemptionRange": "{\"dom\":[\"-1\"],\"dow\":[\"-1\"],\"hours\":[\"-1\"]}",
"minBillAmount": 0,
"maxBillAmount": 9007199254740991,
"redeemAtStore": "[-1]",
"campaignId": -1,
"tag": "Mobile Push offer 1",
"maxRedemptionsInSeriesPerUser": -1,
"minDaysBetweenRedemption": -1,
"redemptionValidFrom": "1970-01-01T05:30:00+05:30",
"sourceOrgId": -1,
"issueToLoyalty": false,
"redeemStoreType": "redeemable_stores",
"offlineRedeemType": false,
"isOldFlowEnabled": false,
"isPreRedeemEventRequired": false,
"brands": [],
"products": [],
"categories": [],
"termsAndConditions": "T&C apply",
"signalRedemptionEvent": true,
"syncToClient": false,
"showPinCode": false,
"validRedemptionOrgEntityDetails": {
"concepts": [],
"zones": [],
"stores": [],
"tills": []
},
"seriesType": "LOYALTY",
"clientHandlingType": "DISC_CODE",
"expiryStrategyType": "DAYS",
"discountOn": "BILL",
"discountType": "PERC",
"dvsExpiryDateFormat": "2019-11-30",
"updateProductData": false,
"validTilldateFormat": "2118-09-10",
"redemptionValidFromFormat": "1970-01-01"
},
"code": "H306ORH2",
"description": "Mobile Push offer 1",
"createdDate": "2019-10-31T17:14:49+05:30",
"validTill": "2020-05-18T23:59:59+05:30",
"isRedeemed": false,
"issuedTo": 343040815,
"issuedBy": 50006796,
"orgId": 50074,
"refId": 0,
"issuedAt": {
"id": 50006795,
"code": "storecode",
"description": "webenagestore",
"name": "webstore1",
"type": "STORE",
"adminType": "GENERAL",
"isOrgUnit": false
},
"status": {
"statusCode": {
"status": true,
"code": 700,
"message": "Coupon Resent"
},
"warnings": [],
"warningsAsStatusCode": [],
"code": 700,
"success": true,
"message": "Coupon Resent"
},
"couponDiscountType": "PERC",
"issuedOn": "2019-10-31T17:14:49+05:30",
"activeFrom": "2019-10-31T00:00:00+05:30",
"redemptionsLeft": -1,
"couponStatus": {
"statusCode": {
"status": true,
"code": 200,
"message": "Success"
},
"warnings": [],
"warningsAsStatusCode": [],
"code": 200,
"success": true,
"message": "Success"
},
"redemptionInfo": [],
"discountType": false,
"discountValue": 10,
"discountUpto": 0,
"redeemed": false,
"seriesName": "Mobile Push offer 1",
"trimmedCode": "H306ORH2"
}
],
"warnings": [],
"errors": [],
"success": true
}
{
"entity": [
{
"id": 39004111,
"seriesId": 68579,
"series": {
"id": 68579,
"orgId": 50339,
"description": "test-lekhana-2",
"discountCode": "NO_VALUE",
"validTillDate": "2024-10-31T00:00:00Z",
"validDaysFromCreation": 30,
"expiryStrategyValue": 1,
"maxCreate": -1,
"maxRedeem": -1,
"isTransferrable": false,
"anyUser": false,
"sameUserMultipleRedeem": false,
"isReferralExistingUsersAllowed": false,
"isMultipleUseAllowed": false,
"isValidationRequired": false,
"isValidWithDiscountedItem": false,
"createdBy": 4,
"numIssued": 6,
"numRedeemed": 0,
"createdOn": "2024-10-10T05:06:25Z",
"lastUsed": "2024-10-10T05:06:25Z",
"seriesCode": "WIYHXBMY",
"smsTemplate": "TEST_AUTO",
"isSMSDisabled": false,
"isUpdateProductData": false,
"info": "test-lekhana-2",
"isMultipleVouchersPerUserAllowed": true,
"doNotResendExistingVoucher": true,
"mutualExclusiveSeriesIds": "[]",
"storeIdsJson": "[-1]",
"isDvsEnabled": false,
"dvsExpiryDate": "2024-11-09T00:00:00Z",
"priority": 0,
"shortSMSTemplate": "Hello {{cust_name}}, your voucher code is {{voucher_code}}",
"maxVouchersPerUser": -1,
"minDaysBetweenVouchers": -1,
"maxReferralsPerReferee": -1,
"discountUpto": 0,
"discountValue": 10,
"dvsItems": "false",
"redemptionRange": "{\"dom\":[\"-1\"],\"dow\":[\"-1\"],\"hours\":[\"-1\"]}",
"minBillAmount": 0,
"maxBillAmount": 9007199254740991,
"redeemAtStore": "[-1]",
"campaignId": -1,
"tag": "test-lekhana-2",
"maxRedemptionsInSeriesPerUser": -1,
"minDaysBetweenRedemption": -1,
"redemptionValidFrom": "1970-01-01T00:00:00Z",
"sourceOrgId": -1,
"issueToLoyalty": false,
"redeemStoreType": "redeemable_stores",
"offlineRedeemType": false,
"isOldFlowEnabled": false,
"isPreRedeemEventRequired": false,
"brands": [],
"products": [],
"categories": [],
"termsAndConditions": "T&C apply",
"signalRedemptionEvent": true,
"syncToClient": false,
"showPinCode": false,
"validRedemptionOrgEntityDetails": {
"concepts": [],
"zones": [],
"stores": [],
"tills": []
},
"seriesType": "UNDEFINED",
"clientHandlingType": "DISC_CODE",
"expiryStrategyType": "SERIES_EXPIRY",
"discountOn": "BILL",
"discountType": "ABS",
"entityLevelRedemptionConfigsValues": [],
"validTilldateFormat": "2024-10-31",
"redemptionValidFromFormat": "1970-01-01",
"dvsExpiryDateFormat": "2024-11-09",
"updateProductData": false
},
"code": "tt6wzp7xnw",
"description": "test-lekhana-2",
"createdDate": "2024-10-11T13:18:03Z",
"validTill": "2024-10-31T23:59:59Z",
"isRedeemed": false,
"issuedTo": 345635529,
"issuedBy": 50143661,
"orgId": 50339,
"refId": 0,
"issuedAt": {
"id": 50143656,
"code": "store123",
"description": "MarvelAuto_Store_For_Automation",
"name": "MarvelAuto_Store",
"type": "STORE",
"adminType": "GENERAL",
"isOrgUnit": false
},
"status": {
"statusCode": {
"status": true,
"message": "Coupon Resent",
"code": 700
},
"warnings": [],
"warningsAsStatusCode": [],
"message": "Coupon Resent",
"code": 700,
"success": true
},
"couponDiscountType": "ABS",
"issuedOn": "2024-10-11T13:18:03Z",
"activeFrom": "2024-10-11T13:18:03Z",
"redemptionsLeft": 1,
"couponStatus": {
"statusCode": {
"status": true,
"message": "Success",
"code": 200
},
"warnings": [],
"warningsAsStatusCode": [],
"message": "Success",
"code": 200,
"success": true
},
"redemptionInfo": [],
"reversedRedemptionInfo": [],
"discountType": true,
"discountValue": 10,
"discountValueAsDouble": 10.0,
"discountUpto": 0,
"trimmedCode": "tt6wzp7xnw",
"redeemed": false,
"seriesName": "test-lekhana-2"
},
{
"id": 39004112,
"seriesId": 68579,
"series": {
"id": 68579,
"orgId": 50339,
"description": "test-lekhana-2",
"discountCode": "NO_VALUE",
"validTillDate": "2024-10-31T00:00:00Z",
"validDaysFromCreation": 30,
"expiryStrategyValue": 1,
"maxCreate": -1,
"maxRedeem": -1,
"isTransferrable": false,
"anyUser": false,
"sameUserMultipleRedeem": false,
"isReferralExistingUsersAllowed": false,
"isMultipleUseAllowed": false,
"isValidationRequired": false,
"isValidWithDiscountedItem": false,
"createdBy": 4,
"numIssued": 6,
"numRedeemed": 0,
"createdOn": "2024-10-10T05:06:25Z",
"lastUsed": "2024-10-10T05:06:25Z",
"seriesCode": "WIYHXBMY",
"smsTemplate": "TEST_AUTO",
"isSMSDisabled": false,
"isUpdateProductData": false,
"info": "test-lekhana-2",
"isMultipleVouchersPerUserAllowed": true,
"doNotResendExistingVoucher": true,
"mutualExclusiveSeriesIds": "[]",
"storeIdsJson": "[-1]",
"isDvsEnabled": false,
"dvsExpiryDate": "2024-11-09T00:00:00Z",
"priority": 0,
"shortSMSTemplate": "Hello {{cust_name}}, your voucher code is {{voucher_code}}",
"maxVouchersPerUser": -1,
"minDaysBetweenVouchers": -1,
"maxReferralsPerReferee": -1,
"discountUpto": 0,
"discountValue": 10,
"dvsItems": "false",
"redemptionRange": "{\"dom\":[\"-1\"],\"dow\":[\"-1\"],\"hours\":[\"-1\"]}",
"minBillAmount": 0,
"maxBillAmount": 9007199254740991,
"redeemAtStore": "[-1]",
"campaignId": -1,
"tag": "test-lekhana-2",
"maxRedemptionsInSeriesPerUser": -1,
"minDaysBetweenRedemption": -1,
"redemptionValidFrom": "1970-01-01T00:00:00Z",
"sourceOrgId": -1,
"issueToLoyalty": false,
"redeemStoreType": "redeemable_stores",
"offlineRedeemType": false,
"isOldFlowEnabled": false,
"isPreRedeemEventRequired": false,
"brands": [],
"products": [],
"categories": [],
"termsAndConditions": "T&C apply",
"signalRedemptionEvent": true,
"syncToClient": false,
"showPinCode": false,
"validRedemptionOrgEntityDetails": {
"concepts": [],
"zones": [],
"stores": [],
"tills": []
},
"seriesType": "UNDEFINED",
"clientHandlingType": "DISC_CODE",
"expiryStrategyType": "SERIES_EXPIRY",
"discountOn": "BILL",
"discountType": "ABS",
"entityLevelRedemptionConfigsValues": [],
"validTilldateFormat": "2024-10-31",
"redemptionValidFromFormat": "1970-01-01",
"dvsExpiryDateFormat": "2024-11-09",
"updateProductData": false
},
"code": "ziwy7lzgw8",
"description": "test-lekhana-2",
"createdDate": "2024-10-11T13:18:03Z",
"validTill": "2024-10-31T23:59:59Z",
"isRedeemed": false,
"issuedTo": 345635529,
"issuedBy": 50143661,
"orgId": 50339,
"refId": 0,
"issuedAt": {
"id": 50143656,
"code": "store123",
"description": "MarvelAuto_Store_For_Automation",
"name": "MarvelAuto_Store",
"type": "STORE",
"adminType": "GENERAL",
"isOrgUnit": false
},
"status": {
"statusCode": {
"status": true,
"message": "Coupon Resent",
"code": 700
},
"warnings": [],
"warningsAsStatusCode": [],
"message": "Coupon Resent",
"code": 700,
"success": true
},
"couponDiscountType": "ABS",
"issuedOn": "2024-10-11T13:18:03Z",
"activeFrom": "2024-10-11T13:18:03Z",
"redemptionsLeft": 1,
"couponStatus": {
"statusCode": {
"status": true,
"message": "Success",
"code": 200
},
"warnings": [],
"warningsAsStatusCode": [],
"message": "Success",
"code": 200,
"success": true
},
"redemptionInfo": [],
"reversedRedemptionInfo": [],
"discountType": true,
"discountValue": 10,
"discountValueAsDouble": 10.0,
"discountUpto": 0,
"trimmedCode": "ziwy7lzgw8",
"redeemed": false,
"seriesName": "test-lekhana-2"
},
{
"id": 39004113,
"seriesId": 68579,
"series": {
"id": 68579,
"orgId": 50339,
"description": "test-lekhana-2",
"discountCode": "NO_VALUE",
"validTillDate": "2024-10-31T00:00:00Z",
"validDaysFromCreation": 30,
"expiryStrategyValue": 1,
"maxCreate": -1,
"maxRedeem": -1,
"isTransferrable": false,
"anyUser": false,
"sameUserMultipleRedeem": false,
"isReferralExistingUsersAllowed": false,
"isMultipleUseAllowed": false,
"isValidationRequired": false,
"isValidWithDiscountedItem": false,
"createdBy": 4,
"numIssued": 6,
"numRedeemed": 0,
"createdOn": "2024-10-10T05:06:25Z",
"lastUsed": "2024-10-10T05:06:25Z",
"seriesCode": "WIYHXBMY",
"smsTemplate": "TEST_AUTO",
"isSMSDisabled": false,
"isUpdateProductData": false,
"info": "test-lekhana-2",
"isMultipleVouchersPerUserAllowed": true,
"doNotResendExistingVoucher": true,
"mutualExclusiveSeriesIds": "[]",
"storeIdsJson": "[-1]",
"isDvsEnabled": false,
"dvsExpiryDate": "2024-11-09T00:00:00Z",
"priority": 0,
"shortSMSTemplate": "Hello {{cust_name}}, your voucher code is {{voucher_code}}",
"maxVouchersPerUser": -1,
"minDaysBetweenVouchers": -1,
"maxReferralsPerReferee": -1,
"discountUpto": 0,
"discountValue": 10,
"dvsItems": "false",
"redemptionRange": "{\"dom\":[\"-1\"],\"dow\":[\"-1\"],\"hours\":[\"-1\"]}",
"minBillAmount": 0,
"maxBillAmount": 9007199254740991,
"redeemAtStore": "[-1]",
"campaignId": -1,
"tag": "test-lekhana-2",
"maxRedemptionsInSeriesPerUser": -1,
"minDaysBetweenRedemption": -1,
"redemptionValidFrom": "1970-01-01T00:00:00Z",
"sourceOrgId": -1,
"issueToLoyalty": false,
"redeemStoreType": "redeemable_stores",
"offlineRedeemType": false,
"isOldFlowEnabled": false,
"isPreRedeemEventRequired": false,
"brands": [],
"products": [],
"categories": [],
"termsAndConditions": "T&C apply",
"signalRedemptionEvent": true,
"syncToClient": false,
"showPinCode": false,
"validRedemptionOrgEntityDetails": {
"concepts": [],
"zones": [],
"stores": [],
"tills": []
},
"seriesType": "UNDEFINED",
"clientHandlingType": "DISC_CODE",
"expiryStrategyType": "SERIES_EXPIRY",
"discountOn": "BILL",
"discountType": "ABS",
"entityLevelRedemptionConfigsValues": [],
"validTilldateFormat": "2024-10-31",
"redemptionValidFromFormat": "1970-01-01",
"dvsExpiryDateFormat": "2024-11-09",
"updateProductData": false
},
"code": "hu1dh75hny",
"description": "test-lekhana-2",
"createdDate": "2024-10-11T13:18:03Z",
"validTill": "2024-10-31T23:59:59Z",
"isRedeemed": false,
"issuedTo": 345635529,
"issuedBy": 50143661,
"orgId": 50339,
"refId": 0,
"issuedAt": {
"id": 50143656,
"code": "store123",
"description": "MarvelAuto_Store_For_Automation",
"name": "MarvelAuto_Store",
"type": "STORE",
"adminType": "GENERAL",
"isOrgUnit": false
},
"status": {
"statusCode": {
"status": true,
"message": "Coupon Resent",
"code": 700
},
"warnings": [],
"warningsAsStatusCode": [],
"message": "Coupon Resent",
"code": 700,
"success": true
},
"couponDiscountType": "ABS",
"issuedOn": "2024-10-11T13:18:03Z",
"activeFrom": "2024-10-11T13:18:03Z",
"redemptionsLeft": 1,
"couponStatus": {
"statusCode": {
"status": true,
"message": "Success",
"code": 200
},
"warnings": [],
"warningsAsStatusCode": [],
"message": "Success",
"code": 200,
"success": true
},
"redemptionInfo": [],
"reversedRedemptionInfo": [],
"discountType": true,
"discountValue": 10,
"discountValueAsDouble": 10.0,
"discountUpto": 0,
"trimmedCode": "hu1dh75hny",
"redeemed": false,
"seriesName": "test-lekhana-2"
},
{
"id": 36502461,
"seriesId": 68579,
"series": {
"id": 68579,
"orgId": 50339,
"description": "test-lekhana-2",
"discountCode": "NO_VALUE",
"validTillDate": "2024-10-31T00:00:00Z",
"validDaysFromCreation": 30,
"expiryStrategyValue": 1,
"maxCreate": -1,
"maxRedeem": -1,
"isTransferrable": false,
"anyUser": false,
"sameUserMultipleRedeem": false,
"isReferralExistingUsersAllowed": false,
"isMultipleUseAllowed": false,
"isValidationRequired": false,
"isValidWithDiscountedItem": false,
"createdBy": 4,
"numIssued": 6,
"numRedeemed": 0,
"createdOn": "2024-10-10T05:06:25Z",
"lastUsed": "2024-10-10T05:06:25Z",
"seriesCode": "WIYHXBMY",
"smsTemplate": "TEST_AUTO",
"isSMSDisabled": false,
"isUpdateProductData": false,
"info": "test-lekhana-2",
"isMultipleVouchersPerUserAllowed": true,
"doNotResendExistingVoucher": true,
"mutualExclusiveSeriesIds": "[]",
"storeIdsJson": "[-1]",
"isDvsEnabled": false,
"dvsExpiryDate": "2024-11-09T00:00:00Z",
"priority": 0,
"shortSMSTemplate": "Hello {{cust_name}}, your voucher code is {{voucher_code}}",
"maxVouchersPerUser": -1,
"minDaysBetweenVouchers": -1,
"maxReferralsPerReferee": -1,
"discountUpto": 0,
"discountValue": 10,
"dvsItems": "false",
"redemptionRange": "{\"dom\":[\"-1\"],\"dow\":[\"-1\"],\"hours\":[\"-1\"]}",
"minBillAmount": 0,
"maxBillAmount": 9007199254740991,
"redeemAtStore": "[-1]",
"campaignId": -1,
"tag": "test-lekhana-2",
"maxRedemptionsInSeriesPerUser": -1,
"minDaysBetweenRedemption": -1,
"redemptionValidFrom": "1970-01-01T00:00:00Z",
"sourceOrgId": -1,
"issueToLoyalty": false,
"redeemStoreType": "redeemable_stores",
"offlineRedeemType": false,
"isOldFlowEnabled": false,
"isPreRedeemEventRequired": false,
"brands": [],
"products": [],
"categories": [],
"termsAndConditions": "T&C apply",
"signalRedemptionEvent": true,
"syncToClient": false,
"showPinCode": false,
"validRedemptionOrgEntityDetails": {
"concepts": [],
"zones": [],
"stores": [],
"tills": []
},
"seriesType": "UNDEFINED",
"clientHandlingType": "DISC_CODE",
"expiryStrategyType": "SERIES_EXPIRY",
"discountOn": "BILL",
"discountType": "ABS",
"entityLevelRedemptionConfigsValues": [],
"validTilldateFormat": "2024-10-31",
"redemptionValidFromFormat": "1970-01-01",
"dvsExpiryDateFormat": "2024-11-09",
"updateProductData": false
},
"code": "vmqvzcvymt",
"description": "test-lekhana-2",
"createdDate": "2024-10-10T10:37:03Z",
"validTill": "2024-10-31T23:59:59Z",
"isRedeemed": false,
"issuedTo": 345635529,
"issuedBy": 50143661,
"orgId": 50339,
"refId": 0,
"issuedAt": {
"id": 50143656,
"code": "store123",
"description": "MarvelAuto_Store_For_Automation",
"name": "MarvelAuto_Store",
"type": "STORE",
"adminType": "GENERAL",
"isOrgUnit": false
},
"status": {
"statusCode": {
"status": true,
"message": "Coupon Resent",
"code": 700
},
"warnings": [],
"warningsAsStatusCode": [],
"message": "Coupon Resent",
"code": 700,
"success": true
},
"couponDiscountType": "ABS",
"issuedOn": "2024-10-10T10:37:03Z",
"activeFrom": "2024-10-10T10:37:03Z",
"redemptionsLeft": 1,
"couponStatus": {
"statusCode": {
"status": true,
"message": "Success",
"code": 200
},
"warnings": [],
"warningsAsStatusCode": [],
"message": "Success",
"code": 200,
"success": true
},
"redemptionInfo": [],
"reversedRedemptionInfo": [],
"discountType": true,
"discountValue": 10,
"discountValueAsDouble": 10.0,
"discountUpto": 0,
"trimmedCode": "vmqvzcvymt",
"redeemed": false,
"seriesName": "test-lekhana-2"
},
{
"id": 36502462,
"seriesId": 68579,
"series": {
"id": 68579,
"orgId": 50339,
"description": "test-lekhana-2",
"discountCode": "NO_VALUE",
"validTillDate": "2024-10-31T00:00:00Z",
"validDaysFromCreation": 30,
"expiryStrategyValue": 1,
"maxCreate": -1,
"maxRedeem": -1,
"isTransferrable": false,
"anyUser": false,
"sameUserMultipleRedeem": false,
"isReferralExistingUsersAllowed": false,
"isMultipleUseAllowed": false,
"isValidationRequired": false,
"isValidWithDiscountedItem": false,
"createdBy": 4,
"numIssued": 6,
"numRedeemed": 0,
"createdOn": "2024-10-10T05:06:25Z",
"lastUsed": "2024-10-10T05:06:25Z",
"seriesCode": "WIYHXBMY",
"smsTemplate": "TEST_AUTO",
"isSMSDisabled": false,
"isUpdateProductData": false,
"info": "test-lekhana-2",
"isMultipleVouchersPerUserAllowed": true,
"doNotResendExistingVoucher": true,
"mutualExclusiveSeriesIds": "[]",
"storeIdsJson": "[-1]",
"isDvsEnabled": false,
"dvsExpiryDate": "2024-11-09T00:00:00Z",
"priority": 0,
"shortSMSTemplate": "Hello {{cust_name}}, your voucher code is {{voucher_code}}",
"maxVouchersPerUser": -1,
"minDaysBetweenVouchers": -1,
"maxReferralsPerReferee": -1,
"discountUpto": 0,
"discountValue": 10,
"dvsItems": "false",
"redemptionRange": "{\"dom\":[\"-1\"],\"dow\":[\"-1\"],\"hours\":[\"-1\"]}",
"minBillAmount": 0,
"maxBillAmount": 9007199254740991,
"redeemAtStore": "[-1]",
"campaignId": -1,
"tag": "test-lekhana-2",
"maxRedemptionsInSeriesPerUser": -1,
"minDaysBetweenRedemption": -1,
"redemptionValidFrom": "1970-01-01T00:00:00Z",
"sourceOrgId": -1,
"issueToLoyalty": false,
"redeemStoreType": "redeemable_stores",
"offlineRedeemType": false,
"isOldFlowEnabled": false,
"isPreRedeemEventRequired": false,
"brands": [],
"products": [],
"categories": [],
"termsAndConditions": "T&C apply",
"signalRedemptionEvent": true,
"syncToClient": false,
"showPinCode": false,
"validRedemptionOrgEntityDetails": {
"concepts": [],
"zones": [],
"stores": [],
"tills": []
},
"seriesType": "UNDEFINED",
"clientHandlingType": "DISC_CODE",
"expiryStrategyType": "SERIES_EXPIRY",
"discountOn": "BILL",
"discountType": "ABS",
"entityLevelRedemptionConfigsValues": [],
"validTilldateFormat": "2024-10-31",
"redemptionValidFromFormat": "1970-01-01",
"dvsExpiryDateFormat": "2024-11-09",
"updateProductData": false
},
"code": "x6wqg8kb01",
"description": "test-lekhana-2",
"createdDate": "2024-10-10T10:37:03Z",
"validTill": "2024-10-31T23:59:59Z",
"isRedeemed": false,
"issuedTo": 345635529,
"issuedBy": 50143661,
"orgId": 50339,
"refId": 0,
"issuedAt": {
"id": 50143656,
"code": "store123",
"description": "MarvelAuto_Store_For_Automation",
"name": "MarvelAuto_Store",
"type": "STORE",
"adminType": "GENERAL",
"isOrgUnit": false
},
"status": {
"statusCode": {
"status": true,
"message": "Coupon Resent",
"code": 700
},
"warnings": [],
"warningsAsStatusCode": [],
"message": "Coupon Resent",
"code": 700,
"success": true
},
"couponDiscountType": "ABS",
"issuedOn": "2024-10-10T10:37:03Z",
"activeFrom": "2024-10-10T10:37:03Z",
"redemptionsLeft": 1,
"couponStatus": {
"statusCode": {
"status": true,
"message": "Success",
"code": 200
},
"warnings": [],
"warningsAsStatusCode": [],
"message": "Success",
"code": 200,
"success": true
},
"redemptionInfo": [],
"reversedRedemptionInfo": [],
"discountType": true,
"discountValue": 10,
"discountValueAsDouble": 10.0,
"discountUpto": 0,
"trimmedCode": "x6wqg8kb01",
"redeemed": false,
"seriesName": "test-lekhana-2"
},
{
"id": 36502463,
"seriesId": 68579,
"series": {
"id": 68579,
"orgId": 50339,
"description": "test-lekhana-2",
"discountCode": "NO_VALUE",
"validTillDate": "2024-10-31T00:00:00Z",
"validDaysFromCreation": 30,
"expiryStrategyValue": 1,
"maxCreate": -1,
"maxRedeem": -1,
"isTransferrable": false,
"anyUser": false,
"sameUserMultipleRedeem": false,
"isReferralExistingUsersAllowed": false,
"isMultipleUseAllowed": false,
"isValidationRequired": false,
"isValidWithDiscountedItem": false,
"createdBy": 4,
"numIssued": 6,
"numRedeemed": 0,
"createdOn": "2024-10-10T05:06:25Z",
"lastUsed": "2024-10-10T05:06:25Z",
"seriesCode": "WIYHXBMY",
"smsTemplate": "TEST_AUTO",
"isSMSDisabled": false,
"isUpdateProductData": false,
"info": "test-lekhana-2",
"isMultipleVouchersPerUserAllowed": true,
"doNotResendExistingVoucher": true,
"mutualExclusiveSeriesIds": "[]",
"storeIdsJson": "[-1]",
"isDvsEnabled": false,
"dvsExpiryDate": "2024-11-09T00:00:00Z",
"priority": 0,
"shortSMSTemplate": "Hello {{cust_name}}, your voucher code is {{voucher_code}}",
"maxVouchersPerUser": -1,
"minDaysBetweenVouchers": -1,
"maxReferralsPerReferee": -1,
"discountUpto": 0,
"discountValue": 10,
"dvsItems": "false",
"redemptionRange": "{\"dom\":[\"-1\"],\"dow\":[\"-1\"],\"hours\":[\"-1\"]}",
"minBillAmount": 0,
"maxBillAmount": 9007199254740991,
"redeemAtStore": "[-1]",
"campaignId": -1,
"tag": "test-lekhana-2",
"maxRedemptionsInSeriesPerUser": -1,
"minDaysBetweenRedemption": -1,
"redemptionValidFrom": "1970-01-01T00:00:00Z",
"sourceOrgId": -1,
"issueToLoyalty": false,
"redeemStoreType": "redeemable_stores",
"offlineRedeemType": false,
"isOldFlowEnabled": false,
"isPreRedeemEventRequired": false,
"brands": [],
"products": [],
"categories": [],
"termsAndConditions": "T&C apply",
"signalRedemptionEvent": true,
"syncToClient": false,
"showPinCode": false,
"validRedemptionOrgEntityDetails": {
"concepts": [],
"zones": [],
"stores": [],
"tills": []
},
"seriesType": "UNDEFINED",
"clientHandlingType": "DISC_CODE",
"expiryStrategyType": "SERIES_EXPIRY",
"discountOn": "BILL",
"discountType": "ABS",
"entityLevelRedemptionConfigsValues": [],
"validTilldateFormat": "2024-10-31",
"redemptionValidFromFormat": "1970-01-01",
"dvsExpiryDateFormat": "2024-11-09",
"updateProductData": false
},
"code": "oo8hf7divr",
"description": "test-lekhana-2",
"createdDate": "2024-10-10T10:37:03Z",
"validTill": "2024-10-31T23:59:59Z",
"isRedeemed": false,
"issuedTo": 345635529,
"issuedBy": 50143661,
"orgId": 50339,
"refId": 0,
"issuedAt": {
"id": 50143656,
"code": "store123",
"description": "MarvelAuto_Store_For_Automation",
"name": "MarvelAuto_Store",
"type": "STORE",
"adminType": "GENERAL",
"isOrgUnit": false
},
"status": {
"statusCode": {
"status": true,
"message": "Coupon Resent",
"code": 700
},
"warnings": [],
"warningsAsStatusCode": [],
"message": "Coupon Resent",
"code": 700,
"success": true
},
"couponDiscountType": "ABS",
"issuedOn": "2024-10-10T10:37:03Z",
"activeFrom": "2024-10-10T10:37:03Z",
"redemptionsLeft": 1,
"couponStatus": {
"statusCode": {
"status": true,
"message": "Success",
"code": 200
},
"warnings": [],
"warningsAsStatusCode": [],
"message": "Success",
"code": 200,
"success": true
},
"redemptionInfo": [],
"reversedRedemptionInfo": [],
"discountType": true,
"discountValue": 10,
"discountValueAsDouble": 10.0,
"discountUpto": 0,
"trimmedCode": "oo8hf7divr",
"redeemed": false,
"seriesName": "test-lekhana-2"
},
{
"id": 36501088,
"seriesId": 68377,
"series": {
"id": 68377,
"orgId": 50339,
"description": "test-lekhana",
"discountCode": "Point-of-sale identifier",
"validTillDate": "2024-10-09T00:00:00Z",
"validDaysFromCreation": 30,
"expiryStrategyValue": 1,
"maxCreate": -1,
"maxRedeem": -1,
"isTransferrable": false,
"anyUser": false,
"sameUserMultipleRedeem": false,
"isReferralExistingUsersAllowed": false,
"isMultipleUseAllowed": false,
"isValidationRequired": false,
"isValidWithDiscountedItem": false,
"createdBy": 4,
"numIssued": 0,
"numRedeemed": 0,
"createdOn": "2024-10-08T12:57:16Z",
"lastUsed": "2024-10-08T22:00:56Z",
"seriesCode": "XH3C311T",
"smsTemplate": "TEST_AUTO",
"isSMSDisabled": false,
"isUpdateProductData": false,
"info": "test-lekhana",
"isMultipleVouchersPerUserAllowed": true,
"doNotResendExistingVoucher": true,
"mutualExclusiveSeriesIds": "[]",
"storeIdsJson": "[-1]",
"isDvsEnabled": false,
"dvsExpiryDate": "2024-11-07T00:00:00Z",
"priority": 0,
"shortSMSTemplate": "Hello {{cust_name}}, your voucher code is {{voucher_code}}",
"maxVouchersPerUser": -1,
"minDaysBetweenVouchers": -1,
"maxReferralsPerReferee": -1,
"discountUpto": 0,
"discountValue": 10,
"dvsItems": "false",
"redemptionRange": "{\"dom\":[\"-1\"],\"dow\":[\"-1\"],\"hours\":[\"-1\"]}",
"minBillAmount": 0,
"maxBillAmount": 9007199254740991,
"redeemAtStore": "[-1]",
"campaignId": -1,
"tag": "test-lekhana",
"maxRedemptionsInSeriesPerUser": -1,
"minDaysBetweenRedemption": -1,
"redemptionValidFrom": "1970-01-01T00:00:00Z",
"sourceOrgId": -1,
"issueToLoyalty": false,
"redeemStoreType": "redeemable_stores",
"offlineRedeemType": false,
"isOldFlowEnabled": false,
"isPreRedeemEventRequired": false,
"brands": [],
"products": [],
"categories": [],
"termsAndConditions": "T&C apply",
"signalRedemptionEvent": true,
"syncToClient": false,
"showPinCode": false,
"metadata": "Metadata for coupon series",
"validRedemptionOrgEntityDetails": {
"concepts": [],
"zones": [],
"stores": [],
"tills": []
},
"seriesType": "UNDEFINED",
"clientHandlingType": "DISC_CODE",
"expiryStrategyType": "SERIES_EXPIRY",
"discountOn": "BILL",
"discountType": "ABS",
"entityLevelRedemptionConfigsValues": [],
"validTilldateFormat": "2024-10-09",
"redemptionValidFromFormat": "1970-01-01",
"dvsExpiryDateFormat": "2024-11-07",
"updateProductData": false
},
"code": "w2jjud9yrguaprdur52o",
"description": "test-lekhana",
"createdDate": "2024-10-08T18:29:14Z",
"validTill": "2024-10-09T23:59:59Z",
"isRedeemed": false,
"issuedTo": 345635529,
"issuedBy": 50143661,
"orgId": 50339,
"refId": 0,
"issuedAt": {
"id": 50143656,
"code": "store123",
"description": "MarvelAuto_Store_For_Automation",
"name": "MarvelAuto_Store",
"type": "STORE",
"adminType": "GENERAL",
"isOrgUnit": false
},
"status": {
"statusCode": {
"status": true,
"message": "Coupon Resent",
"code": 700
},
"warnings": [],
"warningsAsStatusCode": [],
"message": "Coupon Resent",
"code": 700,
"success": true
},
"couponDiscountType": "ABS",
"issuedOn": "2024-10-08T18:29:14Z",
"activeFrom": "2024-10-08T18:29:14Z",
"redemptionsLeft": 1,
"couponStatus": {
"statusCode": {
"status": true,
"message": "Success",
"code": 200
},
"warnings": [],
"warningsAsStatusCode": [],
"message": "Success",
"code": 200,
"success": true
},
"redemptionInfo": [],
"reversedRedemptionInfo": [],
"discountType": true,
"discountValue": 10,
"discountValueAsDouble": 10.0,
"discountUpto": 0,
"trimmedCode": "w2jjud9yrguaprdur52o",
"redeemed": false,
"seriesName": "test-lekhana"
}
],
"warnings": [],
"errors": [],
"success": true
}