# 1C integration via API: options, architecture and examples

Source: https://checkcraft.ru/en/guides/1c-api-integration.html · updated 2026-11-24

How to integrate 1C with external systems via API: integration options (HTTP services, OData, web services, calling external APIs, files)…

Practical workflow

Checkcraft is a desktop app for checking APIs and logs without code, with a free edition. [Download, no sign-up →](https://checkcraft.ru/en/download-checkcraft.html#free-download)

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.

Checkcraft · 24 November 2026

Get help with your first test →

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

Repeating checks like this by hand? Checkcraft saves them and reruns them in one click. [Download Free →](https://checkcraft.ru/en/download-checkcraft.html#free-download)

## 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

1. Each address has a contract: fields, types, required flags, error responses.
2. A separate exchange account with minimal rights.
3. Resending does not create a duplicate.
4. Errors return a clear code and text, not a 500 page.
5. 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](https://checkcraft.ru/en/guides/1c-rest-api.html)
- [1C HTTP services: create, publish, test and debug with examples](https://checkcraft.ru/en/guides/1c-http-service.html)
- [HTTP requests from 1C: GET, POST, headers, auth and timeouts with examples](https://checkcraft.ru/en/guides/1c-http-request.html)
- [HTTP request failed in 1C: causes and fixes](https://checkcraft.ru/en/guides/1c-http-request-error.html)
- [OData in 1C: setup, queries and REST integration with examples](https://checkcraft.ru/en/guides/1c-odata.html)
- [1C web services (SOAP): create, publish, WSDL and calls with examples](https://checkcraft.ru/en/guides/1c-web-service.html)
- [Publishing 1C on IIS and Apache: step by step and common errors](https://checkcraft.ru/en/guides/1c-web-publish.html)
- [JSON in 1C:Enterprise: read, write, HTTP requests and common errors](https://checkcraft.ru/en/guides/1c-json.html)
- [Unexpected character when reading JSON in 1C: causes and fixes](https://checkcraft.ru/en/guides/1c-json-unexpected-character.html)
- [Structure, Array and ValueTable to JSON in 1C: both directions](https://checkcraft.ru/en/guides/1c-json-value-table.html)
- [Data exchange in 1C: methods, formats, setup and checks](https://checkcraft.ru/en/guides/1c-data-exchange.html)
- [Integrating 1C with a website and online store: options and pitfalls](https://checkcraft.ru/en/guides/1c-site-integration.html)
- [Automated testing in 1C: Vanessa Automation, YAxUnit and integration checks](https://checkcraft.ru/en/guides/1c-automated-testing.html)

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 Free](https://checkcraft.ru/en/download-checkcraft.html#free-download) · [Download and first run](https://checkcraft.ru/en/download-checkcraft.html)

No sign-up or email needed, the archive is ready in a couple of minutes. See the [edition limits](https://checkcraft.ru/en/pricing.html).

## Continue with a related task

[REST API in 1C: HTTP services, OData and calling external APIs](https://checkcraft.ru/en/guides/1c-rest-api.html) · [Data exchange in 1C: methods, formats, setup and checks](https://checkcraft.ru/en/guides/1c-data-exchange.html) · [1C HTTP services: create, publish, test and debug with examples](https://checkcraft.ru/en/guides/1c-http-service.html) · [OData in 1C: setup, queries and REST integration with examples](https://checkcraft.ru/en/guides/1c-odata.html) · [Integration testing across API, logs and database](https://checkcraft.ru/en/guides/integration-testing-workflow.html)

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.

[Ask in Telegram](https://t.me/checkcraftchat)Send an email

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

Page card: /ai/pages/en/guides/1c-api-integration.md
