Update status

post
Authorizations
Path parameters
challenge_idstringRequired

The Id of the challenge.

Body
statusstringOptional

The status of the quest.

Responses
200
Successful response
application/json
post
POST /partner-api/v2/admin/challenges/{challenge_id}/update-status HTTP/1.1
Host: 
X-API-Key: YOUR_API_KEY
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 17

"status='text'"
200

Successful response

{
  "quest": {
    "id": "text",
    "name": "text",
    "priority": 1,
    "description": "text",
    "sponsor_name": "text",
    "image_url": "text",
    "point_threshold_requirement": 1,
    "opt_in_text": "text",
    "time_to_complete_minutes": 1,
    "starts_at": 1,
    "ends_at": 1,
    "status": "draft",
    "max_num_of_completions_per_user": 1,
    "max_num_of_completions_for_program": 1,
    "quest_type": "text",
    "auto_opt_in_at_signup": true,
    "partner_metadata": {
      "ANY_ADDITIONAL_PROPERTY": "anything"
    },
    "created_at": 1,
    "terms_and_conditions": "text",
    "auto_claim_prize": true,
    "enforce_order": true,
    "claim_prize_header_text": "text",
    "claim_prize_message": "text",
    "claim_prize_cta": "text",
    "remaining_num_of_completions_for_program": 1,
    "quest_requirements": [
      "text"
    ],
    "prize": {
      "point_reward_value": 1,
      "sponsor_name": "text",
      "lootbox": {
        "id": "text",
        "name": "text",
        "description": "text",
        "background_gradient_start_color": "text",
        "background_gradient_stop_color": "text",
        "image_box_together_url": "text",
        "reward_choices": [
          {
            "id": "text",
            "title": "text",
            "subtitle": "text",
            "category": "text",
            "point_reward_value": 1,
            "reward_uuids": [
              "text"
            ],
            "quantity": 1,
            "image": "text",
            "video": "text",
            "probability": 1,
            "current_tier_id": "text",
            "rewards": [
              {
                "uuid": "text",
                "name": "text",
                "description": "text",
                "image_url": "text",
                "terms_and_conditions": "text",
                "metadata": {
                  "ANY_ADDITIONAL_PROPERTY": "anything"
                }
              }
            ]
          }
        ],
        "metadata": {
          "ANY_ADDITIONAL_PROPERTY": "anything"
        }
      },
      "reward": {
        "uuid": "text",
        "name": "text",
        "description": "text",
        "image_url": "text",
        "terms_and_conditions": "text"
      }
    }
  }
}