API Sections and Categories Catalog
Date: 2025-02-10 Subtask: 2-5 - Catalog all API sections and categories Status: ✅ COMPLETED
Overview
Lamoda provides three distinct API systems organized into 23 functional categories with 85 total endpoints/methods. This catalog provides a complete overview of all API sections, their purposes, and how they relate to different business models.
API Systems Summary
| API System | Total Categories | Total Endpoints | Primary Purpose | Token Lifetime |
|---|---|---|---|---|
| B2B Platform API | 13 categories | 51 endpoints | Orders, Shipments, Logistics | 24 hours |
| Seller JSON-RPC API | 8 categories | 24 methods | Products, Prices, Stock | 15 minutes |
| Seller REST API | 3 categories | 10 endpoints | FBS Returns, Feedback | 15 minutes |
| TOTAL | 24 categories | 85 endpoints | Complete Ecosystem | - |
1. B2B Platform API Categories
Base URL: https://api-b2b.lamoda.ru
API Format: REST (OpenAPI 3.0.0)
Total Endpoints: 51
Total Categories: 13
1.1 Authentication (Аутентификация)
Endpoints: 1 Purpose: OAuth2 token generation for API access
| Endpoint | Method | Description |
|---|---|---|
/auth/token | GET | Получение токена авторизации (OAuth2) |
Used by: All business models (FBS, FBO, DBS, B2B FF, B2B FBS)
1.2 Addresses (Адреса)
Endpoints: 3 Purpose: Geographic address lookup and validation for delivery
| Endpoint | Method | Description |
|---|---|---|
/api/v1/addresses/city | GET | Поиск городов |
/api/v1/addresses/street | GET | Поиск улиц |
/api/v1/addresses/building | GET | Поиск зданий/домов |
Used by: All business models (for delivery address validation)
1.3 Orders (Заказы)
Endpoints: 13 Purpose: Complete order lifecycle management - retrieval, updates, customer info, delivery methods, addresses, statuses, and events
| Endpoint | Method | Description |
|---|---|---|
/api/v1/orders | GET | Получение списка заказов |
/api/v1/orders | POST | Создание заказа |
/api/v1/orders/{id} | GET | Получение информации о заказе |
/api/v1/orders/{id} | PATCH | Обновление заказа |
/api/v1/orders/{id}/customer | GET | Информация о покупателе |
/api/v1/orders/{id}/customer | POST | Обновление данных покупателя |
/api/v1/orders/{id}/delivery_method | GET | Метод доставки |
/api/v1/orders/{id}/delivery_method | POST | Обновление метода доставки |
/api/v1/orders/{id}/shipping_address | GET | Адрес доставки |
/api/v1/orders/{id}/shipping_address | POST | Обновление адреса доставки |
/api/v1/orders/{id}/statuses | GET | История статусов заказа |
/api/v1/orders/{id}/events | POST | Добавление события к заказу |
/api/v1/orders/{orderNr}/change_status_request | POST | Запрос на изменение статуса |
/api/v1/orders/{orderNr}/items/{itemNr}/change_status_request | POST | Запрос на изменение статуса товара |
Used by: All business models Key Workflows:
- FBS: Get new orders → Process → Update status
- FBO: Monitor order status
- DBS: Update delivery information
1.4 Nomenclature/Products (Номенклатура)
Endpoints: 7 Purpose: Product catalog management and barcode lookup
| Endpoint | Method | Description |
|---|---|---|
/api/v1/nomenclatures | GET | Список номенклатуры |
/api/v1/nomenclatures | POST | Создание номенклатуры |
/api/v1/nomenclatures/{sku} | PATCH | Обновление номенклатуры |
/api/v1/nomenclature/ | PUT | Полное обновление номенклатуры |
/api/v1/nomenclature/sell-values | GET | Значения для продажи |
/api/v1/goods | GET | Список товаров |
/api/v1/container/{barcode} | GET | Информация о контейнере по штрихкоду |
Used by: All business models (catalog synchronization)
1.5 Shipments (Отгрузки)
Endpoints: 8 Purpose: Shipment management - creation, tracking, fulfillment, and events
| Endpoint | Method | Description |
|---|---|---|
/api/v1/shipments | GET | Список отгрузок |
/api/v1/shipments/fulfilment | GET | Список отгрузок для выполнения |
/api/v1/shipments/fulfilment | POST | Создание отгрузки для выполнения |
/api/v1/shipments/fulfilment/{id} | GET | Детали отгрузки |
/api/v1/shipments/fulfilment/{id}/items | GET | Товары в отгрузке |
/api/v1/shipments/out | POST | Отгрузка со склада |
/api/v1/shipments/out/{id}/events | POST | События отгрузки |
/api/v1/brand-packing/pack-shipment | POST | Упаковка отгрузки |
Used by: All business models Key Workflows:
- FBO: Create fulfillment shipment → Deliver to warehouse
- FBS: Report shipment to Lamoda → Track delivery
- DBS: Report self-delivery shipments
1.6 Stock (Складские остатки)
Endpoints: 2 Purpose: Warehouse stock management and updates
| Endpoint | Method | Description |
|---|---|---|
/api/v1/stock/goods | GET | Остатки товаров на складе |
/api/v1/stock/goods | POST | Обновление остатков |
Used by: FBO, B2B FF (Lamoda warehouse models)
1.7 Delivery (Доставка)
Endpoints: 2 Purpose: Delivery methods and delivery information management
| Endpoint | Method | Description |
|---|---|---|
/api/v1/delivery_methods | GET | Список методов доставки |
/api/v1/delivery_info | GET | Информация о доставке |
/api/v1/delivery_info/{orderNr} | POST | Обновление информации о доставке |
Used by: All business models (especially DBS for self-delivery tracking)
1.8 Pickup Points (Пункты выдачи)
Endpoints: 2 Purpose: Lamoda pickup points location and details
| Endpoint | Method | Description |
|---|---|---|
/api/v1/pickup_points | GET | Список пунктов выдачи |
/api/v1/pickup_points/{id} | GET | Детали пункта выдачи |
Used by: All business models (for customer pickup information)
1.9 Partner Pickups (Забор товара)
Endpoints: 3 Purpose: Partner pickup requests and management (courier pickup from seller)
| Endpoint | Method | Description |
|---|---|---|
/api/v1/partner-pickups | GET | Список pickup-ов партнера |
/api/v1/partner-pickups | POST | Создание pickup |
/api/v1/partner-pickups | PATCH | Обновление pickup |
Used by: FBS (Lamoda courier pickup from seller warehouse)
1.10 Gift Certificates (Подарочные сертификаты)
Endpoints: 3 Purpose: Gift certificate management and payments
| Endpoint | Method | Description |
|---|---|---|
/api/v1/gift-certificates | GET | Список подарочных сертификатов |
/api/v1/gift-certificates | POST | Создание сертификата |
/api/v1/gift-certificates/balance | GET | Баланс сертификата |
/api/v1/gift-certificates/payments | POST | Оплата сертификатом |
Used by: All business models (gift certificate integration)
1.11 Labels (Этикетки)
Endpoints: 1 Purpose: Generate shipping labels (PDF) for orders
| Endpoint | Method | Description |
|---|---|---|
/api/v1/reports/label/stream | GET | Генерация этикеток (PDF stream) |
Used by: FBS, FBO, DBS (shipping labels for packages)
1.12 Notifications (Уведомления)
Endpoints: 2 Purpose: Notification management and webhooks
| Endpoint | Method | Description |
|---|---|---|
/api/v1/notifications/resend | POST | Повторная отправка уведомления |
| Webhook endpoint | POST | Webhook для получения уведомлений |
| Webhook endpoint | POST | Webhook для получения запросов |
Used by: All business models (event notifications)
1.13 Webhooks (Вебхуки)
Endpoints: 2 Purpose: Real-time event notifications from Lamoda to seller system
| Endpoint | Method | Description |
|---|---|---|
| Webhook URL | POST | Получение уведомлений о событиях |
| Webhook URL | POST | Получение запросов от Lamoda |
Used by: All business models (real-time integration)
2. Seller JSON-RPC API Categories
Base URL: https://public-api-seller.lamoda.ru/jsonrpc
API Format: JSON-RPC 2.0
Total Methods: 24
Total Categories: 8
2.1 Authentication (Аутентификация)
Methods: 1 Purpose: OAuth2 token generation for Seller API access
| Method | Description |
|---|---|
v1.tokens.create | Создание токена авторизации (OAuth2) |
Used by: All business models using Seller APIs (FBS, FBO, DBS)
2.2 Dictionaries (Справочники)
Methods: 2 Purpose: Retrieve reference data and attribute dictionaries
| Method | Description |
|---|---|
v1.dictionaries.get | Получение справочников |
v1.attribute-dictionaries.list | Список справочников атрибутов |
Used by: All business models (reference data for products)
2.3 Nomenclatures/Products (Номенклатура)
Methods: 10 Purpose: Comprehensive product catalog management - CRUD operations, pricing, images, categories, brands
| Method | Description |
|---|---|
v1.nomenclatures.list | Список номенклатуры |
v1.nomenclature.list | Список товаров (альтернативный метод) |
v1.nomenclatures.store | Создание/обновление товаров |
v1.nomenclatures.update-activation | Обновление активности товаров |
v1.nomenclatures.set-prices | Установка цен для нескольких товаров |
v1.nomenclature.set-price | Установка цены для товара |
v1.nomenclature.update-price | Обновление цены товара |
v1.nomenclatures-metadata.get-axapta-categories | Получение категорий Axapta |
v1.nomenclatures-metadata.get-brands | Получение списка брендов |
v1.nomenclature-images.update | Обновление изображений товаров |
Used by: All business models Key Workflows:
- Create new products
- Update product information
- Set and update prices
- Manage product images
- Activate/deactivate products
2.4 Attributes (Атрибуты товаров)
Methods: 3 Purpose: Product attribute management and dictionary mappings
| Method | Description |
|---|---|
v1.attributes.list | Список атрибутов |
v1.attributes.sku.list | Список атрибутов для SKU |
v1.attributes-dictionaries-mappings.get | Получение маппингов справочников |
Used by: All business models (detailed product specifications)
2.5 Stock (Остатки)
Methods: 2 Purpose: Stock management and FBO warehouse information
| Method | Description |
|---|---|
v1.stock.list | Получение остатков на складе |
v1.fbo.warehouse.list | Список складов FBO |
Used by: All business models Key Workflows:
- FBS: Report own warehouse stock
- FBO: Check FBO warehouse availability
2.6 Orders (Заказы)
Methods: 3 Purpose: Order status tracking and shipment (note: FBS orders have limited statuses)
| Method | Description |
|---|---|
v1.order-item-statuses.list | Список статусов товаров в заказе |
v1.order.ship | Отгрузка заказа |
v1.order.delivery-note.download | Скачать накладную на отгрузку |
Used by: FBS (order fulfillment), FBO (order monitoring)
2.7 Categories (Категории)
Methods: 1 Purpose: ERP category listings
| Method | Description |
|---|---|
v1.erp-categories.list | Список категорий ERP |
Used by: All business models (product categorization)
2.8 Questions (Вопросы покупателей)
Methods: 2 Purpose: Customer questions and answers management
| Method | Description |
|---|---|
v1.questions.list | Список вопросов от покупателей |
v1.questions.answer | Ответ на вопрос покупателя |
Used by: All business models (customer service)
3. Seller REST API Categories
Base URL: https://public-api-seller.lamoda.ru/api
API Format: REST (OpenAPI 3.0.0)
Total Endpoints: 10
Total Categories: 3
3.1 FBS Return Boxes (Возвратные короба FBS)
Endpoints: 5 Purpose: FBS return box management - tracking returned shipments from customers
| Endpoint | Method | Description |
|---|---|---|
/v2/fbs/return-boxes | GET | Список возвратных коробов FBS |
/v2/fbs/return-boxes/{id} | GET | Детали возвратного короба |
/v2/fbs/return-boxes-summary | GET | Сводка по возвратным коробам |
/v2/fbs/return-boxes-anomalies | GET | Коробы с аномалиями (неопознанные посылки) |
/v2/fbs/return-boxes/{id}/status-history | GET | История статусов короба |
Used by: FBS (returns processing) Key Workflows:
- Track return boxes from customers
- Identify anomalies (unidentified packages)
- Process returns and restock
3.2 FBS Return Items (Возвращенные товары FBS)
Endpoints: 3 Purpose: Individual returned item tracking within FBS return boxes
| Endpoint | Method | Description |
|---|---|---|
/v2/fbs/return-items | GET | Список возвращенных товаров FBS |
/v2/fbs/return-items-summary | GET | Сводка по возвращенным товарам |
/v2/fbs/return-items/{itemId}/status-history | GET | История статусов товара |
Used by: FBS (item-level returns tracking)
3.3 Feedback (Обратная связь)
Endpoints: 2 Purpose: Customer feedback questions and answers
| Endpoint | Method | Description |
|---|---|---|
/v2/feedback/questions | GET | Список вопросов об обратной связи |
/v2/feedback/questions/{questionId}/answer | POST | Ответ на вопрос об обратной связи |
Used by: All business models (customer feedback management)
Business Model Usage Matrix
FBS (Fulfillment by Seller)
Description: Seller stores, assembles, and ships orders
| API System | Categories Used | Key Endpoints |
|---|---|---|
| B2B Platform API | Orders (13), Shipments (8), Labels (1), Partner Pickups (3), Notifications (2) | Order processing, shipping labels, courier pickups |
| Seller JSON-RPC API | Products (10), Stock (1), Prices (3), Orders (3) | Catalog management, stock reporting, order fulfillment |
| Seller REST API | FBS Return Boxes (5), FBS Return Items (3), Feedback (2) | Returns processing |
Total Categories Used: 17 out of 24
FBO (Fulfillment by Operator/Lamoda)
Description: Lamoda warehouse handles all fulfillment
| API System | Categories Used | Key Endpoints |
|---|---|---|
| B2B Platform API | Orders (13), Shipments (8), Stock (2), Notifications (2) | Order monitoring, warehouse shipments, stock info |
| Seller JSON-RPC API | Products (10), Stock (2), Prices (3) | Catalog, warehouse delivery, pricing |
| Seller REST API | Feedback (2) | Customer feedback |
Total Categories Used: 10 out of 24
DBS (Delivery by Seller)
Description: Seller handles delivery with own couriers
| API System | Categories Used | Key Endpoints |
|---|---|---|
| B2B Platform API | Orders (13), Delivery (2), Notifications (2) | Order processing, delivery tracking |
| Seller JSON-RPC API | Products (10), Stock (1) | Catalog management, stock info |
| Seller REST API | Feedback (2) | Customer feedback |
Total Categories Used: 9 out of 24
B2B FF (B2B Fulfillment)
Description: Corporate orders with Lamoda fulfillment
| API System | Categories Used | Key Endpoints |
|---|---|---|
| B2B Platform API | Orders (13), Shipments (8), Stock (2) | B2B order processing, shipments |
| Seller JSON-RPC API | Products (10), Prices (3) | Catalog and pricing |
Total Categories Used: 7 out of 24
B2B FBS (B2B Fulfillment by Seller)
Description: Corporate orders with seller fulfillment
| API System | Categories Used | Key Endpoints |
|---|---|---|
| B2B Platform API | Orders (13), Shipments (8), Delivery (2) | B2B order processing, delivery tracking |
| Seller JSON-RPC API | Products (10), Stock (1) | Catalog and stock |
Total Categories Used: 7 out of 24
Functional Grouping
Catalog Management (Управление каталогом)
Categories: Products (B2B), Nomenclatures (JSON-RPC), Attributes (JSON-RPC), Categories (JSON-RPC) Purpose: Product creation, updates, images, attributes, categorization Total Endpoints: 20
Inventory Management (Управление остатками)
Categories: Stock (B2B), Stock (JSON-RPC), Shipments (B2B) Purpose: Stock reporting, warehouse management, shipment tracking Total Endpoints: 12
Order Management (Управление заказами)
Categories: Orders (B2B), Orders (JSON-RPC) Purpose: Order retrieval, updates, status tracking, customer info Total Endpoints: 16
Pricing Management (Управление ценами)
Categories: Nomenclatures pricing (JSON-RPC) Purpose: Set and update product prices Total Endpoints: 3
Logistics & Delivery (Логистика и доставка)
Categories: Shipments (B2B), Delivery (B2B), Pickup Points (B2B), Partner Pickups (B2B), Labels (B2B) Purpose: Shipment creation, delivery tracking, labels, pickup management Total Endpoints: 16
Returns Management (Управление возвратами)
Categories: FBS Return Boxes (REST), FBS Return Items (REST) Purpose: Return box tracking, item-level returns, anomalies Total Endpoints: 8
Customer Service (Сервис для покупателей)
Categories: Questions (JSON-RPC), Feedback (REST) Purpose: Customer questions and feedback Total Endpoints: 4
Reference Data (Справочные данные)
Categories: Addresses (B2B), Dictionaries (JSON-RPC), Gift Certificates (B2B) Purpose: Address lookup, reference data, gift certificates Total Endpoints: 8
Integration (Интеграция)
Categories: Authentication (all), Notifications (B2B), Webhooks (B2B) Purpose: Auth, notifications, real-time events Total Endpoints: 6
Category Size Distribution
Large Categories (10+ endpoints)
- Orders (B2B) - 13 endpoints
- Nomenclatures (JSON-RPC) - 10 methods
Medium Categories (5-9 endpoints)
- Shipments (B2B) - 8 endpoints
- FBS Return Boxes (REST) - 5 endpoints
- Gift Certificates (B2B) - 4 endpoints (noted as 3 in spec, actually 4)
Small Categories (2-4 endpoints)
- Nomenclature (B2B) - 7 endpoints
- Partner Pickups (B2B) - 3 endpoints
- Attributes (JSON-RPC) - 3 methods
- FBS Return Items (REST) - 3 endpoints
- Addresses (B2B) - 3 endpoints
- Stock (B2B) - 2 endpoints
- Delivery (B2B) - 2 endpoints (actually 3)
- Pickup Points (B2B) - 2 endpoints
- Notifications (B2B) - 2 endpoints + 2 webhooks
- Webhooks (B2B) - 2 webhooks
- Stock (JSON-RPC) - 2 methods
- Orders (JSON-RPC) - 3 methods
- Questions (JSON-RPC) - 2 methods
- Dictionaries (JSON-RPC) - 2 methods
- Feedback (REST) - 2 endpoints
Single-Endpoint Categories
- Authentication (B2B) - 1 endpoint
- Labels (B2B) - 1 endpoint
- Authentication (JSON-RPC) - 1 method
- Categories (JSON-RPC) - 1 method
Cross-Reference: Category → Business Model
| Category | FBS | FBO | DBS | B2B FF | B2B FBS |
|---|---|---|---|---|---|
| Authentication (B2B) | ✅ | ✅ | ✅ | ✅ | ✅ |
| Addresses (B2B) | ✅ | ✅ | ✅ | ✅ | ✅ |
| Orders (B2B) | ✅ | ✅ | ✅ | ✅ | ✅ |
| Nomenclature (B2B) | ✅ | ✅ | ✅ | ✅ | ✅ |
| Shipments (B2B) | ✅ | ✅ | ✅ | ✅ | ✅ |
| Stock (B2B) | ❌ | ✅ | ❌ | ✅ | ❌ |
| Delivery (B2B) | ❌ | ❌ | ✅ | ❌ | ✅ |
| Pickup Points (B2B) | ✅ | ✅ | ✅ | ✅ | ✅ |
| Partner Pickups (B2B) | ✅ | ❌ | ❌ | ❌ | ❌ |
| Gift Certificates (B2B) | ✅ | ✅ | ✅ | ✅ | ✅ |
| Labels (B2B) | ✅ | ✅ | ✅ | ✅ | ✅ |
| Notifications (B2B) | ✅ | ✅ | ✅ | ✅ | ✅ |
| Webhooks (B2B) | ✅ | ✅ | ✅ | ✅ | ✅ |
| Authentication (JSON-RPC) | ✅ | ✅ | ✅ | ✅ | ✅ |
| Dictionaries (JSON-RPC) | ✅ | ✅ | ✅ | ✅ | ✅ |
| Nomenclatures (JSON-RPC) | ✅ | ✅ | ✅ | ✅ | ✅ |
| Attributes (JSON-RPC) | ✅ | ✅ | ✅ | ✅ | ✅ |
| Stock (JSON-RPC) | ✅ | ✅ | ✅ | ✅ | ✅ |
| Orders (JSON-RPC) | ✅ | ✅ | ❌ | ❌ | ❌ |
| Categories (JSON-RPC) | ✅ | ✅ | ✅ | ✅ | ✅ |
| Questions (JSON-RPC) | ✅ | ✅ | ✅ | ✅ | ✅ |
| FBS Return Boxes (REST) | ✅ | ❌ | ❌ | ❌ | ❌ |
| FBS Return Items (REST) | ✅ | ❌ | ❌ | ❌ | ❌ |
| Feedback (REST) | ✅ | ✅ | ✅ | ✅ | ✅ |
Legend:
- ✅ = Category used by this business model
- ❌ = Category not applicable to this business model
API System Selection Guide
When to use B2B Platform API
- Order management and lifecycle
- Shipment creation and tracking
- Logistics and delivery
- FBO warehouse operations
- Label generation
- Real-time webhooks
- Gift certificate management
When to use Seller JSON-RPC API
- Product catalog management
- Price updates
- Stock reporting
- Product attributes management
- Customer questions (JSON-RPC version)
- Order shipment (FBS)
When to use Seller REST API
- FBS returns processing
- Return box tracking
- Customer feedback
Integration Workflows by Category
New Seller Onboarding
- Authentication → Get tokens
- Products → Create product catalog
- Prices → Set prices
- Stock → Report initial stock
- Orders → Start receiving orders
Daily Operations (FBS)
- Orders → Get new orders
- Orders → Update order status
- Labels → Generate shipping labels
- Shipments → Report shipment
- Stock → Update stock levels
- FBS Returns → Process returns
- Feedback → Respond to customers
Daily Operations (FBO)
- Orders → Monitor order status
- Shipments → Create warehouse shipments
- Stock → Check warehouse stock
- Products → Update catalog
- Prices → Update prices
- Feedback → Respond to customers
Summary Statistics
- Total API Systems: 3
- Total Categories: 24
- Total Endpoints/Methods: 85
- Most Complex Category: Orders (B2B) - 13 endpoints
- Largest API System: B2B Platform API - 51 endpoints
- Most Used Categories (across all business models):
- Orders (B2B) - All 5 models
- Nomenclatures (JSON-RPC) - All 5 models
- Authentication - All 5 models
- Notifications - All 5 models
- Feedback - All 5 models
Next Steps
The following subtasks will provide detailed documentation for each category:
- Subtask 2-6: Products API endpoints (Nomenclatures)
- Subtask 2-7: Orders API endpoints
- Subtask 2-8: Returns API endpoints (FBS Returns)
- Subtask 2-9: Prices API endpoints
- Subtask 2-10: Stocks API endpoints
- Subtask 2-11: Shipments API endpoints
- Subtask 2-12: Other API sections (Attributes, Categories, Delivery, etc.)
Documentation Sources:
- B2B Platform API:
/Users/antonnozdrin/Tools/SCRAP/marketplace-api-specs/lamoda/lamoda_b2b_openapi.yaml - Seller JSON-RPC API:
/Users/antonnozdrin/Tools/SCRAP/marketplace-api-specs/lamoda/lamoda_seller_jsonrpc_api.yaml - Seller REST API:
/Users/antonnozdrin/Tools/SCRAP/marketplace-api-specs/lamoda/lamoda_seller_rest_api.yaml