Dropshipping on Bitrix: Setup Cases, Timelines, Automation

Dropshipping on Bitrix: Setup Cases, Timelines, Automation Imagine: a store takes orders, the supplier ships directly to the customer. The logic is simple, but standard Bitrix has no built-in routing by suppliers, real-time stock synchronization, or payment splitting. Without custom development,

Our competencies:

Frequently Asked Questions

Dropshipping on Bitrix: Setup Cases, Timelines, Automation

Imagine: a store takes orders, the supplier ships directly to the customer. The logic is simple, but standard Bitrix has no built-in routing by suppliers, real-time stock synchronization, or payment splitting. Without custom development, each order requires manual processing — a manager checks availability, coordinates with the supplier, enters data. At 200 orders per day, that's 4 hours of routine, errors, and delays. We solve this problem: over 10 years we've set up dropshipping for 50+ projects — from small online stores to federal marketplaces. For example, for an electronics chain we implemented a system with 15 suppliers processing 2000 orders per day. Result: 70% reduction in manual labor and elimination of shipping errors. Our engineers are certified 1C-Bitrix specialists, guaranteeing a transparent implementation process.

Problems Solved by Dropshipping on Bitrix

The main pain is manual order processing. Without automation, a manager spends up to 5 minutes per order: check supplier stock, agree on price, transfer data. At 500 orders per day, that's over 40 hours per week. The second problem is stock discrepancies. Suppliers update data unevenly: some every hour, some once a day. As a result, the store sells items that are not in stock. This leads to order cancellations and loss of trust. The third is payment splitting. If the supplier requires payment after shipment, and you take money immediately, you need a transparent settlement system. We solve all three tasks through custom development: create a unified supplier management system, real-time stock synchronization, and flexible order routing.

How Dropshipping Works on Bitrix

A minimal dropshipping system rests on three elements:

  1. Product-to-supplier binding via an infoblock property or HL-block.
  2. Order routing — when an order is created, we determine which suppliers to transfer items to.
  3. Stock synchronization — the supplier transmits current data via API or file.

Each point requires careful design: without proper architecture, errors in orders and stock discrepancies arise. For example, if you don't configure validation when changing suppliers, you might send an order for a product that has been discontinued.

How to Organize Order Routing by Suppliers

When creating an order, the handler on the OnSaleOrderSaved event splits items by suppliers and sends notifications. This approach is used in 90% of projects.

// /local/php_interface/init.php AddEventHandler('sale', 'OnSaleOrderSaved', ['\\Local\\Dropshipping\\OrderRouter', 'route']); 
// /local/lib/Dropshipping/OrderRouter.php namespace Local\\Dropshipping; use Bitrix\\Main\\Application; class OrderRouter { public static function route(\\Bitrix\\Sale\\Order $order): void { $supplierItems = []; foreach ($order->getBasket() as $item) { $productId = (int)$item->getProductId(); $supplierId = self::getSupplierByProduct($productId); if ($supplierId) { $supplierItems[$supplierId][] = [ 'product_id' => $productId, 'name' => $item->getField('NAME'), 'quantity' => $item->getQuantity(), 'price' => $item->getPrice(), 'sku' => self::getSupplierSku($productId, $supplierId), ]; } } foreach ($supplierItems as $supplierId => $items) { self::notifySupplier($order, $supplierId, $items); } } private static function notifySupplier(\\Bitrix\\Sale\\Order $order, int $supplierId, array $items): void { $supplier = self::getSupplierData($supplierId); if (!empty($supplier['WEBHOOK_URL'])) { self::sendWebhook($supplier['WEBHOOK_URL'], $order, $items); } else { self::sendEmail($supplier['EMAIL'], $order, $items); } } } 

Important: the handler must account for partial shipment and returns. We add statuses 'Awaiting supplier' and 'Transferred to supplier' to avoid duplicate notifications.

Why HL-blocks Are Better Than Infoblock Properties

