Create a new reward in the program’s catalog.
name, redemption_type, asset_id, unit_cost, and status.
redemption_type controls how participants redeem: UNIT_BASED rewards are redeemed in discrete quantities with optional inventory caps (max_total, max_per_participant), while AMOUNT_BASED rewards allow variable amounts with no inventory limits. Both redemption_type and asset_id are immutable after creation.
Set available_from and available_until to define a redemption window. Most rewards should start in DRAFT status until configuration is finalized, then transition to ACTIVE when ready.
API key passed in the X-API-Key header.
Program ID
Reward details
Asset used to price this reward (must be linked to the program). Immutable after creation.
"550e8400-e29b-41d4-a716-446655440000"
Display name for the reward
1 - 255"$10 Gift Card"
How the reward is redeemed: UNIT_BASED (discrete quantities) or AMOUNT_BASED (variable amounts). Immutable after creation.
UNIT_BASED, AMOUNT_BASED "UNIT_BASED"
Lifecycle status: DRAFT, ACTIVE, OUT_OF_STOCK, or ARCHIVED
DRAFT, ACTIVE, OUT_OF_STOCK, ARCHIVED "DRAFT"
Cost per unit in the reward's asset (decimal string for precision, must be positive)
1"1000.00"
Start of the availability window (RFC 3339, null if always available)
"2024-01-01T00:00:00Z"
End of the availability window (RFC 3339, null if no end date)
"2024-12-31T23:59:59Z"
Grouping label for organizing rewards in the catalog
100"Gift Cards"
Details about the reward
1000"Redeemable for a $10 gift card"
Per-participant redemption limit (UNIT_BASED only, null = unlimited)
2
Global inventory limit (UNIT_BASED only, null = unlimited)
100
Custom key-value data attached to this reward
Reward created
A reward with its pricing, inventory, availability, and metadata
Asset used to price this reward
"550e8400-e29b-41d4-a716-446655440002"
Start of the availability window (RFC 3339, null if always available)
"2024-01-01T00:00:00Z"
End of the availability window (RFC 3339, null if no end date)
"2024-12-31T23:59:59Z"
Grouping label for organizing rewards in the catalog
"Gift Cards"
When this reward was created (RFC 3339)
"2024-01-15T10:30:00Z"
Details about the reward
"Redeemable for a $10 gift card"
Unique identifier for this reward
"550e8400-e29b-41d4-a716-446655440000"
Per-participant redemption limit (UNIT_BASED only, null = unlimited)
2
Global inventory limit (UNIT_BASED only, null = unlimited)
100
Custom key-value data attached to this reward
Display name for this reward
"$10 Gift Card"
Program this reward belongs to
"550e8400-e29b-41d4-a716-446655440001"
Total number of times this reward has been redeemed
42
How the reward is redeemed: UNIT_BASED (discrete quantities) or AMOUNT_BASED (variable amounts)
"UNIT_BASED"
Lifecycle status: DRAFT, ACTIVE, OUT_OF_STOCK, or ARCHIVED
"ACTIVE"
Cost per unit in the reward's asset (decimal string for precision)
"1000.00"
When this reward was last modified (RFC 3339)
"2024-01-15T10:30:00Z"