Create a new section or update an existing section for a specific grade.
POST
bearerAuthheader
AutorizaciónBearer <token>Your API key, created in Configuración → Claves API. The key alone, without the Bearer prefix, is accepted too.
application/json- body
sectionId?stringPatrón
^[cC][0-9a-z]{6,}$Formato
cuidname*stringgradeId*stringPatrón
^[cC][0-9a-z]{6,}$Formato
cuidSuccessful response
application/json- response
id*stringPatrón
^[cC][0-9a-z]{6,}$Formato
cuidname*stringcurl -X POST 'https://api.unopago.com/v1/grades/sections' \ -H 'Content-Type: application/json' \ -d '{ "name": "string", "gradeId": "string"}'Ejemplo de respuesta
{ "id": "string", "name": "string"}
