Data Synchronization
The connector supports bidirectional synchronization of all data types.
Sync Flow: PrestaShop to Odoo (Pull)
When you click a sync button or the auto sync cron runs, data flows as follows:
- The connector calls the PrestaShop Webservice API (REST)
- API returns data in JSON format
- The connector extracts field values from the API response
- Field Mappings are applied - mapped PS fields are converted to Odoo field values
- If the record exists in Odoo (matched by PS ID), it is updated
- If the record is new, it is created in Odoo
- A Sync Report is generated with success/error counts
Sync Flow: Odoo to PrestaShop (Push)
When you click "Create in PrestaShop" or "Update in PrestaShop" on a record:
- The connector reads the Odoo record values
- Field Mappings are applied - mapped Odoo fields are converted to PS API values
- An XML payload is built with the mapped values
- The connector sends a POST (create) or PUT (update) request to the PS API
- The PS ID is saved back on the Odoo record
info
The field mapping system overlays values on top of the standard sync. If no mappings are configured, the built-in sync logic handles all fields.
Need Help?
Contact SDLC Corp at sdlccorp.com/contact-us