Information about types of custom attributes

Returns information about the types of custom attributes for customers and orders.

Request

GET

https://api-metrika.yandex.net/cdp/api/v1/counter/{counterId}/schema/predefined_types

Path parameters

Name

Description

counterId

Type: integer

Tag ID.

Responses

200 OK

OK

Body

application/json
{
  "types": [
    {
      "humanized": "example"
    }
  ]
}

Name

Description

types

Type: AttributeType[]

Attribute types.

Example
[
  {
    "humanized": "example"
  }
]

AttributeType

Types of attributes.

Name

Description

humanized

Type: string

Attribute type name.

Example: example

Example
{
  "humanized": "example"
}