Quest requirements

Update a quest requirement.

patch

Invoke this endpoint to update a quest requirement.

Authorizations
X-API-KeystringRequired
Path parameters
quest_requirement_idstringRequired

The ID of the quest requirement.

Body
quest_idstringOptional

The ID of the associated quest.

activity_type_idstringOptional

The ID of the activity type that satisfies the quest requirement.

descriptionstringOptional

A description of the quest requirement.

value_thresholdnumberOptional

The activity type value threshold needed to satisfy the quest requirement.

prize_point_reward_valuenumberOptional

The amount of points earned by completing the quest requirement.

prize_loot_box_idstringOptional

The ID of the lootbox earned by completing the quest requirement.

prize_nft_loyalty_reward_idstringOptional

The ID of the reward earned by completing the quest requirement.

auto_claim_prizebooleanOptional

A boolean indicating if the prize should automatically be claimed when the quest requirement is completed.

activity_type_subtypesarrayOptional

An array of activity type subtype IDs that can be used to fulfill the quest requirement.

check_in_interval_daysnumberOptional

If present, the cadence at which the user must perform the activity (e.g. a value of 3, with a value_threshold of 50 equates to spend $50 every 3 days).

image_urlstringOptional

The url of the image for the quest requirement.

cta_textstringOptional

Call to action description text.

cta_urlstringOptional

Call to action URL.

ordernumberOptional

If present, the order in which the requirement must be completed.

restricted_to_idsarrayOptional

A list containing IDs that are allowed to fulfill the quest requirement.

Responses
200

Successful response

application/json
patch
/v2/admin/quest-requirements/{quest_requirement_id}
200

Successful response