Skip to main content
This endpoint is used for partner verification and is separate from the list endpoint.

Overview

The partner verification system in DEMET uses the /partner/verify endpoint to check if a specific partner ID corresponds to an active partner in the system.

Endpoint

POST /partner/verify

Request Body

v_idPartner
string
required
ID of the partner to verifyExample: "123456789"

Response

result
boolean
Indicates whether the partner is active and valid
message
string
Error message if partner is not found (only present in error responses)

Example Request

curl -X POST https://api.example.com/partner/verify \
  -H "Content-Type: application/json" \
  -d '{
    "v_idPartner": "123456789"
  }'

Example Response

200 Partner Found
{
  "result": true
}
401 Partner Not Found
{
  "message": "Socio No Encontrado",
  "result": false
}
500 Internal Server Error
{
  "message": "Error inesperado en el servidor"
}
This endpoint does not require authentication cookies, making it suitable for public partner verification.

Build docs developers (and LLMs) love