---
title: "PUT /api/v1/DiscountCodes"
method: PUT
path: "/api/v1/DiscountCodes"
tags: ["DiscountCodes"]
---

# PUT /api/v1/DiscountCodes

`PUT /api/v1/DiscountCodes`

## Request

- Base URL: `https://api.gameball.co` (the document declares no server; this is the origin it was published from)
- URL: `https://api.gameball.co/api/v1/DiscountCodes`
- Auth: none declared. Required headers: `APIKey`

## Headers

- `Authorization` string
- `lang` string
- `APIKey` string, required
- `SecretKey` string

## Request body

- GameBallBLLViewModelsDiscountCodeViewModel
  - `isDeleted` boolean
  - `creationDate` string, date-time, nullable
  - `lastUpdate` string, date-time, nullable
  - `id` integer
  - `playerId` integer, required
  - `code` string, nullable
  - `pin` string, nullable
  - `guestIdentifier` string, nullable
  - `codeClientId` string, nullable
  - `pricingRuleId` string, nullable
  - `amount` number, double
  - `currency` string, nullable
  - `isUsed` boolean
  - `isActive` boolean
  - `iconId` integer, nullable
  - `transactionTime` string, date-time
  - `target` 1 | 2 | 3 | 4 | 5
  - `type` 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 11 | 12
  - `capping` number, double, nullable
  - `minReward` number, double, nullable
  - `productId` string, nullable
  - `productName` string, nullable
  - `variantId` string, nullable
  - `variantName` string, nullable
  - `transactionId` integer, nullable
  - `transaction` GameBallBLLViewModelsTransactionViewModel
    - `isDeleted` boolean
    - `creationDate` string, date-time, nullable
    - `lastUpdate` string, date-time, nullable
    - `id` integer
    - `playerId` integer, required
    - `transactionTypeId` integer, required
    - `transactionType` GameBallBLLViewModelsTransactionTypesViewModel
      - `isDeleted` boolean
      - `creationDate` string, date-time, nullable
      - `lastUpdate` string, date-time, nullable
      - `id` integer
      - `direction` string, nullable
      - `name` string, nullable
    - `transactionTime` string, date-time
    - `username` string, nullable
    - `details` string, nullable
    - `points` integer
    - `decimalPoints` number, double
    - `paymentRewardAmount` number, double, nullable
    - `pointsAmount` number, double, nullable
    - `actualRedemptionAmount` number, double, nullable
    - `usedAmount` integer, nullable
    - `expiryDate` string, date-time, nullable
    - `expiryDateInDays` integer
    - `amountRewardThreshold` number, double, nullable
    - `paymentWalletRewardFactor` number, double, nullable
    - `walletCashback` number, double, nullable
    - `paymentRankRewardFactor` number, double, nullable
    - `redemptionValueFactor` number, double, nullable
    - `currency` string, nullable
    - `originalCurrency` string, nullable
    - `exchangeRate` number, double, nullable
    - `originalAmount` number, double, nullable
    - `pointsBalanceBefore` integer
    - `pointsBalanceBeforeLong` integer
    - `reversedTransactionId` integer, nullable
    - `transactionOnClientSystemId` string, nullable
    - `achievementRewardName` string, nullable
    - `pointSettingsId` integer, nullable
    - `pointsSettingType` 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18
    - `discountCode` GameBallBLLViewModelsDiscountCodeViewModel (recursive)
    - `merchantId` integer, nullable
    - `merchantName` string, nullable
    - `branchId` integer, nullable
    - `branchName` string, nullable
    - `playerLevelId` integer, nullable
    - `playerLevelName` string, nullable
    - `usedCouponCodes` string, nullable
    - `playerUniqueId` string, required
    - `email` string, nullable
    - `mobile` string, nullable
    - `amount` number, double, nullable
    - `clientId` integer, required
    - `clientKeyId` integer, nullable
    - `isTestKey` boolean
    - `reversedTransactionOnClientSystemId` string, nullable
    - `holdReference` string, nullable
    - `playerCategoryId` integer, nullable
    - `playerAttributes` GameBallBLLViewModelsPlayerInfoViewModel
      - `displayName` string, nullable
      - `firstName` string, nullable
      - `lastName` string, nullable
      - `email` string, nullable
      - `referrerCreationDate` string, date-time, nullable
      - `manualDate` string, date-time, nullable
      - `manualLevelTypeId` 1 | 2 | 3 | 4 | 5
      - `gender` string, nullable
      - `community` string, nullable
      - `mobile` string, nullable
      - `mobileCountryCode` string, nullable
      - `dateOfBirth` string, date-time, nullable
      - `joinDate` string, date-time, nullable
      - `gameballCreationDate` string, date-time, nullable
      - `country` string, nullable
      - `city` string, nullable
      - `zip` string, nullable
      - `preferredLanguage` string, nullable
      - `hasEmailMarketingConsent` boolean, nullable
      - `custom` object, nullable
      - `tags` string, nullable
      - `source` string, nullable
      - `gameballSource` string, nullable
      - `removedTags` string, nullable
      - `accountState` 1 | 2
      - `utMs` GameBallBLLViewModelsPlayerAttributeUTMViewModel[], nullable
        - `campaign` string, nullable
        - `source` string, nullable
        - `medium` string, nullable
        - `content` string, nullable
        - `term` string, nullable
      - `devices` GameBallBLLViewModelsPlayerAttributeDeviceViewModel[], nullable
        - `userAgent` string, nullable
        - `os` string, nullable
        - `device` string, nullable
        - `browser` string, nullable
      - `paymentMethods` GameBallBLLViewModelsPlayerAttributePaymentMethodViewModel[], nullable
        - `method` string, nullable
      - `totalSpent` number, double, nullable
      - `lastOrderDate` string, date-time, nullable
      - `totalOrders` integer, nullable
      - `avgOrderAmount` number, double, nullable
      - `channel` string, nullable
      - `merchant` GameBallBLLViewModelsMerchantViewModel
        - `isDeleted` boolean
        - `creationDate` string, date-time, nullable
        - `lastUpdate` string, date-time, nullable
        - `id` integer
        - `clientId` integer
        - `externalId` string, nullable
        - `name` string, required
        - `isActive` boolean
        - `clientPointsSettings` GameBallBLLViewModelsClientPointsSettingViewModel[], nullable
          - `isDeleted` boolean
          - `creationDate` string, date-time, nullable
          - `lastUpdate` string, date-time, nullable
          - `id` integer
          - `amountRewardThreshold` number, double
          - `rewardWalletFactor` number, double
          - `rewardRankFactor` number, double
          - `redemptionFactor` number, double
          - `walletCashback` number, double, nullable
          - `pointsExpiry` integer
          - `pointsExpiryValidator` integer, nullable
          - `isUsingCurrencySymbol` boolean
          - `currency` string, nullable
          - `currencySymbol` string, nullable
          - `isPointsRewardOn` boolean
          - `isPointsRedemptionOn` boolean
          - `isPointsRedemptionOnValidator` boolean, nullable
          - `excludeNonProductCosts` boolean
          - `excludeNonProductCostsValidator` boolean, nullable
          - `excludeTaxes` boolean
          - `excludeTaxesValidator` boolean, nullable
          - `showExceptionsToCustomers` boolean
          - `showTimingToCustomers` boolean
          - `productExceptionsApply` boolean
          - `isNotificationOn` boolean
          - `isVisible` boolean
          - `icon` GameBallBLLViewModelsIconViewModel
            - `isDeleted` boolean
            - `creationDate` string, date-time, nullable
            - `lastUpdate` string, date-time, nullable
            - `id` integer
            - `name` string, required
            - `fileName` string, required
            - `iconTypeId` integer
          - `startDate` string, date-time, nullable
          - `endDate` string, date-time, nullable
          - `type` 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18
          - `equivalentPoints` integer, nullable
          - `equivalentPointsValue` number, double, nullable
          - `productId` string, nullable
          - `productName` string, nullable
          - `productUrl` string, nullable
          - `variantId` string, nullable
          - `variantName` string, nullable
          - `messageId` integer, nullable
          - `messageIsActive` boolean, nullable
          - `levelId` integer, nullable
          - `level` GameBallBLLViewModelsLevelViewModel
            - `isDeleted` boolean
            - `creationDate` string, date-time, nullable
            - `lastUpdate` string, date-time, nullable
            - `id` integer
            - `gbCode` string, nullable
            - `clientId` integer, nullable
            - `isAchivedNotificationsOn` boolean, nullable
            - `icon` GameBallBLLViewModelsIconViewModel
              - …
            - `iconValidate` string, nullable
            - `iconId` integer, nullable
            - `name` string, nullable
            - `description` string, nullable
            - `rewardFrubies` integer, nullable
            - `rewardPoints` integer, nullable
            - `levelFrubies` integer
            - `levelOrder` integer
            - `iconEnabled` boolean
            - `isDefault` boolean
            - `isActive` boolean
            - `levelDiscount` number, double, nullable
            - `discountCapping` number, double, nullable
            - `playerCategoryId` integer
            - `returnWindowDays` integer, nullable
            - `returnWindowDaysValidator` integer, nullable
            - `clientPointsSettings` GameBallBLLViewModelsClientPointsSettingViewModel[], nullable
            - `locals` GameBallBLLViewModelsLevelLocalViewModel[], nullable
              - …
            - `rewardConfigurations` GameBallBLLViewModelsRewardConfigurationViewModel[], nullable
              - …
            - `pointingConfiguration` GameBallBLLViewModelsClientPointsSettingMinimalViewModel
              - …
          - `merchantId` integer, nullable
          - `merchant` GameBallBLLViewModelsMerchantViewModel (recursive)
          - `oldCurrency` string, nullable
          - `audienceLogicalOperator` 1 | 2
          - `order` integer
          - `pointsPendingDays` integer
          - `pointsPendingDaysValidator` integer, nullable
          - `tags` GameBallBLLViewModelsTagViewModel[], nullable
            - `isDeleted` boolean
            - `creationDate` string, date-time, nullable
            - `lastUpdate` string, date-time, nullable
            - `id` integer
            - `title` string, nullable
            - `color` string, nullable
            - `playersCount` integer
            - `type` 1 | 2 | 3 | 4
            - `gbCode` string, nullable
          - `audience` GameBallBLLViewModelsAudienceViewModel[], nullable
            - `isDeleted` boolean
            - `creationDate` string, date-time, nullable
            - `lastUpdate` string, date-time, nullable
            - `id` integer
            - `key` string, nullable
            - `operator` 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21
            - `value` string, nullable
            - `challengeId` integer, nullable
            - `pointSettingsId` integer, nullable
          - `collections` GameBallCommonModelAutomationProductCollectionViewModel[], nullable
            - `collectionId` string, nullable
            - `collectionName` string, nullable
            - `url` string, nullable
          - `productDisplayNames` GameBallCommonModelAutomationProductDisplayNameLocaleViewModel[], nullable
            - `languageId` integer
            - `name` string, nullable
          - `items` GameBallBLLViewModelsItemComponentViewModel[], nullable
            - `id` string, nullable
            - `name` string, nullable
            - `logicalOperator` 1 | 2
            - `type` 1 | 2 | 3 | 4
            - `fieldPath` string, nullable
            - `matchValue` string, nullable
            - `operator` 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15
          - `includes` GameBallModelEntitiesApplicability
            - `collections` GameBallModelEntitiesItemComponent[], nullable
              - …
            - `products` GameBallModelEntitiesItemComponent[], nullable
              - …
            - `variants` GameBallModelEntitiesItemComponent[], nullable
              - …
          - `excludes` GameBallModelEntitiesApplicability
            - `collections` GameBallModelEntitiesItemComponent[], nullable
              - …
            - `products` GameBallModelEntitiesItemComponent[], nullable
              - …
            - `variants` GameBallModelEntitiesItemComponent[], nullable
              - …
          - `ruleName` string, nullable
          - `cashbackRewardType` 1 | 2 | 3 | 4 | 5
          - `couponGroupHandle` string, nullable
          - `discountCodeOptions` GameBallBLLViewModelsDiscountCodeOptionsViewModel
            - `expiryAfter` integer, nullable
            - `expiryAt` string, date-time, nullable
            - `usageLimit` integer, nullable
            - `maxPerPlayer` integer, nullable
            - `usedCount` integer, nullable
            - `capping` number, double, nullable
            - `minReward` number, double, nullable
            - `minOrderValue` number, double, nullable
            - `isCashback` boolean, nullable
            - `applyToFees` boolean, nullable
            - `returnOnFullRefund` boolean, nullable
            - `combinesWith` GameBallCommonConnectorsPriceRuleCombinesWith
              - …
            - `productId` string, nullable
            - `productName` string, nullable
            - `variantId` string, nullable
            - `variantName` string, nullable
            - `productDisplayName` string, nullable
            - `couponPrefix` string, nullable
            - `groupName` string, nullable
            - `collections` GameBallCommonModelAutomationProductCollectionViewModel[], nullable
              - …
            - `merchants` GameBallCommonModelAutomationProductMerchantViewModel[], nullable
              - …
            - `branches` GameBallCommonModelAutomationProductBranchViewModel[], nullable
              - …
            - `categories` string[], nullable
            - `products` GameBallCommonModelAutomationProductReferenceViewModel[], nullable
              - …
            - `couponRulesLogicalOperator` 1 | 2
            - `redemptionGroupIds` string[], nullable
            - `rules` GameBallCommonConnectorsGameballCouponsModelsCouponRuleDto[], nullable
              - …
            - `productDisplayNames` GameBallCommonModelAutomationProductDisplayNameLocaleViewModel[], nullable
              - …
            - `hasCollections` boolean
            - `platforms` string[], nullable
            - `redeemInstructions` GameBallModelEntitiesRedeemInstruction[], nullable
              - …
            - `discountCodeLocales` GameBallModelEntitiesDiscountCodeLocales[], nullable
              - …
            - `instructions` string, nullable
            - `rewardName` string, nullable
            - `source` string, nullable
            - `couponName` string, nullable
            - `externalAPIRewardConfiguration` GameBallModelEntitiesExternalAPIRewardConfiguration
              - …
            - `giftCardConfiguration` GameBallModelEntitiesGiftCardRewardConfiguration
              - …
            - `startDate` string, date-time, nullable
            - `iconPath` string, nullable
            - `isLeaderboardReward` boolean
            - `isFoodics` boolean, nullable
          - `redemptionGroups` GameBallBLLViewModelsRedemptionGroupsConfigurationViewModel
            - `active` boolean
            - `groups` GameBallBLLViewModelsRedemptionGroupViewModel[], nullable
              - …
          - `pointMultiplierTierConfig` GameBallBLLViewModelsPointMultiplierTierConfigViewModel
            - `fieldPath` string, nullable
            - `operator` 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15
            - `tiers` GameBallBLLViewModelsPointMultiplierTierViewModel[], nullable
              - …
          - `holdPointsInMinutes` integer
          - `clientPointsSettingLocales` GameBallBLLViewModelsClientPointsSettingLocaleViewModel[], nullable
            - `id` integer
            - `clientPointSettingId` integer
            - `languageId` integer
            - `rewardName` string, nullable
          - `customRuleChildrenIds` integer[], nullable
        - `branches` GameBallBLLViewModelsBranchViewModel[], nullable
          - `isDeleted` boolean
          - `creationDate` string, date-time, nullable
          - `lastUpdate` string, date-time, nullable
          - `id` integer
          - `merchantId` integer
          - `merchant` GameBallBLLViewModelsMerchantViewModel (recursive)
          - `externalId` string, required
          - `name` string, required
          - `transactions` GameBallBLLViewModelsTransactionViewModel[], nullable
        - `transactions` GameBallBLLViewModelsTransactionViewModel[], nullable
      - `referralStatus` string, nullable
    - `orderLineItems` GameBallBLLViewModelsLineItemViewModel[], nullable
      - `price` number, double, nullable
      - `quantity` number, double, nullable
      - `productId` string, nullable
      - `sku` string, nullable
      - `tags` string[], nullable
      - `category` string[], nullable
      - `weight` number, double, nullable
      - `vendor` string, nullable
      - `collection` string[], nullable
      - `title` string, nullable
      - `taxes` number, double, nullable
      - `discount` number, double, nullable
      - `taxDiscount` number, double, nullable
      - `reconciledDiscount` number, double, nullable
      - `redemptionDiscount` number, double, nullable
      - `extra` object, nullable
    - `totalShipping` number, double, nullable
    - `taxAmount` number, double, nullable
    - `merchant` GameBallBLLViewModelsMerchantViewModel
      - `isDeleted` boolean
      - `creationDate` string, date-time, nullable
      - `lastUpdate` string, date-time, nullable
      - `id` integer
      - `clientId` integer
      - `externalId` string, nullable
      - `name` string, required
      - `isActive` boolean
      - `clientPointsSettings` GameBallBLLViewModelsClientPointsSettingViewModel[], nullable
        - `isDeleted` boolean
        - `creationDate` string, date-time, nullable
        - `lastUpdate` string, date-time, nullable
        - `id` integer
        - `amountRewardThreshold` number, double
        - `rewardWalletFactor` number, double
        - `rewardRankFactor` number, double
        - `redemptionFactor` number, double
        - `walletCashback` number, double, nullable
        - `pointsExpiry` integer
        - `pointsExpiryValidator` integer, nullable
        - `isUsingCurrencySymbol` boolean
        - `currency` string, nullable
        - `currencySymbol` string, nullable
        - `isPointsRewardOn` boolean
        - `isPointsRedemptionOn` boolean
        - `isPointsRedemptionOnValidator` boolean, nullable
        - `excludeNonProductCosts` boolean
        - `excludeNonProductCostsValidator` boolean, nullable
        - `excludeTaxes` boolean
        - `excludeTaxesValidator` boolean, nullable
        - `showExceptionsToCustomers` boolean
        - `showTimingToCustomers` boolean
        - `productExceptionsApply` boolean
        - `isNotificationOn` boolean
        - `isVisible` boolean
        - `icon` GameBallBLLViewModelsIconViewModel
          - `isDeleted` boolean
          - `creationDate` string, date-time, nullable
          - `lastUpdate` string, date-time, nullable
          - `id` integer
          - `name` string, required
          - `fileName` string, required
          - `iconTypeId` integer
        - `startDate` string, date-time, nullable
        - `endDate` string, date-time, nullable
        - `type` 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18
        - `equivalentPoints` integer, nullable
        - `equivalentPointsValue` number, double, nullable
        - `productId` string, nullable
        - `productName` string, nullable
        - `productUrl` string, nullable
        - `variantId` string, nullable
        - `variantName` string, nullable
        - `messageId` integer, nullable
        - `messageIsActive` boolean, nullable
        - `levelId` integer, nullable
        - `level` GameBallBLLViewModelsLevelViewModel
          - `isDeleted` boolean
          - `creationDate` string, date-time, nullable
          - `lastUpdate` string, date-time, nullable
          - `id` integer
          - `gbCode` string, nullable
          - `clientId` integer, nullable
          - `isAchivedNotificationsOn` boolean, nullable
          - `icon` GameBallBLLViewModelsIconViewModel
            - `isDeleted` boolean
            - `creationDate` string, date-time, nullable
            - `lastUpdate` string, date-time, nullable
            - `id` integer
            - `name` string, required
            - `fileName` string, required
            - `iconTypeId` integer
          - `iconValidate` string, nullable
          - `iconId` integer, nullable
          - `name` string, nullable
          - `description` string, nullable
          - `rewardFrubies` integer, nullable
          - `rewardPoints` integer, nullable
          - `levelFrubies` integer
          - `levelOrder` integer
          - `iconEnabled` boolean
          - `isDefault` boolean
          - `isActive` boolean
          - `levelDiscount` number, double, nullable
          - `discountCapping` number, double, nullable
          - `playerCategoryId` integer
          - `returnWindowDays` integer, nullable
          - `returnWindowDaysValidator` integer, nullable
          - `clientPointsSettings` GameBallBLLViewModelsClientPointsSettingViewModel[], nullable
          - `locals` GameBallBLLViewModelsLevelLocalViewModel[], nullable
            - `isDeleted` boolean
            - `creationDate` string, date-time, nullable
            - `lastUpdate` string, date-time, nullable
            - `id` integer
            - `name` string, nullable
            - `description` string, nullable
            - `languageId` integer
            - `levelId` integer
          - `rewardConfigurations` GameBallBLLViewModelsRewardConfigurationViewModel[], nullable
            - `isDeleted` boolean
            - `creationDate` string, date-time, nullable
            - `lastUpdate` string, date-time, nullable
            - `id` integer
            - `challengeId` integer, nullable
            - `challenge` GameBallBLLViewModelsChallengeViewModel
              - …
            - `levelId` integer, nullable
            - `level` GameBallBLLViewModelsLevelViewModel (recursive)
            - `iconId` integer, nullable
            - `icon` GameBallBLLViewModelsIconViewModel
              - …
            - `rewardType` 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9
            - `rewardName` string, nullable
            - `playerFrubies` integer, nullable
            - `playerPoints` integer, nullable
            - `pointsPendingDays` integer
            - `rewardIconId` integer, nullable
            - `rewardIcon` GameBallBLLViewModelsIconViewModel
              - …
            - `couponType` 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 11 | 12
            - `discountValue` number, double, nullable
            - `minOrderValue` number, double, nullable
            - `discountCapping` number, double, nullable
            - `productId` string, nullable
            - `productName` string, nullable
            - `variantId` string, nullable
            - `variantName` string, nullable
            - `rewardOrder` integer
            - `hyperLink` string, nullable
            - `probability` integer, nullable
            - `rewardLimit` integer, nullable
            - `supplyCap` integer, nullable
            - `supplyCapIntervalType` 1 | 2 | 3 | 4 | 5 | 6
            - `supplyCapWeekStartDay` 0 | 1 | 2 | 3 | 4 | 5 | 6
            - `rewardCost` number, double, nullable
            - `rewardEventIndex` integer, nullable
            - `rewardAchievementCount` integer, nullable
            - `couponGroupHandle` string, nullable
            - `couponGroupName` string, nullable
            - `expiryDateInDays` integer
            - `expiryDateInDaysValidator` integer, nullable
            - `rewardOptions` GameBallBLLViewModelsRewardOptionsViewModel
              - …
            - `locales` GameBallBLLViewModelsRewardConfigurationLocaleViewModel[], nullable
              - …
            - `collections` GameBallCommonModelAutomationProductCollectionViewModel[], nullable
              - …
            - `merchants` GameBallCommonModelAutomationProductMerchantViewModel[], nullable
              - …
            - `branches` GameBallCommonModelAutomationProductBranchViewModel[], nullable
              - …
            - `categories` string[], nullable
            - `products` GameBallCommonModelAutomationProductReferenceViewModel[], nullable
              - …
            - `couponRulesLogicalOperator` 1 | 2
            - `productDisplayNames` GameBallCommonModelAutomationProductDisplayNameLocaleViewModel[], nullable
              - …
            - `discountCodeOptions` GameBallBLLViewModelsDiscountCodeOptionsViewModel
              - …
            - `pointMultiplierTierConfig` GameBallBLLViewModelsPointMultiplierTierConfigViewModel
              - …
            - `discountCodeOptionValidation` string, nullable
            - `details` string, nullable
          - `pointingConfiguration` GameBallBLLViewModelsClientPointsSettingMinimalViewModel
            - `isDeleted` boolean
            - `creationDate` string, date-time, nullable
            - `lastUpdate` string, date-time, nullable
            - `id` integer
            - `rewardWalletFactor` number, double
            - `amountRewardThreshold` number, double
            - `rewardRankFactor` number, double
            - `currency` string, nullable
            - `type` 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18
        - `merchantId` integer, nullable
        - `merchant` GameBallBLLViewModelsMerchantViewModel (recursive)
        - `oldCurrency` string, nullable
        - `audienceLogicalOperator` 1 | 2
        - `order` integer
        - `pointsPendingDays` integer
        - `pointsPendingDaysValidator` integer, nullable
        - `tags` GameBallBLLViewModelsTagViewModel[], nullable
          - `isDeleted` boolean
          - `creationDate` string, date-time, nullable
          - `lastUpdate` string, date-time, nullable
          - `id` integer
          - `title` string, nullable
          - `color` string, nullable
          - `playersCount` integer
          - `type` 1 | 2 | 3 | 4
          - `gbCode` string, nullable
        - `audience` GameBallBLLViewModelsAudienceViewModel[], nullable
          - `isDeleted` boolean
          - `creationDate` string, date-time, nullable
          - `lastUpdate` string, date-time, nullable
          - `id` integer
          - `key` string, nullable
          - `operator` 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21
          - `value` string, nullable
          - `challengeId` integer, nullable
          - `pointSettingsId` integer, nullable
        - `collections` GameBallCommonModelAutomationProductCollectionViewModel[], nullable
          - `collectionId` string, nullable
          - `collectionName` string, nullable
          - `url` string, nullable
        - `productDisplayNames` GameBallCommonModelAutomationProductDisplayNameLocaleViewModel[], nullable
          - `languageId` integer
          - `name` string, nullable
        - `items` GameBallBLLViewModelsItemComponentViewModel[], nullable
          - `id` string, nullable
          - `name` string, nullable
          - `logicalOperator` 1 | 2
          - `type` 1 | 2 | 3 | 4
          - `fieldPath` string, nullable
          - `matchValue` string, nullable
          - `operator` 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15
        - `includes` GameBallModelEntitiesApplicability
          - `collections` GameBallModelEntitiesItemComponent[], nullable
            - `id` string, nullable
            - `name` string, nullable
            - `logicalOperator` 1 | 2
            - `type` 1 | 2 | 3 | 4
            - `fieldPath` string, nullable
            - `matchValue` string, nullable
            - `operator` 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15
          - `products` GameBallModelEntitiesItemComponent[], nullable
            - `id` string, nullable
            - `name` string, nullable
            - `logicalOperator` 1 | 2
            - `type` 1 | 2 | 3 | 4
            - `fieldPath` string, nullable
            - `matchValue` string, nullable
            - `operator` 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15
          - `variants` GameBallModelEntitiesItemComponent[], nullable
            - `id` string, nullable
            - `name` string, nullable
            - `logicalOperator` 1 | 2
            - `type` 1 | 2 | 3 | 4
            - `fieldPath` string, nullable
            - `matchValue` string, nullable
            - `operator` 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15
        - `excludes` GameBallModelEntitiesApplicability
          - `collections` GameBallModelEntitiesItemComponent[], nullable
            - `id` string, nullable
            - `name` string, nullable
            - `logicalOperator` 1 | 2
            - `type` 1 | 2 | 3 | 4
            - `fieldPath` string, nullable
            - `matchValue` string, nullable
            - `operator` 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15
          - `products` GameBallModelEntitiesItemComponent[], nullable
            - `id` string, nullable
            - `name` string, nullable
            - `logicalOperator` 1 | 2
            - `type` 1 | 2 | 3 | 4
            - `fieldPath` string, nullable
            - `matchValue` string, nullable
            - `operator` 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15
          - `variants` GameBallModelEntitiesItemComponent[], nullable
            - `id` string, nullable
            - `name` string, nullable
            - `logicalOperator` 1 | 2
            - `type` 1 | 2 | 3 | 4
            - `fieldPath` string, nullable
            - `matchValue` string, nullable
            - `operator` 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15
        - `ruleName` string, nullable
        - `cashbackRewardType` 1 | 2 | 3 | 4 | 5
        - `couponGroupHandle` string, nullable
        - `discountCodeOptions` GameBallBLLViewModelsDiscountCodeOptionsViewModel
          - `expiryAfter` integer, nullable
          - `expiryAt` string, date-time, nullable
          - `usageLimit` integer, nullable
          - `maxPerPlayer` integer, nullable
          - `usedCount` integer, nullable
          - `capping` number, double, nullable
          - `minReward` number, double, nullable
          - `minOrderValue` number, double, nullable
          - `isCashback` boolean, nullable
          - `applyToFees` boolean, nullable
          - `returnOnFullRefund` boolean, nullable
          - `combinesWith` GameBallCommonConnectorsPriceRuleCombinesWith
            - `orderDiscounts` boolean
            - `productDiscounts` boolean
            - `shippingDiscounts` boolean
          - `productId` string, nullable
          - `productName` string, nullable
          - `variantId` string, nullable
          - `variantName` string, nullable
          - `productDisplayName` string, nullable
          - `couponPrefix` string, nullable
          - `groupName` string, nullable
          - `collections` GameBallCommonModelAutomationProductCollectionViewModel[], nullable
            - `collectionId` string, nullable
            - `collectionName` string, nullable
            - `url` string, nullable
          - `merchants` GameBallCommonModelAutomationProductMerchantViewModel[], nullable
            - `merchantExternalId` string, nullable
            - `merchantName` string, nullable
          - `branches` GameBallCommonModelAutomationProductBranchViewModel[], nullable
            - `branchExternalId` string, nullable
            - `branchName` string, nullable
          - `categories` string[], nullable
          - `products` GameBallCommonModelAutomationProductReferenceViewModel[], nullable
            - `productId` string, nullable
            - `productName` string, nullable
          - `couponRulesLogicalOperator` 1 | 2
          - `redemptionGroupIds` string[], nullable
          - `rules` GameBallCommonConnectorsGameballCouponsModelsCouponRuleDto[], nullable
            - `name` string, nullable
            - `operator` 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15
            - `matchValue` string, nullable
          - `productDisplayNames` GameBallCommonModelAutomationProductDisplayNameLocaleViewModel[], nullable
            - `languageId` integer
            - `name` string, nullable
          - `hasCollections` boolean
          - `platforms` string[], nullable
          - `redeemInstructions` GameBallModelEntitiesRedeemInstruction[], nullable
            - `languageId` integer
            - `instructions` string, nullable
          - `discountCodeLocales` GameBallModelEntitiesDiscountCodeLocales[], nullable
            - `languageId` integer
            - `rewardName` string, nullable
          - `instructions` string, nullable
          - `rewardName` string, nullable
          - `source` string, nullable
          - `couponName` string, nullable
          - `externalAPIRewardConfiguration` GameBallModelEntitiesExternalAPIRewardConfiguration
            - `requestUrl` string, nullable
            - `method` 0 | 1 | 2 | 3 | 4 | 5
            - `requestHeaders` GameBallModelEntitiesExternalRewardHeader[], nullable
              - …
            - `payload` string, nullable
          - `giftCardConfiguration` GameBallModelEntitiesGiftCardRewardConfiguration
            - `provider` 1 | 2
            - `productId` string, nullable
            - `sku` string, nullable
            - `productName` string, nullable
            - `brandName` string, nullable
            - `brandImageUrl` string, nullable
            - `countryCode` string, nullable
            - `currencyCode` string, nullable
            - `denomination` number, double
            - `denominationType` string, nullable
            - `validity` string, nullable
            - `description` string, nullable
            - `termsAndConditions` string, nullable
          - `startDate` string, date-time, nullable
          - `iconPath` string, nullable
          - `isLeaderboardReward` boolean
          - `isFoodics` boolean, nullable
        - `redemptionGroups` GameBallBLLViewModelsRedemptionGroupsConfigurationViewModel
          - `active` boolean
          - `groups` GameBallBLLViewModelsRedemptionGroupViewModel[], nullable
            - `id` string, nullable
            - `order` integer
            - `names` GameBallBLLViewModelsRedemptionGroupLocaleViewModel[], nullable
              - …
        - `pointMultiplierTierConfig` GameBallBLLViewModelsPointMultiplierTierConfigViewModel
          - `fieldPath` string, nullable
          - `operator` 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15
          - `tiers` GameBallBLLViewModelsPointMultiplierTierViewModel[], nullable
            - `matchValue` string, nullable
            - `multiplier` number, double
        - `holdPointsInMinutes` integer
        - `clientPointsSettingLocales` GameBallBLLViewModelsClientPointsSettingLocaleViewModel[], nullable
          - `id` integer
          - `clientPointSettingId` integer
          - `languageId` integer
          - `rewardName` string, nullable
        - `customRuleChildrenIds` integer[], nullable
      - `branches` GameBallBLLViewModelsBranchViewModel[], nullable
        - `isDeleted` boolean
        - `creationDate` string, date-time, nullable
        - `lastUpdate` string, date-time, nullable
        - `id` integer
        - `merchantId` integer
        - `merchant` GameBallBLLViewModelsMerchantViewModel (recursive)
        - `externalId` string, required
        - `name` string, required
        - `transactions` GameBallBLLViewModelsTransactionViewModel[], nullable
      - `transactions` GameBallBLLViewModelsTransactionViewModel[], nullable
    - `languageId` integer
    - `cashbackEnabled` boolean
    - `isGuest` boolean
    - `couponPointsSettingType` 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18
    - `achievementId` integer, nullable
    - `achievementType` 1 | 2 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20
    - `achievementRewardNameLocale` string, nullable
    - `status` 1 | 2 | 3 | 4
    - `activationDate` string, date-time, nullable
    - `blockReason` string, nullable
    - `suspiciousReason` string, nullable
    - `pointsPendingDays` integer
    - `transactionLineItems` GameBallBLLViewModelsTransactionLineItemViewModel[], nullable
      - `productId` string, nullable
      - `title` string, nullable
      - `price` number, double
      - `refundedAmount` number, double, nullable
      - `discount` number, double, nullable
      - `taxDiscount` number, double, nullable
      - `reconciledDiscount` number, double, nullable
      - `redemptionDiscount` number, double, nullable
      - `type` integer
      - `ruleId` integer
      - `campaignId` integer, nullable
      - `settingHash` string, nullable
      - `ruleName` string, nullable
      - `campaignName` string, nullable
      - `challengeId` integer, nullable
      - `decimalPoints` number, double
      - `points` integer
      - `basePoints` integer
      - `refundedPoints` integer, nullable
      - `frubies` integer
      - `baseFrubies` integer
      - `eligibleAmount` number, double
      - `evaluations` GameBallBLLViewModelsCriteriaEvaluationResultViewModel[], nullable
        - `type` string, nullable
        - `overallMatch` boolean
        - `logicalOperator` 1 | 2
        - `itemResults` GameBallBLLViewModelsItemEvaluationResultViewModel[], nullable
          - `itemId` string, nullable
          - `fieldPath` string, nullable
          - `operator` 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15
          - `expectedValue` string, nullable
          - `actualValue` unknown
          - `matched` boolean
        - `tierEvaluation` GameBallBLLViewModelsTierEvaluationResultViewModel
          - `fieldPath` string, nullable
          - `operator` 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15
          - `actualValue` unknown
          - `matchedTierValue` string, nullable
          - `appliedMultiplier` number, double
        - `ruleId` integer, nullable
        - `resultingPoints` integer, nullable
        - `resultingFrubies` integer, nullable
      - `quantity` number, double
      - `amountRewardThreshold` number, double, nullable
      - `rewardWalletFactor` number, double
      - `campaignWalletFactor` number, double, nullable
      - `campaignImpactPoints` integer, nullable
      - `rewardRankFactor` number, double
      - `campaignRankFactor` number, double, nullable
      - `campaignImpactFrubies` integer, nullable
      - `cashback` number, double, nullable
    - `criteriaEvaluationResult` GameBallBLLViewModelsCriteriaEvaluationResultViewModel[], nullable
      - `type` string, nullable
      - `overallMatch` boolean
      - `logicalOperator` 1 | 2
      - `itemResults` GameBallBLLViewModelsItemEvaluationResultViewModel[], nullable
        - `itemId` string, nullable
        - `fieldPath` string, nullable
        - `operator` 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15
        - `expectedValue` string, nullable
        - `actualValue` unknown
        - `matched` boolean
      - `tierEvaluation` GameBallBLLViewModelsTierEvaluationResultViewModel
        - `fieldPath` string, nullable
        - `operator` 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15
        - `actualValue` unknown
        - `matchedTierValue` string, nullable
        - `appliedMultiplier` number, double
      - `ruleId` integer, nullable
      - `resultingPoints` integer, nullable
      - `resultingFrubies` integer, nullable
    - `auditInfo` GameBallBLLViewModelsTransactionAuditInfoViewModel
      - `excludeTaxes` boolean, nullable
      - `excludeNonProductCosts` boolean, nullable
    - `familyWalletId` integer, nullable
    - `rewardedScore` integer
    - `eligibleAmount` number, double
    - `totalItems` number, double
    - `totalUniqueItems` integer
  - `playerUniqueId` string, nullable
  - `mobile` string, nullable
  - `email` string, nullable
  - `merchant` GameBallBLLViewModelsMerchantIntegrationViewModel
    - `uniqueId` string, nullable
    - `name` string, nullable
    - `branch` GameBallBLLViewModelsBranchIntegrationViewModel
      - `uniqueId` string, required
      - `name` string, nullable
  - `destination` string, nullable
  - `ruleId` integer, nullable
  - `discountEquivalentValue` number, double, nullable
  - `minOrderValue` number, double, nullable
  - `couponPointsSettingType` 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18
  - `collections` GameBallCommonModelAutomationProductCollectionViewModel[], nullable
    - `collectionId` string, nullable
    - `collectionName` string, nullable
    - `url` string, nullable
  - `merchants` GameBallCommonModelAutomationProductMerchantViewModel[], nullable
    - `merchantExternalId` string, nullable
    - `merchantName` string, nullable
  - `branches` GameBallCommonModelAutomationProductBranchViewModel[], nullable
    - `branchExternalId` string, nullable
    - `branchName` string, nullable
  - `categories` string[], nullable
  - `products` GameBallCommonModelAutomationProductReferenceViewModel[], nullable
    - `productId` string, nullable
    - `productName` string, nullable
  - `couponRulesLogicalOperator` 1 | 2
  - `productDisplayName` string, nullable
  - `startAt` string, date-time, nullable
  - `endAt` string, date-time, nullable
  - `groupHandle` string, nullable
  - `groupHandleURL` string, nullable
  - `options` GameBallBLLViewModelsDiscountCodeOptionsViewModel
    - `expiryAfter` integer, nullable
    - `expiryAt` string, date-time, nullable
    - `usageLimit` integer, nullable
    - `maxPerPlayer` integer, nullable
    - `usedCount` integer, nullable
    - `capping` number, double, nullable
    - `minReward` number, double, nullable
    - `minOrderValue` number, double, nullable
    - `isCashback` boolean, nullable
    - `applyToFees` boolean, nullable
    - `returnOnFullRefund` boolean, nullable
    - `combinesWith` GameBallCommonConnectorsPriceRuleCombinesWith
      - `orderDiscounts` boolean
      - `productDiscounts` boolean
      - `shippingDiscounts` boolean
    - `productId` string, nullable
    - `productName` string, nullable
    - `variantId` string, nullable
    - `variantName` string, nullable
    - `productDisplayName` string, nullable
    - `couponPrefix` string, nullable
    - `groupName` string, nullable
    - `collections` GameBallCommonModelAutomationProductCollectionViewModel[], nullable
      - `collectionId` string, nullable
      - `collectionName` string, nullable
      - `url` string, nullable
    - `merchants` GameBallCommonModelAutomationProductMerchantViewModel[], nullable
      - `merchantExternalId` string, nullable
      - `merchantName` string, nullable
    - `branches` GameBallCommonModelAutomationProductBranchViewModel[], nullable
      - `branchExternalId` string, nullable
      - `branchName` string, nullable
    - `categories` string[], nullable
    - `products` GameBallCommonModelAutomationProductReferenceViewModel[], nullable
      - `productId` string, nullable
      - `productName` string, nullable
    - `couponRulesLogicalOperator` 1 | 2
    - `redemptionGroupIds` string[], nullable
    - `rules` GameBallCommonConnectorsGameballCouponsModelsCouponRuleDto[], nullable
      - `name` string, nullable
      - `operator` 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15
      - `matchValue` string, nullable
    - `productDisplayNames` GameBallCommonModelAutomationProductDisplayNameLocaleViewModel[], nullable
      - `languageId` integer
      - `name` string, nullable
    - `hasCollections` boolean
    - `platforms` string[], nullable
    - `redeemInstructions` GameBallModelEntitiesRedeemInstruction[], nullable
      - `languageId` integer
      - `instructions` string, nullable
    - `discountCodeLocales` GameBallModelEntitiesDiscountCodeLocales[], nullable
      - `languageId` integer
      - `rewardName` string, nullable
    - `instructions` string, nullable
    - `rewardName` string, nullable
    - `source` string, nullable
    - `couponName` string, nullable
    - `externalAPIRewardConfiguration` GameBallModelEntitiesExternalAPIRewardConfiguration
      - `requestUrl` string, nullable
      - `method` 0 | 1 | 2 | 3 | 4 | 5
      - `requestHeaders` GameBallModelEntitiesExternalRewardHeader[], nullable
        - `key` string, nullable
        - `value` string, nullable
      - `payload` string, nullable
    - `giftCardConfiguration` GameBallModelEntitiesGiftCardRewardConfiguration
      - `provider` 1 | 2
      - `productId` string, nullable
      - `sku` string, nullable
      - `productName` string, nullable
      - `brandName` string, nullable
      - `brandImageUrl` string, nullable
      - `countryCode` string, nullable
      - `currencyCode` string, nullable
      - `denomination` number, double
      - `denominationType` string, nullable
      - `validity` string, nullable
      - `description` string, nullable
      - `termsAndConditions` string, nullable
    - `startDate` string, date-time, nullable
    - `iconPath` string, nullable
    - `isLeaderboardReward` boolean
    - `isFoodics` boolean, nullable
  - `details` string, nullable
  - `challengeId` integer, nullable
  - `couponGenerationFailureSide` string, nullable

