cd
CDEK is one of the largest logistics and courier delivery companies in Russia, offering nationwide delivery services for e-commerce, business, and individual shipments. CDEK provides a comprehensive API for creating orders, tracking shipments, calculating delivery costs, and managing pickup points.
With the CDEK integration in AACFlow, you can:
- Create delivery orders: Generate shipments with full address, tariff, and item details
- Track shipments: Monitor delivery status and get real-time location updates
- Calculate delivery costs: Get pricing estimates for different tariffs and destinations
- Find pickup points: Search for CDEK pickup locations near a given address
- Manage returns: Create return orders and track reverse logistics
- Generate labels: Create and print delivery labels and accompanying documents
This integration provides end-to-end logistics automation for e-commerce and shipping operations across Russia.
Usage Instructions
Integrate CDEK into the workflow. Can create orders, track shipments, calculate costs, and find pickup points. Requires CDEK API credentials.
Tools
cdek_create_order
Create a new delivery order
Input
| Parameter | Type | Required | Description |
|---|---|---|---|
fromLocation | object | Yes | Sender city/address |
toLocation | object | Yes | Recipient city/address |
tariffCode | number | Yes | CDEK tariff code |
packages | array | Yes | Array of package objects with weight and dimensions |
recipient | object | Yes | Recipient name, phone, email |
clientId | string | Yes | CDEK API client ID |
clientSecret | string | Yes | CDEK API client secret |
Output
| Parameter | Type | Description |
|---|---|---|
orderUuid | string | CDEK order UUID |
cdekNumber | string | CDEK tracking number |
status | string | Order status |
cdek_get_status
Get shipment status
Input
| Parameter | Type | Required | Description |
|---|---|---|---|
orderUuid | string | Yes | CDEK order UUID |
clientId | string | Yes | CDEK API client ID |
clientSecret | string | Yes | CDEK API client secret |
Output
| Parameter | Type | Description |
|---|---|---|
status | string | Current shipment status |
statusCode | number | Numeric status code |
deliveryDate | string | Estimated delivery date |
cdek_calculate
Calculate delivery cost
Input
| Parameter | Type | Required | Description |
|---|---|---|---|
fromCityId | number | Yes | Origin city CDEK ID |
toCityId | number | Yes | Destination city CDEK ID |
weight | number | Yes | Package weight (kg) |
length | number | No | Package length (cm) |
width | number | No | Package width (cm) |
height | number | No | Package height (cm) |
clientId | string | Yes | CDEK API client ID |
clientSecret | string | Yes | CDEK API client secret |
Output
| Parameter | Type | Description |
|---|---|---|
tariffs | array | Array of tariff options with price and delivery time |

