iglooX DocsDevelopers

Schema

Quantity Earning Bonus Input

One additional unit quantity for a qualifying purchase. A positive base award is required. Select the greatest eligible bonus once; do not stack or repeat rules.

  • Models

Overview

object · 3 properties · 2 required

Properties

minimum_eligible_spend

reference Required

Whole-order eligible-spend threshold in the unit program currency. Applies to all earning modes.

References Positive Money.

bonus_quantity

integer Required
Minimum 1
Maximum 2147483647

eligible_tiers

array

Merchant-owned tier UUIDs. Empty or omitted permits every otherwise eligible tier. Use the tier held when the bonus is applied, after any progression caused by the purchase.

Default []
Max items 100
Unique items Yes
Array items

Items

string
Format uuid

Used by

Raw YAML
Download source
title: Quantity Earning Bonus Input
type: object
x-tags:
  - Models
description: One additional unit quantity for a qualifying purchase. A positive base award is required. Select the greatest eligible bonus once; do not stack or repeat rules.
required:
  - minimum_eligible_spend
  - bonus_quantity
properties:
  minimum_eligible_spend:
    $ref: ./PositiveMoney.yaml
    description: Whole-order eligible-spend threshold in the unit program currency. Applies to all earning modes.
  bonus_quantity:
    type: integer
    minimum: 1
    maximum: 2147483647
  eligible_tiers:
    type: array
    maxItems: 100
    uniqueItems: true
    default: []
    description: Merchant-owned tier UUIDs. Empty or omitted permits every otherwise eligible tier. Use the tier held when the bonus is applied, after any progression caused by the purchase.
    items:
      type: string
      format: uuid

Search documentation

Search across this documentation site.