Quests

Update a quest requirement.

Invoke this endpoint to update a quest requirement.

patch/v2/admin/quest-requirements/{quest_requirement_id}

Request

Path parameters

quest_requirement_idstring required

The ID of the quest requirement.

Request body multipart/form-data

quest_idstring

The ID of the associated quest.

activity_type_idstring

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

descriptionstring

A description of the quest requirement.

value_thresholdnumber

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

prize_point_reward_valuenumber

The amount of points earned by completing the quest requirement.

prize_loot_box_idstring

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

prize_nft_loyalty_reward_idstring

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

auto_claim_prizeboolean

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

activity_type_subtypesstring[]

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

check_in_interval_daysnumber

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_urlstring

The url of the image for the quest requirement.

cta_textstring

Call to action description text.

cta_urlstring

Call to action URL.

ordernumber

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

restricted_to_idsstring[]

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

Response

Successful response

quest_requirementobject required

Changes

No recorded changes to this operation across all 1 revision of this API.