Telegram shop bot for catalogue, stock and delivery
Learn how to connect a Telegram shop bot to your product catalogue and inventory, check stock before payment and pass paid orders to a delivery service.
In brief
Start planning a Telegram shop bot by following an order from product selection to dispatch. The customer needs to know what's available, how they can receive it and what they'll pay. The warehouse needs the exact items to pick. Before building the catalogue, decide which system holds the available stock count, when items are reserved and what tells the warehouse to start packing.
Where the catalogue and stock come from
Start with the system your team already uses to manage products. For each item, decide where the bot gets its name, price and availability. Match records by SKU or another stable identifier, with a separate identifier for each size or colour you sell. Save the selected variant and agreed price on the order so staff can see what the customer bought after the catalogue changes.
You can build the catalogue as a Telegram Mini App and open it from the bot menu. The bot's server can handle requests to the shop's systems. MoySklad, for example, lists catalogue, price and stock updates and order transfers among the uses of its JSON API. If your website and bot share stock, test what happens when a website customer buys an item while someone is checking out in Telegram. For the basics of how the systems exchange data, see our plain-English guide to APIs.
When to check stock and take payment
An item can sell through another channel while it sits in a customer's basket. Agree when to reserve it, which system records the reservation and what releases it if checkout is abandoned or the order is cancelled. If availability or price changes during checkout, show the affected item, keep the rest of the basket and ask the customer to review the new total.
A bot can send an invoice in chat. For a Mini App checkout, the Bot API can create an invoice link that the app opens. A third-party provider processes payments for physical goods, and availability depends on the region and the provider's terms. Before payment, Telegram sends a pre_checkout_query. The bot has 10 seconds to respond and can decline the payment with a reason if an item has sold out. Include a checkout test for the case where your inventory system takes too long to confirm stock.
Use invoice_payload to link the invoice to your order record. Set the order to paid when you receive successful_payment. Test what happens if your system processes that event again. The same order should stay paid and produce one picking task. See our guide to accepting payments inside Telegram for more on checkout and refunds.
How to connect delivery to the order
Show the customer the available delivery options and the full total before payment. If the invoice requests a delivery address and uses is_flexible, Telegram sends a shipping_query. The bot can reply with the options and prices for that address or say that the order cannot be delivered there. Telegram recommends checking stock at this step as well.
A carrier API can handle quotes and shipment requests. Yandex Delivery's express API, for example, supports an initial cost estimate, creating and confirming a request, and retrieving tracking data. Decide who creates the shipment and when. If the warehouse packs first, use the ready-for-dispatch status to trigger the request. If it fails, staff should be able to find the affected order, see why it failed and finish arranging delivery while keeping the payment recorded against the original order.
What to test before launch
- The last item in stock. Attempt to buy it through two channels at the same time. Check that the shop only confirms the quantity it can fulfil.
- A change of address. Try an address outside the delivery area and change an address after getting a quote. Check that the delivery options and total reflect the new address before payment.
- A failed shipment request after payment. Check that a staff member can complete dispatch from the existing order and that the customer is charged once.
For a Telegram bot development brief, bring a sample product with variants, your reservation rules and a list of delivery methods. Telegram bot development at Alba Creation starts at 50,000 ₽. We quote after the brief based on the workflows, integrations and whether the shop needs an admin panel or a Mini App.
Sources
Documentation checked on 2026-11-26.
- Bots: An introduction for developers
- Telegram Mini Apps
- Telegram Bot API
- Bot Payments API
- Bot Payments API for Digital Goods and Services
- Telegram Bot Platform Developer Terms of Service
- Bot API changelog
- MoySklad developer documentation for APIs and SDKs
- Getting started with the express delivery API — Yandex Delivery
- Express delivery API methods — Yandex Delivery
Service
Telegram bots at Alba Creation — end to end, directly with the developers.
Starting at 50,000 ₽
Read next
How to Choose a Chatbot Developer: Questions and Red Flags
Questions to ask a chatbot developer before signing, how to check rate limits, broadcasts and code ownership, and which red flags to watch for.
4 min readMobile App, PWA or Telegram Mini App: What to Choose
Compare a mobile app, a PWA and a Telegram Mini App on launch cost, platform capabilities and iOS limitations, based on current Telegram and PWA documentation.
4 min readBots and mini apps in MAX: does your business need one?
What a MAX messenger bot and mini app are, how they compare with Telegram, who benefits from them now, and how to test demand without a big investment.
3 min read