get https://{subdomain}.kommo.com/api/v4/catalogs//custom_fields
This method allows to get a list of list custom fields .
Limitations
The method is available for all account users.
Data type header when the request is successful
Content-Type: application/hal+json
Data type header in case of an error
Content-Type: application/problem+json
Response parameters
The method returns an array of custom field objects. The properties of the custom field object are listed below. Object properties differ depending on the entity.
Parameter | Data type | Description |
---|---|---|
id | int | Field ID |
name | string | Field name |
code | string | Field code that can be used to update the value of the field without passing the field ID in the request. |
sort | int | Field sorting |
type | int | Field type |
entity_type | string | Entity type (leads, contacts, companies,catalogs) |
remind | string|null | Birthday reminders setting (never, day – day before the event, week – week before the event, month – month before the event). This value is available only for the birthday type field. This parameter is returned only when getting a list of lead, contact, or company fields. |
enums | array|null | Available field values array. Only available for the fields with enum values. |
enums[0] | object | Available field value model |
enums[0][id] | int | Value ID |
enums[0][value] | string | Value |
enums[0][sort] | int | Value sorting |