supersonic-models
Version:
Supersonic models and API specifications
37 lines (36 loc) • 712 B
YAML
type: object
required:
- reductionType
- reductionPercentOrAmount
- maxReductionAmount
properties:
reductionType:
type: string
enum:
- flatAmount
- percentage
- cappedPercentage
- freeItem
- goalPrice
reductionPercentOrAmount:
type: number
maxReductionAmount:
type: number
transactionMinimum:
type: number
usageControlType:
type: string
enum:
- none
- perCustomerCount
- totalCount
- perCustomerAmount
- totalAmount
- customerRecurringCount
- customerRecurringAmount
maxUsageCountOrAmount:
type: number
recurringUsageCountOrAmount:
type: number
freeModifierCount:
type: integer