1C integration via API: options, architecture and examples
Checkcraft is a desktop app for checking APIs and logs without code, with a free edition. Download, no sign-up →
Integrating 1C with an external system almost always comes down to four questions: who starts the exchange, over which protocol, in which format, and how you know the data arrived correctly. Below are the options, an architecture using orders as the example, the exchange contract and checks that catch silent breakage.
1C integration options
The external system calls 1C: an HTTP service with your own JSON, the standard OData interface or a SOAP web service. 1C calls the external system: HTTPConnection to its REST API or WSProxy to SOAP. File exchange via a folder or FTP remains an option for simple rare exports but is harder to control.
Architecture using site orders
The site sends an order to a 1C HTTP service, 1C validates it, creates a document and returns its number. The site pulls stock and prices on a schedule through a separate address or OData. Each direction is described by a contract: address, method, fields, responses on success and on error.

What breaks most often
Integrations rarely fail completely. Usually after a configuration update a field name, a value type or empty-attribute behavior changes, and the exchange keeps answering 200 with wrong data. So checks should look at the response content and the document created in 1C, not only the status code.
Options side by side
| Option | Who starts | Format | When to choose |
|---|---|---|---|
| 1C HTTP service | External system | JSON | You need your own contract and logic |
| OData | External system | JSON or XML | Expose data fast without code |
| 1C web service | External system | SOAP, XML | The partner requires a WSDL |
| HTTPConnection | 1C | Any | 1C pulls data from a service |
| Files | Either side | XML, JSON, CSV | Rare exports without online access |

Contract example: an order into 1C
POST /trade/hs/shop/orders
Content-Type: application/json
{
"external_id": "SITE-10452",
"date": "2026-11-24T12:30:00",
"customer": { "name": "Иван Петров", "phone": "+79990000000" },
"items": [
{ "sku": "MON-24", "qty": 2, "price": 15900 },
{ "sku": "KB-01", "qty": 1, "price": 2490 }
],
"total": 34290
}
HTTP/1.1 201 Created
{ "number": "ЗК-000318", "status": "created" }external_id is the order key on the site side. 1C uses it to find an existing document and avoid a duplicate on resend.
Integration launch checklist
- Each address has a contract: fields, types, required flags, error responses.
- A separate exchange account with minimal rights.
- Resending does not create a duplicate.
- Errors return a clear code and text, not a 500 page.
- A saved set of requests with field checks runs after every update.
# повторная отправка того же заказа: ожидаем тот же номер, а не новый документ
curl -s -u "Сайт:пароль" -H "Content-Type: application/json" \
--data @order-10452.json http://erp.example.local/trade/hs/shop/orders
# ожидание: 200 или 409 и "number": "ЗК-000318"All guides in the 1C section
- 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
- OData in 1C: setup, queries and REST integration with examples
- 1C web services (SOAP): create, publish, WSDL and calls with examples
- Publishing 1C on IIS and Apache: step by step and common errors
- JSON in 1C:Enterprise: read, write, HTTP requests and common errors
- Unexpected character when reading JSON in 1C: causes and fixes
- Structure, Array and ValueTable to JSON in 1C: both directions
- Data exchange in 1C: methods, formats, setup and checks
- Integrating 1C with a website and online store: options and pitfalls
- Automated testing in 1C: Vanessa Automation, YAxUnit and integration checks
Frequently asked questions
What 1C integration options exist?
HTTP services, OData and web services when the external system calls 1C; HTTPConnection and WSProxy when 1C calls out; files for rare exports.
How do I avoid duplicates?
Send an external key such as the site order number and look it up in 1C before creating a document.
How do I check an integration after an update?
Run a saved set of requests with response field checks and compare the documents created in 1C.
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.