DiscountCodes
POST /api/v1/DiscountCodes
Changed onRequest
- Base URLhttps://api.gameball.co (the document declares no server; this is the origin it was published from)
- Authnone declared. Required headers: APIKey
Headers
Authorization, string
lang, string
APIKey, string required
SecretKey, string
Request body
Game Ball BLLView Models Discount Code View Model 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, Game Ball BLLView Models Transaction View Model
playerUniqueId, string nullable
mobile, string nullable
email, string nullable
merchant, Game Ball BLLView Models Merchant Integration View Model
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, Game Ball Common Model Automation Product Collection View Model[] nullable
merchants, Game Ball Common Model Automation Product Merchant View Model[] nullable
branches, Game Ball Common Model Automation Product Branch View Model[] nullable
categories, string[] nullable
products, Game Ball Common Model Automation Product Reference View Model[] nullable
couponRulesLogicalOperator, 1 | 2
productDisplayName, string nullable
startAt, string date-time nullable
endAt, string date-time nullable
groupHandle, string nullable
groupHandleURL, string nullable
options, Game Ball BLLView Models Discount Code Options View Model
details, string nullable
challengeId, integer nullable
couponGenerationFailureSide, string nullable
Response
OK
Game Ball Common Process Result Process Result View Model1 System Object required
isSucceeded, boolean
methodName, string nullable
status, Game Ball Common Process Result Process Result Status
data, unknown
Changes
- info
added the new
18.00enum value to the request propertycouponPointsSettingType(media type: application/json) - info
added the new
18.00enum value to the request propertycouponPointsSettingType(media type: text/json) - info
added the new
18.00enum value to the request propertycouponPointsSettingType(media type: application/*+json)
- info