Ir al contenido
UnoPagoDocumentación
Referencia de la APICustomer dataTags

Get tags assigned to a customer

GET
/v1/customers/{customerId}/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

customerId*string
Patrón^[cC][0-9a-z]{6,}$
Formatocuid

Cuerpo de la respuesta

Successful response

application/json
  1. response
[index: integer]?
Ejemplo de solicitud
curl -X GET 'https://api.unopago.com/v1/customers/string/tags'
Ejemplo de respuesta
[  {    "id": "string",    "accountId": "string",    "customerId": "string",    "tagId": "string",    "metadata": "string",    "createdAt": "string",    "createdBy": "string",    "tag": {      "entityTypes": [        "CUSTOMER"      ],      "id": "string",      "accountId": "string",      "name": "string",      "emoji": "string",      "color": "string",      "description": "string",      "isActive": true,      "sortOrder": -9007199254740991,      "createdAt": "string",      "updatedAt": "string",      "deletedAt": "string"    }  }]