Schema
Quantity Redemption Option Input
Direct fixed-value or percentage reward in program currency. On edit, supply an existing option UUID with its saved redemption mode, or omit the UUID or supply null to add a new option. The redemption mode is fixed for an option UUID. UUIDs must be unique within redemption_options.
Overview
Properties
uuid
string | null
Format
uuid
Nullable
Yes
quantity_cost
integer
Required
Minimum
1
Maximum
2147483647
calculation
reference
Required
References Calculation Input.
redemption_mode
reference
Required
References Loyalty Redemption Mode.
minimum_eligible_spend
oneOf
Nullable
Yes
One of
One of 1
null
One of 2
reference
References Positive Money.
is_stackable
boolean
Default
false
Used by
Raw YAML
Download source
title: Quantity Redemption Option Input
type: object
x-tags:
- Models
description: Direct fixed-value or percentage reward in program currency. On edit, supply an existing option UUID
with its saved redemption mode, or omit the UUID or supply null to add a new option. The redemption mode is fixed
for an option UUID. UUIDs must be unique within redemption_options.
required:
- quantity_cost
- calculation
- redemption_mode
properties:
uuid:
type:
- string
- "null"
format: uuid
quantity_cost:
type: integer
minimum: 1
maximum: 2147483647
calculation:
$ref: ./CalculationInput.yaml
redemption_mode:
$ref: ./LoyaltyRedemptionMode.yaml
minimum_eligible_spend:
oneOf:
- type: "null"
- $ref: ./PositiveMoney.yaml
is_stackable:
type: boolean
default: false