UpdateCouponDto
stripstring<binary>
barcodeFormatstring
Possible values: [AZTEC, CODE_128, PDF_417, QR_CODE, NONE]
namestring
descriptionstring
promoCodestring
valuestring
expirationDatestring<date-time>
isMultipleInstanceboolean
isWelcomeCouponboolean
statusstring
Possible values: [ACTIVE, INACTIVE, EXPIRED]
sourcestring
Possible values: [INTERNAL, EXTERNAL, CRM, ALL]
valueLabelstring
Possible values: [VALUE, AMOUNT, PRESTATION]
colors object
backgroundColorstringrequired
labelColorstringrequired
foregroundColorstringrequired
emailSubscriptionMessagestring
subscriptionMessagestring
security object
oneTimeToUseJwtLinkboolean
disableIOSPassSharingboolean
enableOneTimeUseboolean
disableMultipleHoldersboolean
enableSecurityAnimationboolean
enableRotatingBarcodeboolean
iosHeader object
labelEnumstringrequired
Possible values: [FULLNAME, CUSTOM_TEXT, INACTIVE]
valueEnumstringrequired
Possible values: [FULLNAME, CUSTOM_TEXT, INACTIVE]
customLabelstring
customValuestring
UpdateCouponDto
{
"strip": "string",
"barcodeFormat": "AZTEC",
"name": "string",
"description": "string",
"promoCode": "string",
"value": "string",
"expirationDate": "2024-07-29T15:51:28.071Z",
"isMultipleInstance": true,
"isWelcomeCoupon": true,
"status": "ACTIVE",
"source": "INTERNAL",
"valueLabel": "VALUE",
"colors": {
"backgroundColor": "string",
"labelColor": "string",
"foregroundColor": "string"
},
"emailSubscriptionMessage": "string",
"subscriptionMessage": "string",
"security": {
"oneTimeToUseJwtLink": true,
"disableIOSPassSharing": true,
"enableOneTimeUse": true,
"disableMultipleHolders": true,
"enableSecurityAnimation": true,
"enableRotatingBarcode": true
},
"iosHeader": {
"labelEnum": "FULLNAME",
"valueEnum": "FULLNAME",
"customLabel": "string",
"customValue": "string"
}
}