Automating Sales: 1С-Bitrix and AliExpress Integration via API
A system administrator spent three working days manually updating prices on AliExpress—and mixed up SKUs, applying a 90% discount to the wrong product. That mistake cost the company 200,000 rubles in losses within an hour. Sound familiar? We solve this once and for all: full catalog and order automation via API.
Connecting 1С-Bitrix with AliExpress is not just about exporting products. It's a two-way exchange: prices, stocks, orders, shipments—all in real time. The integration is based on the Solution API AliExpress, which fundamentally differs from the global one: authorization via OAuth 2.0, JSON format, product and order management only through REST. Over 7 years, we have carried out more than 50 such projects, including catalogs with millions of SKUs. Our company has been on the market for 7+ years, completed 50+ integrations, and saved clients up to 300,000 rubles annually. We guarantee stable operation and compliance with the latest AliExpress requirements. We will assess your project for free—contact us.
How to Authorize on AliExpress via OAuth?
To access the API, register an application in the developer panel. After registration, you will receive appKey and appSecret. The OAuth process:
- Form the authorization URL with a redirect to your site.
- The seller confirms access on the AliExpress page.
- The system returns a
code, which is exchanged for anaccess_token(valid for 30 days) and arefresh_token. - Tokens are stored in the Bitrix module options (
COption::SetOptionString). - A cron agent updates the token 5 days before expiration.
Without this mechanism, the integration will break: the API will simply stop accepting requests.
Creating Products: aliexpress.solution.product.post
The method aliexpress.solution.product.post creates a product on the marketplace. Request structure:
-
category_id— AliExpress category ID. The category tree is obtained viaaliexpress.solution.seller.category.tree.query. -
product_attributes— array of attributes. Mandatory attributes depend on the category and are obtained viaaliexpress.solution.product.schema.get. -
sku_info_list— array of SKUs. Each element contains price, stock, barcode, varying attribute values, photo links. -
image_url_list— main images (up to 6, minimum 800×800 px).
Mapping to Bitrix information block:
| AliExpress Field | Bitrix Field | Note |
|---|---|---|
product_title |
NAME |
Up to 128 characters |
product_description |
DETAIL_TEXT |
HTML, up to 40,000 characters |
brand_name |
Property "Brand" | AliExpress directory |
image_url_list |
DETAIL_PICTURE + properties |
URL must be public |
sku_info_list[].price |
SKU price | In store currency |
sku_info_list[].inventory |
SKU stock | Per warehouse |
sku_info_list[].barcode |
SKU property | EAN-13 |
Peculiarity: AliExpress allows HTML in the description, including <img> — you can insert infographics. Images in the description are uploaded via aliexpress.solution.feed.image.upload and return a URL on the AliExpress CDN.
Example request structure for creating a product
{ "category_id": 123456, "product_title": "Smartwatch X200", "product_description": "<p>Model with heart rate monitor and GPS</p>", "image_url_list": ["https://example.com/watch1.jpg"], "sku_info_list": [ { "sku_code": "W200-BLK", "price": "4990.00", "inventory": 100, "barcode": "1234567890123", "sku_attribute_list": [ {"attribute_name_id": 1001, "attribute_value_id": 2001} ] } ] } Categories and Attributes
The AliExpress category system is three-level. For each leaf category, there is a set of mandatory and recommended attributes. Attribute types:
- Text — free input (model, material).
-
Reference — selection from a list of
attribute_value_id. Values are obtained viaaliexpress.solution.product.schema.get. - SKU attributes — vary between SKUs (color, size).
For mass mapping, a correspondence table is created: Bitrix property → attribute_value_id AliExpress. For reference attributes, value → ID pairs are stored.
Managing Prices and Stocks
Prices are updated via aliexpress.solution.product.price.update. Currency is set at the store level. Discounts are managed through promo campaigns in the personal account or the promo API.
Stocks: aliexpress.solution.product.inventory.update — by SKU. Limit: 200 SKUs per request. For a catalog of 5000+ items, batch synchronization takes just 2 minutes — 10 times faster than manual updates. A cron agent in Bitrix every 15–30 minutes selects products with changed stocks/prices based on TIMESTAMP_X of the information block and b_catalog_store_product.TIMESTAMP_X.
According to the AliExpress API documentation (https://open.aliexpress.com/doc/api.htm), this is the fastest way to synchronize without manual entry.
Why Does AliExpress Moderation Reject Products?
AliExpress checks each product within 1–2 days. Main reasons for rejection:
- Watermarks or logos of other marketplaces on photos.
- Incorrect brand (if no rights to sell).
- Prohibited category (e.g., electronics without certification).
- Description contains contact information.
If a product is rejected, the API returns an error code with an explanation. We analyze the error, correct attributes or images, and resubmit the product. Average time to pass moderation after correction: 1 day.
Order Processing
Retrieving orders: aliexpress.solution.order.get with filters by status and date. Main statuses:
| AliExpress Status | Action in Bitrix |
|---|---|
PLACE_ORDER_SUCCESS |
Create order |
WAIT_SELLER_SEND_GOODS |
Paid, awaiting shipment |
SELLER_PART_SEND_GOODS |
Partial shipment |
WAIT_BUYER_ACCEPT_GOODS |
Shipped, awaiting receipt |
FINISH |
Completed |
Shipping is confirmed via aliexpress.solution.order.fulfill — the tracking number and delivery service are passed. AliExpress strictly monitors deadlines: delays lead to fines and reduced rating. Our integration automatically creates an order in the sale module, maps products by SKU, and transfers customer data to order properties. Savings on manual labor: up to 300,000 rubles per year for a store with 100 orders per day. That's 5 times cheaper than hiring a dedicated employee.
What's Included
- Application registration and OAuth setup.
- Mapping categories and attributes of AliExpress to Bitrix information blocks.
- Developing a synchronization module for products, prices, stocks.
- Order and shipment processing.
- Documentation, manager training, 30-day support.
Timeline
| Scale | Timeline |
|---|---|
| Up to 500 products, basic mapping | 5–7 days |
| 500–3000, SKUs, stock sync | 1–1.5 weeks |
| 3000+, full automation with orders | 1.5–2 weeks |
Cost is calculated individually. Typical investments: from 50,000 rubles for small stores to 150,000 rubles for complex integrations. Get a consultation — we will assess your project in one day. Order integration and forget about manual work with AliExpress.

