Integrating 1C with a website and online store: options and pitfalls
Checkcraft is a desktop app for checking APIs and logs without code, with a free edition. Download, no sign-up →
A site and 1C exchange products, prices, stock and orders. Popular store platforms have ready modules working via the CommerceML standard. Custom sites and apps more often use a 1C HTTP service with JSON. Below is how to choose, what to send and where it usually breaks.
Ready module or your own exchange
If the store runs on a popular platform, start with its 1C exchange module: it already exports the catalog and imports orders via CommerceML. Your own exchange through an HTTP service is needed when the site is custom, when there is more data than the standard covers, or when near-real-time exchange is required.
What to send each way
From 1C to the site go products, characteristics, prices for the needed price types and stock by warehouse. From the site to 1C go orders, customers and payment statuses. Choose the product matching key once and never change it: the 1C UUID or the SKU, otherwise duplicates appear.

How to check the site exchange
After every exchange change check three scenarios: a new product appears on the site with price and stock, a site order creates a 1C document with correct amounts and items, and resending the same order does not create a second document. The last one breaks more often than the rest.
What goes where
| Data | Direction | How often |
|---|---|---|
| Catalog and characteristics | 1C → site | On change or daily |
| Prices | 1C → site | On change |
| Stock | 1C → site | Most often, minutes to an hour |
| Orders | Site → 1C | Immediately or every few minutes |
| Order and payment statuses | Both ways | On change |

Common problems
- Duplicate products. The matching key changed or the catalog came from another database.
- Wrong prices. The wrong price type or a price without discount is exported.
- Sold out-of-stock items. Stock updates too rarely or for the wrong warehouses.
- Duplicate orders. The site resent after a timeout and 1C does not check the external number.
Checking a custom exchange
If the exchange uses an HTTP service, save three requests: product export, order creation and resending the same order. Check response fields in each, and after creating an order compare the document in 1C. More in 1C integration via API.
More on 1C
Section overview and all guides: 1C integration via API: options, architecture and examples.
- Automated testing in 1C: Vanessa Automation, YAxUnit and integration checks
- REST API in 1C: HTTP services, OData and calling external APIs
- 1C HTTP services: create, publish, test and debug with examples
- HTTP requests from 1C: GET, POST, headers, auth and timeouts with examples
- HTTP request failed in 1C: causes and fixes
Frequently asked questions
How do I integrate 1C with a website?
A ready CommerceML module for popular store platforms; a 1C HTTP service with JSON for custom sites.
What is exchanged?
Products, characteristics, prices and stock to the site; orders, customers and payment statuses to 1C.
Why do duplicate orders appear?
The site resends after a timeout and 1C does not check the external order number.
Repeat this on your own API
Checkcraft is a desktop app that saves API response checks without code and shows what did not match. Start with a sample, then use your own sanitized data. Free runs on Windows and Linux with no time limit.
Download FreeDownload and first runNo sign-up or email needed, the archive is ready in a couple of minutes. See the edition limits.
Start with the linked example and compare its result with your own test requirement.