CRM Company Details Addresses: Methods Overview
If you are developing integrations for Bitrix24 using AI tools (Codex, Claude Code, Cursor), connect to the MCP server so that the assistant can utilize the official REST documentation.
Addresses store postal and legal data associated with company details, leads, and, for backward compatibility, contacts or companies on older portals.
Quick navigation: All Methods
User documentation: How to Add Your Company's Company Details
Getting Started
- Determine the parent object type
ENTITY_TYPE_ID - Retrieve the parent object identifier
ENTITY_ID - Create an address using the crm.address.add method
- Update an address using the crm.address.update method
- Retrieve a list of addresses by filter using the crm.address.list method
- If an address is no longer needed, delete it using the crm.address.delete method
Address Identifiers
TYPE_ID— the address type, such as legal or physical. Values can be retrieved using the crm.enum.addresstype methodENTITY_TYPE_ID— the parent object type. For company details, pass8; for a lead, pass1. All values are returned by the crm.enum.ownertype methodENTITY_ID— the parent object identifier. For a company details address, this is the company details ID from crm.requisite.list
Address Fields
Required fields are marked with *.
|
Name |
Description |
|
TYPE_ID* |
Identifier of the address type. Enumeration element "Address Type". Elements of the enumeration "Address Type" can be obtained using the method crm.enum.addresstype |
|
ENTITY_TYPE_ID* |
Parent object type identifier. Object type identifiers can be obtained using the crm.enum.ownertype method. Addresses can only be linked to Requisites (whereas Company details are already linked to companies or contacts) or Leads. For backward compatibility, the ability to link Addresses to Contacts or Companies has been retained. However, this connection is only possible on some older portals where the old address operating mode was specifically enabled by technical support |
|
ENTITY_ID* |
Identifier of the parent object |
|
ADDRESS_1 |
Street, house, building, structure |
|
ADDRESS_2 |
Apartment / office |
|
CITY |
City |
|
POSTAL_CODE |
Postal code |
|
REGION |
District |
|
PROVINCE |
Region |
|
COUNTRY |
Country |
|
COUNTRY_CODE |
Country code |
|
LOC_ADDR_ID |
Location address identifier. This field contains the identifier of the address object in the If an identifier for an address in the However, if at least one string field is specified, only the specified fields will be saved in the CRM address, and their values will overwrite the corresponding values in the location address object. The same behavior applies when updating an address |
|
ANCHOR_TYPE_ID |
Identifier of the main parent object type. This field is for internal use. The value is automatically filled when adding an address. Object type identifiers can be obtained using the method crm.enum.ownertype. This field contains the identifier of the parent object type of the requisite (company or contact) if the address is linked to a requisite. If the address is linked to a lead, this value will be the lead type identifier |
|
ANCHOR_ID |
This field is for internal use. The value is automatically filled when adding an address. This field contains the identifier of the parent object of the requisite (company or contact) if the address is linked to a requisite. If the address is linked to a lead, this value will be the lead identifier |
Use the method crm.address.fields to obtain a formal description of the address fields.
Overview of Methods
Scope:
crmWho can execute the methods: depending on the method — access permissions are checked against the address owner: a contact, company, or lead
|
Method |
Description |
|
Adds a new address for a requisite or lead |
|
|
Modifies the address for a requisite or lead |
|
|
Returns a list of addresses based on a filter |
|
|
Deletes an address |
|
|
Returns a formal description of the address fields |