## Response `200`

OK

- GameBallCommonProcessResultProcessResultViewModel1SystemBoolean
  - `isSucceeded` boolean
  - `methodName` string, nullable
  - `status` GameBallCommonProcessResultProcessResultStatus
    - `code` 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 101 | 102 | 151 | 152 | 153 | 154 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | 162 | 301 | 302 | 303 | 304 | 305 | 306 | 307 | 308 | 309 | 310 | 311 | 312 | 313 | 314 | 315 | 316 | 317 | 318 | 319 | 320 | 321 | 322 | 323 | 324 | 325 | 326 | 327 | 328 | 329 | 330 | 331 | 332 | 333 | 334 | 335 | 336 | 337 | 338 | 351 | 401 | 402 | 403 | 404 | 405 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 419 | 420 | 421 | 422 | 423 | 424 | 425 | 426 | 427 | 428 | 429 | 430 | 431 | 432 | 433 | 500 | 503 | 800 | 801
    - `message` string, nullable
  - `data` boolean

## Changes

- **2026-11-25** `78ca318760e8`: 3 info
  - added the new `18.00` enum value to the request property `couponPointsSettingType` (media type: application/json)
  - added the new `18.00` enum value to the request property `couponPointsSettingType` (media type: text/json)
  - added the new `18.00` enum value to the request property `couponPointsSettingType` (media type: application/*+json)
- **2026-11-24** `7174c271b145`: 3 warning
  - added the new `63.00` enum value to the `status/code` response property for the response status `200` (media type: text/plain)
  - added the new `63.00` enum value to the `status/code` response property for the response status `200` (media type: application/json)
  - added the new `63.00` enum value to the `status/code` response property for the response status `200` (media type: text/json)
- **2026-11-09** `2f7ee22f4ccc`: 18 warning
  - added the new `428.00` enum value to the `status/code` response property for the response status `200` (media type: text/plain)
  - added the new `428.00` enum value to the `status/code` response property for the response status `200` (media type: application/json)
  - added the new `428.00` enum value to the `status/code` response property for the response status `200` (media type: text/json)
  - added the new `429.00` enum value to the `status/code` response property for the response status `200` (media type: text/plain)
  - …14 more
- …earlier changes not shown

[Operation history](https://skmtc.dev/gameballers/apis/gameball-api-2/changes/api/v1/DiscountCodes/put.md)

---

[API](https://skmtc.dev/gameballers/apis/gameball-api-2.md) - [All operations](https://skmtc.dev/gameballers/apis/gameball-api-2/llms.txt) - [OpenAPI document](https://skmtc.dev/gameballers/apis/gameball-api-2/revisions/91732ad54d20?raw)
