Skip to main content
PUT
/
request
/
update
curl -X PUT https://api.example.com/request/update \
  -H "Content-Type: application/json" \
  -H "Cookie: token=your-jwt-token" \
  -d '{
    "v_id_request": 12,
    "v_email": "[email protected]"
  }'
{
  "message": "Status Actualizado",
  "info": ["[email protected]"]
}
Updates the status of a request from Pending (PENDIENTE) to In Progress (EN PROGRESO). After updating the status, the system automatically sends an email notification to the client or partner informing them of the status change.
This endpoint requires authentication via JWT token stored in cookies.

Authentication

JWT authentication tokenExample: "token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."

Request Body

v_id_request
integer
required
Request ID to update (minimum 1)Example: 12
v_email
string
required
Client email address for notificationExample: "[email protected]"

Response

message
string
Success messageExample: "Status Actualizado"
info
array
Array of email addresses that received notificationExample: ["[email protected]"]
curl -X PUT https://api.example.com/request/update \
  -H "Content-Type: application/json" \
  -H "Cookie: token=your-jwt-token" \
  -d '{
    "v_id_request": 12,
    "v_email": "[email protected]"
  }'
{
  "message": "Status Actualizado",
  "info": ["[email protected]"]
}

Email Notification

When the status is successfully updated, an automatic email is sent to the client informing them that their request is now being processed. This helps maintain transparent communication throughout the request lifecycle.

Build docs developers (and LLMs) love