Importing customers to Litium
This section explains how to import customers to Litium from ERP system.
Litium 7.6 is required
To import customers to Litium through Litium Connect, use the following web-api endpoints.
/Litium/api/connect/erp/imports?api-version=2.0
Methods: POST
You can:
- Create and update organizations.
- Create and update persons.
- Use the field template identifier value from the organizations settings and persons settings if the field template identifier is not specified.
- Link price lists that are imported to an organization. The price lists must be imported first and the priceListIds are included with the organization with the import of organizations.
- Create and update addresses. The adresses are included with the organizations or persons when importing them. The address types must match the address types in Litium. It is possible to define an address type mapping in OrganizationSettings or PersonSetting when importing organizations or persons.
- Import data for fields of organizations or persons when importing customers. The fielddefinitionIds must exist in Litium.
- Import reference fields: Media pointer file and images. Media files will not be imported, but the integration allows creating a pointer to the media file if the file exists.
- Import the legal registration number value and VAT registration number value if the fields definition identifier exists. You can use VatRegistrationNumberFieldDefinitionId and LegalRegistrationNumberFieldDefinitionId in the organization settings to set theese field definition identifyers for all organizations.
Read more about batch import here.