Authorizations
Headers
The language to update the reward in. This will update the reward's content for the specified language.
Path Parameters
The id of the reward to update
Body
The input required to update a reward
The additional communities this reward is available in
The points cost to acquire one asset of this reward. Must be > 0 if allocationsType is assets-only or assets-and-entries.
x >= 0
Whether the giveaway should be manual (true) or automatic (false)
The points cost to acquire one entry for this reward. Must be > 0 if allocationsType is entries-only or assets-and-entries.
x >= 0
The type of allocations for this reward. assets-only means only assets are allocable, entries-only means only entries are allocable, and assets-and-entries means both assets and entries are allocable.
assets-only
, entries-only
, assets-and-entries
Whether the assets supply is shared across allocations. If true, the total supply of assets across all allocations will be capped at the value set here. If false, each allocation will use its own supply value.
Whether the entries supply is shared across allocations. If true, the total supply of entries across all allocations will be capped at the value set here. If false, each allocation will use its own supply value.
A reward redemption config A reward redemption config rich text
- RewardRedemptionConfigRichText
- RewardRedemptionConfigCode
- Reward Redemption Config Badge
Tags associated with this reward
Campaigns this reward is part of
Whether this reward is featured
The current status of this reward
archived
, draft
, expired
, live
, scheduled
When this reward becomes available
When this reward expires (or giveaway takes place)
When this reward giveaway will be drawn
Whether the reward is a global template
The organisations that the reward is available as a template for
Input for updating entity details with all fields optional
The total supply of assets available for this reward. Must be > 0 if allocationsType is assets-only or assets-and-entries.
x >= 0
The total supply of entries available for this reward. Must be > 0 if allocationsType is entries-only or assets-and-entries.
x >= 0
Maximum number of assets a single user can acquire through any distribution. Must be > 0 if allocationsType is assets-only or assets-and-entries. Optional, defaults to Infinity on Create.
x >= 1
Maximum number of entries a single user can acquire through any distribution. Must be > 0 if allocationsType is entries-only or assets-and-entries. Optional, defaults to Infinity on Create.
x >= 1
Additional metadata to store with the reward
Response
Successful response
A reward
The unique identifier of the reward
The organisation this reward belongs to
The community this reward belongs to
The additional communities this reward is available in
Used to describe an entity
The points cost to acquire one asset of this reward. Must be > 0 if allocationsType is assets-only or assets-and-entries.
x >= 0
[Not yet implemented] The points value received when swapping this reward asset back. If 0, asset cannot be swapped.
x >= 0
The points cost to acquire one entry for this reward. Must be > 0 if allocationsType is entries-only or assets-and-entries.
x >= 0
The total supply of assets available for this reward. Must be > 0 if allocationsType is assets-only or assets-and-entries.
x >= 0
The total supply of entries available for this reward. Must be > 0 if allocationsType is entries-only or assets-and-entries.
x >= 0
Maximum number of assets a single user can acquire through any distribution. Must be > 0 if allocationsType is assets-only or assets-and-entries.
x >= 1
Maximum number of entries a single user can acquire through any distribution. Must be > 0 if allocationsType is entries-only or assets-and-entries.
x >= 1
The type of allocations for this reward. assets-only means only assets are allocable, entries-only means only entries are allocable, and assets-and-entries means both assets and entries are allocable.
assets-only
, entries-only
, assets-and-entries
Whether the assets supply is shared across allocations. If true, the total supply of assets across all allocations will be capped at the value set here. If false, each allocation will use its own supply value.
Whether the entries supply is shared across allocations. If true, the total supply of entries across all allocations will be capped at the value set here. If false, each allocation will use its own supply value.
The allocations configured for this reward
A reward redemption config A reward redemption config rich text
- RewardRedemptionConfigRichText
- RewardRedemptionConfigCode
- Reward Redemption Config Badge
Tags associated with this reward
Campaigns this reward is part of
The current status of this reward
archived
, draft
, expired
, live
, scheduled
Whether the giveaway should be manual (true) or automatic (false)
The organisations that the reward is available as a template for
Whether the reward is a global template
Additional metadata for the reward
When this reward was created
When this reward was last updated
The user who created this reward
The user who last updated this reward
Whether this reward is featured
When this reward giveaway will be drawn
When this reward becomes available
When this reward expires (or giveaway takes place)