Communication between Business Central and e-commerce platform
Business Central APIs
The Aident WebConnect app offers REST APIs that allow the e-commerce platform to export and import data to Business Central.
| Export API | Import API |
|---|---|
| Item and Item Variant Stock Price Customer and Ship-to Address Order Status |
Customer and Ship-to Address Order Return Order |
API documentation is available as an OpenAPI definition or through SwaggerUI.
User in Business Central must have Aident WebConnect - API permission set assigned.
Updates to e-commerce platform
To enable automatic updates from Business Central to the e-commerce platform, the Webshop Request Log feature should be utilized. Ensure that Send Automatic Updates to Webshop is enabled in the webshop tenant, and all connection settings are configured.
When data is updated in Business Central, a new entry is created in the Webshop Request Log. Each record contains details about the object to be exported, the target endpoint, and the message to be sent. After the job queue runs, you can verify the success of the export and review the response from the e-commerce platform in this log. If the same object is modified multiple times between job queue executions, only one entry will be created in the Webshop Request Log, resulting in a single message being sent to the webshop.