Quote PEK freight and track your cargo right in chat
Connect PEK to the AI agent: freight quotes, branches and zones, tracking and orders. The agent picks a warehouse by address, prices groupage and files the order.
How the agent works with ПЭК
The agent calls the PEK customer account API at kabinet.pecom.ru: it finds the branch and tariff zone for an address, picks branches that fit the cargo weight and dimensions, calculates cost and transit time for the products you need (groupage, EasyWay, air), reads cargo statuses and their history, and the directories of recipients, cargo names and packaging.
A PEK quote starts from an address rather than a city: the agent first works out which branch serves the address and which main warehouse it has, and only then calls the calculator. Dimensions go in metres and weight in kilograms, per place, and the agent does not invent them: it takes them from MoySklad or marketplace product cards or asks you.
On the write side the agent can file a shipping order, cancel an order by cargo code and maintain the recipient directory. It shows every such action in full first and sends it only after your confirmation, because a mistake in an order costs a real truck run and real money, and filing it twice creates a second cargo.
The API key is entered once together with the account login and signs every request. PEK allows no more than 100 requests a minute per login, so the agent keeps a pace of about one and a half requests a second and asks for statuses in batches of cargo codes. PEK returns a logical error inside the response body, and the agent shows its text instead of an empty table.
Integration scenarios
Freight quote by address
The agent finds the PEK branch and warehouse for the sender and recipient addresses, calculates the cost and transit time for groupage and air, and shows what the price is made of.
A warehouse that fits the cargo
The agent picks the branches nearest to your customer that accept cargo of your weight and dimensions and drops the ones that do not hand such cargo out.
Cargo statuses in transit
The agent collects statuses for a list of cargo codes along with their history and sends a summary: what is moving, what has arrived and what has sat in a warehouse too long.
A shipping order
The agent assembles an order with pickup or drop-off, shows it in full (addresses, places, weight, payer) and files it with PEK only after you confirm it.
Cargo for a period
The agent pulls every cargo of your counterparties for the dates you need and puts them in one table with order numbers, statuses and warehouses.
Orders and labels as PDF
The agent fetches the printed order form or the place labels by cargo code, so there is no hunting for them in the account by hand.
ПЭК examples
Два места, 46 кг, 0,31 м³: 3 870 ₽ автоперевозкой, 5 дней.
- Склад-склад: 3 870 ₽, отделение ПЭК на Станционной, 60
- Склад-дверь: 4 640 ₽, 6 дней
- Страховка по объявленной стоимости 58 400 ₽ уже в сумме
Габариты взял из карточек МойСклада. Оформить предрегистрацию на завтра?
How to connect
Before you connect
- A PEK account login and an API key from the Registration data section
- Your confirmation before an order is filed or cancelled
- 1
Sign in to kabinet.pecom.ru
You need a PEK customer account: its login is the connection login.
- 2
Open Registration data
Issue a new key in the API keys block. A separate key for the agent can be revoked on its own.
- 3
Copy the login and the key
The key acts as the password. Counterparty cargo and documents need the extended account.
FAQ
With the login of your kabinet.pecom.ru account and an API key. The key is issued under Registration data, in the API keys block; a separate key for the agent is better, so it can be revoked without touching other integrations.
Branches, warehouses and tariff zones, cost and transit time quotes, cargo statuses and history, counterparties' cargo for a period, printed order forms and labels, and the directories of recipients, cargo names and packaging.
Yes: the agent can file a shipping order, cancel it by cargo code and change the recipient directory. It agrees every such action with you before sending, and everything else is quotes and status reads.
No more than 100 requests a minute per login. The agent requests cargo statuses in batches (up to 15 codes per full status request), so even a long list stays within the limit.