Skip to content
CheckcraftDownload
Practical workflow

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.

Checkcraft ·

Get help with your first test →

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.

API call diagram: method and URL, headers, body, status and response body, logs and database

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

DataDirectionHow often
Catalog and characteristics1C → siteOn change or daily
Prices1C → siteOn change
Stock1C → siteMost often, minutes to an hour
OrdersSite → 1CImmediately or every few minutes
Order and payment statusesBoth waysOn change
Layers of an API call check: status, headers, body, calculations, logs, database

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.

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.

Next step

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 run

No 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.

Ask a person

Get help with your first test

Tell us what you want to test or where you got stuck. We can help you start Checkcraft, choose an example and understand your first run. You can ask before downloading.

The Telegram group is public: do not post passwords, tokens or confidential work data. A description of your task is enough to start.

You can also email us support@checkcraft.ru

No account required. We will reply by email. This is a support request, not a newsletter subscription.