Schema
Quantity Redemption Option Input
Direct fixed-value or percentage reward, using program currency. Retain a supplied existing UUID to preserve identity; omitted/null UUIDs receive new identities. UUIDs must be unique within redemption_options. No reward options are required.
Overview
Properties
uuid
string | null
Format
uuid
Nullable
Yes
quantity_cost
integer
Required
Minimum
1
Maximum
2147483647
calculation
reference
Required
References Calculation Input.
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, using program currency. Retain a supplied existing UUID to
preserve identity; omitted/null UUIDs receive new identities. UUIDs must be unique within redemption_options. No
reward options are required.
required:
- quantity_cost
- calculation
properties:
uuid:
type:
- string
- "null"
format: uuid
quantity_cost:
type: integer
minimum: 1
maximum: 2147483647
calculation:
$ref: ./CalculationInput.yaml
minimum_eligible_spend:
oneOf:
- type: "null"
- $ref: ./PositiveMoney.yaml
is_stackable:
type: boolean
default: false