For binding products to suppliers, we use the SupplierProduct HL-block:

Field Type Description
UF_PRODUCT_ID integer Product ID
UF_SUPPLIER_ID integer Supplier ID
UF_SUPPLIER_SKU string Supplier SKU
UF_SUPPLIER_PRICE float Purchase price
UF_STORE_ID integer Supplier warehouse

An HL-block is more convenient: supports multiple suppliers per product, stores purchase prices separately from retail, and is easily extensible. Infoblock properties quickly become unmanageable with dozens of suppliers. If you have 50 suppliers and 10,000 products, an HL-block with an index on UF_PRODUCT_ID ensures fast queries, while infoblock properties lead to performance degradation.

How We Solve Stock Synchronization

Stock synchronization is a key failure point. If stock isn't updated in time, the store sells what the supplier doesn't have. We set up two scenarios:

  • Pull — scheduled agent. Every 10 minutes, an agent requests stock and updates the quantity in the warehouse. Suitable for 80% of cases.
  • Push — webhook from the supplier. The supplier sends a POST request with current stock. Processed in real time, but requires custom work on the supplier's side.

Each supplier gets a separate warehouse in b_catalog_store. Stock is stored in b_catalog_store_product. This allows seeing not just overall stock but the stock of a specific supplier. A typical mistake is confusing warehouses during synchronization. We set up a mapping supplier_id ↔ store_id to ensure data goes to the right place.

Example stock synchronization agent
// Agent running every 10 minutes function syncSupplierStocks(): string { $suppliers = getSuppliers(); foreach ($suppliers as $supplierId) { $stocks = fetchSupplierStocks($supplierId); updateStocks($supplierId, $stocks); } return __FUNCTION__ . '();'; } 

Thanks to this scheme, our clients save up to 150,000 rubles per month on manual processing, and the average annual benefit exceeds 1.2 million rubles. According to 1C-Bitrix, CommerceML is a standard for data exchange between the enterprise management system and the online store. If suppliers use CommerceML, we integrate exchange via this protocol — it standardizes the transfer of stock and prices. For small suppliers, CSV export followed by import is suitable.

How We Implement Dropshipping: Step-by-Step Plan

  1. Catalog and supplier audit. Determine product structure, supplier data formats (XML, JSON, CSV). Calculate order volume and required synchronization speed.
  2. Architecture design. Choose HL-blocks for bindings, design event handlers, warehouse scheme. Agree on notification formats (email or webhooks).
  3. Development of the dropshipping module. Create SupplierProduct HL-block, OnSaleOrderSaved handler, stock synchronization integration (agent or webhook).
  4. Testing and debugging. Check all scenarios: order creation, partial shipment, return, stock discrepancy. Use test suppliers.
  5. Launch and monitoring. Switch to production, monitor logs of the first 100 orders. Set up error notifications.

What's Included in the Dropshipping Setup

  • Development of the dropshipping module (HL-blocks, handlers, routing).
  • Implementation of the OnSaleOrderSaved handler with routing.
  • Setup of notifications: email or webhooks (REST, JSON).
  • Integration of warehouse accounting: create warehouses for each supplier, stock synchronization.
  • Setup of a supplier personal cabinet: the supplier sees only their order basket, statuses, and stock.
  • Employee training on the system and post-launch support.
  • Documentation on administration and common errors.

Implementation Timelines

Configuration Scope Timeframe
Basic (1 supplier, email) HL-block + handler + email template 3–5 days
Standard (multiple suppliers, webhooks) + supplier personal cabinet + API 2–3 weeks
Full (real-time sync, analytics) + stock feed + reports + payment splitting 1–2 months

The cost is calculated individually for your project. We offer turnkey dropshipping setup: from catalog analysis to launch and support. Book a free audit of your project — we will analyze your supplier structure and offer an optimal solution. Get a commercial proposal with exact timelines. Experience, certifications, and a transparent process are the foundation of our work.