This add-on is part of our Subscription plan.
Subscribe once — enjoy all add-ons without limits.
API integration with Webasyst
This add-on helps synchronize CS-Cart and Webasyst through API. It can create and update products, and transfer orders and statuses between the stores so the data stays up to date without manual work.
What it is for
The add-on is used to keep product data up to date in Webasyst, update orders and order statuses between the systems, map objects and statuses in one workflow, and reduce manual work during data exchange between stores.
Key features
Product creation and updates by SKU, order and order status updates, object and status mapping tables, request logging, and Webasyst API support.
How it works
The add-on uses Webasyst connection settings and sends data through the API. Products are updated by SKU so both stores stay in sync. Orders and statuses are transferred according to the configured mappings. The add-on uses its internal tables and logs requests while it works.
Have questions about the add-on?
- Store Builder
- Store Builder Ultimate
- Multi-Vendor
- Multi-Vendor Plus
- Multi-Vendor Ultimate
- Owners
- Vendors
- English
- Русский
- 4.20
- 4.19.X
- 4.18.X
Instructions for ms_webasyst_api_integration
The add-on connects CS-Cart with Webasyst through the API. It sends products and orders from CS-Cart to Webasyst, receives updated data from Webasyst, and helps map local and remote order statuses.
What it does
- sends products and product changes to Webasyst by SKU;
- creates and updates orders in Webasyst;
- receives updated products and orders from Webasyst through cron;
- maps CS-Cart order statuses to Webasyst statuses;
- logs requests and responses;
- stores internal mappings for users and statuses.
Where it is located
- Add-ons → API integration with webasyst → General — account URL, token, product updates, update intervals, order discounts, default category, default company, logging, and log file size;
- Add-ons → API integration with webasyst → Additional information — cron notes;
- Add-ons → API integration with webasyst → Statuses compare — local and remote status mapping;
- the Get token button is shown in the add-on settings when the add-on is active.
How to configure
- Enter the Webasyst Account URL, that is the root URL of the store on the Webasyst side.
- Click Get token and complete authorization. After the redirect, the token is saved in the add-on settings.
- If needed, enable Product update enable.
- Set Update time and Orders update time. The value is specified in seconds and is used to pick recently changed records.
- If needed, enable Discount enable so discounts are sent when orders are created or updated.
- Select the Default category and Default company. New products will be created with the selected category, and orders will be synchronized only for the selected company.
- If needed, enable Logging and set the Logging file size in bytes.
Status mapping
In the Statuses compare section, set a remote Webasyst status for each local order status. Supported values are shipped, processed, and completed. When an order status changes in CS-Cart, the add-on sends the change to Webasyst using the selected mapping.
What is synchronized
- Products — they are updated by SKU. If a product with that SKU does not exist, the add-on can create a new product with name, description, SEO fields, price, quantity, images, and default values from the settings;
- Orders — when an order is created or updated in CS-Cart, the add-on sends order items, customer data, shipping address, shipping method, comment, and shipping cost to Webasyst;
- Order statuses — when an order status changes in CS-Cart, the add-on can move the Webasyst order to shipped, processed, or completed.
Additional notes
- Use the cron jobs from the Additional information section for data exchange:
To update products: php path_to_site_folder/example.ru/index.php?dispatch=ms_webasyst_api_integration.update_products
To update orders: php path_to_site_folder/example.ru/index.php?dispatch=ms_webasyst_api_integration.update_orders
- If the account URL or token is missing, synchronization will not run;
- Logging helps track requests and exchange errors.
How to check
- Save the add-on settings and make sure the token is filled in.
- Change a product in Webasyst and run the product update cron, then check the result in CS-Cart.
- Create or update an order in CS-Cart and check that it appears or updates in Webasyst.
- Change an order status in CS-Cart and make sure the status mapping is applied in Webasyst.
Change history
v1.2.4 from 2023-01-05
[*] Short opening tags <? were replaced with regular <?php tags.
v1.2.3 from 2023-01-05
[!] Fixed an issue where not all settings were saved when clicking the save button on the module settings page.
v1.2.2 from 2022-12-14
[*] Product matching was changed to use SKU instead of sku_id.
[+] Added extra module settings for sending discounts and updating orders.
v1.2.1 from 2022-10-28
[+] Added cron link information for launching order updates in the module settings.
v1.2.0 from 2022-10-27
[+] Added the ability to update orders and order statuses based on data from the remote marketplace.
v1.1.1 from 2022-10-19
[+] Added a missing controller file.
v1.1.0 from 2022-10-17
[+] Added the ability to update orders and order statuses on the remote marketplace.
[+] Added a page for matching remote marketplace order statuses with local ones.
v1.0.2 from 2022-10-13
[!] Fixed customer data transfer.
v1.0.1 from 2022-10-04
[+] Added a file that was forgotten during migration.
[!] Fixed the controller for the cron script.
v1.0.0 from 2022-09-27
[+] First release.
Legend:
[+] Added
[-] Removed
[*] Changed
[!] Bug fix
Here you can share your opinion and evaluate our work.
Your feedback helps us become better and offer you even better service.