Ir al contenido
UnoPagoDocumentación
Referencia de la APICustomer dataTags

Assign a tag to a student

POST
/v1/students/{studentId}/tags

Autorización

bearerAuth
headerAutorizaciónBearer <token>

Your API key, created in Configuración → Claves API. The key alone, without the Bearer prefix, is accepted too.

Parámetros de ruta

studentId*string
Patrón^[cC][0-9a-z]{6,}$
Formatocuid
application/json
  1. body
tagId*string
Patrón^[cC][0-9a-z]{6,}$
Formatocuid

Cuerpo de la respuesta

Successful response

application/json
  1. response
id*string
Patrón^[cC][0-9a-z]{6,}$
Formatocuid
accountId*string
studentId*string
tagId*string
metadata*string|number|boolean|null||array<unknown>|null
createdAt*string
createdBy*string|null
Ejemplo de solicitud
curl -X POST 'https://api.unopago.com/v1/students/string/tags' \  -H 'Content-Type: application/json' \  -d '{  "tagId": "string"}'
Ejemplo de respuesta
{  "id": "string",  "accountId": "string",  "studentId": "string",  "tagId": "string",  "metadata": "string",  "createdAt": "string",  "createdBy": "string"}