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

Authorizationstring
langstring
APIKeystring required
SecretKeystring

Request body

isDeletedboolean
creationDatestring date-time nullable
lastUpdatestring date-time nullable
idinteger
playerIdinteger required
codestring nullable
pinstring nullable
guestIdentifierstring nullable
codeClientIdstring nullable
pricingRuleIdstring nullable
amountnumber double
currencystring nullable
isUsedboolean
isActiveboolean
iconIdinteger nullable
transactionTimestring date-time
target1 | 2 | 3 | 4 | 5
type1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 11
cappingnumber double nullable
minRewardnumber double nullable
productIdstring nullable
productNamestring nullable
variantIdstring nullable
variantNamestring nullable
transactionIdinteger nullable
playerUniqueIdstring nullable
mobilestring nullable
emailstring nullable
destinationstring nullable
ruleIdinteger nullable
discountEquivalentValuenumber double nullable
minOrderValuenumber double nullable
couponPointsSettingType1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 11 | 12 | 13 | 14 | 15 | 16
categoriesstring[] nullable
couponRulesLogicalOperator1 | 2
productDisplayNamestring nullable
startAtstring date-time nullable
endAtstring date-time nullable
groupHandlestring nullable
groupHandleURLstring nullable
detailsstring nullable
challengeIdinteger nullable
couponGenerationFailureSidestring nullable

Response

OK

isSucceededboolean
methodNamestring nullable
databoolean

Changes

No recorded changes to this operation across all 1 revision of this API.