curl --request PUT \
--url https://api.hirehive.com/v1.0/{company_id}/candidates/{candidate_id}/applications/{application_id}/stage \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"parent_stage": "rejected",
"custom_stage": {
"id": "<string>",
"name": "<string>"
}
}
'