{
  "status": "success",
  "message": "mission updated",
  "data": {
    "id": "6292cad2-fcd2-4b58-92ca-850ca7c64ac9",
    "name": "monthly data purchase",
    "description": "Recharge data monthly",
    "pointsReward": 2,
    "startDate": "2025-08-05T23:00:00.000Z",
    "endDate": "2025-08-14T23:00:00.000Z",
    "createdAt": "2025-08-06T22:43:31.045Z",
    "updatedAt": "2025-08-06T22:44:20.693Z",
    "partner": {}
  }
}

URL
https://test-api.bvndle.com/api/v1/laas/missions/:id
Base URL
https://test-api.bvndle.com/api/v1/laas
HTTP Method
PUT
Authorization Header
Bearer ACCESS_TOKEN

Request Body:
nametypeDescription
namestringOptional
Name of the mission
descriptionstringOptional
Short description of the mission
pointsRewardnumberOptional
Points to be awarded on completion of the mission
startDatedateOptional
When the mission is expected to start
endDatedateOptional
When the mission is expected to end

cURL
curl --request PUT
'https://test-api.bvndle.com/api/v1/laas/missions/07d205a5-fde5-4fc6-a886-4f0a7d647e96' \
--header 'Content-Type: application/json' \

{
    "name": "Monthly data purchase",
    "description": "Recharge data monthly",
    "pointsReward": 2,
    "startDate": "2025-08-07",
    "endDate": "2025-10-15"
}

{
  "status": "success",
  "message": "mission updated",
  "data": {
    "id": "6292cad2-fcd2-4b58-92ca-850ca7c64ac9",
    "name": "monthly data purchase",
    "description": "Recharge data monthly",
    "pointsReward": 2,
    "startDate": "2025-08-05T23:00:00.000Z",
    "endDate": "2025-08-14T23:00:00.000Z",
    "createdAt": "2025-08-06T22:43:31.045Z",
    "updatedAt": "2025-08-06T22:44:20.693Z",
    "partner": {}
  }
}