How does Lemonsoft customer account synchronization work?
AI Commerce Cloud automatically syncs Lemonsoft customers and contacts, saving time and preventing order errors.
Table of Contents
When AICC takes care of creating, updating and linking customers and contacts to Lemonsoft ERP, the merchant does not have to maintain the same information twice. The correct personal information is always visible on the order line and customer card, so invoicing, shipping and customer service work smoothly.
Basic synchronization logic step by step
-
Order arrives at AICC
AICC captures the order's customer and contact information. -
Customer is being checked
• AICC searches Lemonsoft first by business ID/VAT number (filter.vat
).
• If no match is found, the search continues with the company name (filter.name
).
• Consumers are searched by email (filter.email
).
The first matching line is enough.
• If the customer does not exist, AICC creates it in Lemonsoft and stores the returnedcustomers_api_id
value. -
Contact is being checked
• Search is done first by email, then by full name.
• If neither is found, AICC creates a contact in Lemonsoft, savesid
and returns to the order. -
Possible updates to the queue
Existing customers and contacts are updated in the background (Queue) so that the merchant's everyday life is not slowed down. -
The order is transferred to ERP .
Lemonsoft's Order interface does not yet supportcontact_id
, so AICC fills in the contact's name and email in the order payload (Table 2).
Key fields and their counterparts
AICC field | Importance | Lemonsoft object | Unique key |
---|---|---|---|
customers + address_book | Business / consumer | Customer | Business ID/VAT (B2B) or email (B2C) |
customers_email_address | User's email | Contact | |
entry_firstname / lastname | Person's name | Contact | – |
What contact person fields does AICC send to an order?
JSON field in ERP | AICC source |
---|---|
customer_contact | billingName / name |
customer_contact_email | |
delivery_customer_contact | name |
delivery_customer_contact_email |
Edge cases & recommendations
- Duplicates : VAT search minimizes, but there may be duplicate customers in history – merging in Lemonsoft.
-
Upcoming enhancement : When Lemonsoft adds
contact_id
to the order interface, support will be added to AICC'sOrderRepository::getOrderParams()
method.
Summary – next steps
Once the above settings are verified and the test is successful, you can trust that AI Commerce Cloud will keep your Lemonsoft customer data up to date with every order.