DiscountCodes

PUT /api/v1/DiscountCodes

Changed on

Request

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

Headers

Authorization, string
lang, string
APIKey, string required
SecretKey, string

Request body

GameBallBLLViewModelsDiscountCodeViewModel required
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
playerUniqueId, string nullable
mobile, string nullable
email, string nullable
merchant, GameBallBLLViewModelsMerchantIntegrationViewModel
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
merchants, GameBallCommonModelAutomationProductMerchantViewModel[] nullable
branches, GameBallCommonModelAutomationProductBranchViewModel[] nullable
categories, string[] nullable
products, GameBallCommonModelAutomationProductReferenceViewModel[] 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
details, string nullable
challengeId, integer nullable
couponGenerationFailureSide, string nullable

Response

OK

GameBallCommonProcessResultProcessResultViewModel1SystemBoolean required
isSucceeded, boolean
methodName, string nullable
status, GameBallCommonProcessResultProcessResultStatus
data, boolean

Changes

    • info

      added the new 18.00 enum value to the request property couponPointsSettingType (media type: application/json)

    • info

      added the new 18.00 enum value to the request property couponPointsSettingType (media type: text/json)

    • info

      added the new 18.00 enum value to the request property couponPointsSettingType (media type: application/*+json)