GTS Shop API (0.0.1)
The documentation is intended for the integration of external customers with the GTS Shop purchase and logistics service.
For authorization, the following headers must be passed in each request:
X-Workspace-Id: 66cc21fa4ea089d0e4f8c744
Authorization: PrivateToken eyJhbGciOiJIUzI1NiJ9.eyJhY2NvdW50X2lkIjoiNjZjYzE2MDdmMWE5ZjNkZGRmNDg3MjBiIiwianRpIjoiZThmMTY1NjhmODdhODFhYmUzNzM4ODUxZWZlNGUwZjkiLCJpYXQiOjE3MjQ2NTQ0NTcsImV4cCI6LTEsImF1ZCI6Imh0dHBzOi8vYXBpLjVzLWdsb2JhbC5jb20iLCJpc3MiOiJodHRwczovL2F1dGguNXMtZ2xvYmFsLmNvbSJ9.VJrZmYQaX2zBqgTl5dFFLPCpLgSqd_yq433sQp2O86E
Get product list
Authorizations:
query Parameters
| after_date | string Example: after_date=2024-12-26T11:16:40Z This parameter allows you to filter items by last modified date. |
object This parameter allows you to divide a large data set into smaller, more manageable pieces (pages). | |
object Filtering product items. |
Responses
Response Schema: application/json
| status required | string |
required | Array of objects (ProductListItem) |
required | object (Meta) |
Response samples
- 200
{- "status": "string",
- "data": [
- {
- "id": "string",
- "created_at": "string",
- "updated_at": "string",
- "name": "string",
- "gender": "string",
- "brand": {
- "tag": "string",
- "name": "string"
}, - "images": [
- {
- "public_url": "string",
- "encoded_url": "string"
}
], - "price": {
- "amount": 0,
- "currency": "string"
}
}
], - "meta": {
- "pagination": {
- "current_page": 0,
- "items_per_page": 0,
- "total_items": 0,
- "total_pages": 0
}
}
}Detailed product information
Authorizations:
path Parameters
| productId required | string Product Identifier |
Responses
Response Schema: application/json
| status required | string |
required | object (Product) |
required | object (OrdersMeta) |
Response samples
- 200
{- "status": "string",
- "data": {
- "id": "string",
- "created_at": "string",
- "updated_at": "string",
- "name": "string",
- "description": "string",
- "gender": "string",
- "brand": {
- "tag": "string",
- "name": "string"
}, - "categories": [
- {
- "tag": "string",
- "parent_tag": "string",
- "depth": 0,
- "name": "string",
- "title": "string"
}
], - "images": [
- {
- "public_url": "string",
- "encoded_url": "string"
}
], - "variants": [
- {
- "provider_id": "string",
- "url": "string",
- "barcode": "string",
- "quantity": 0,
- "size": {
- "value": 0,
- "unit": "string"
}, - "color": {
- "value": 0,
- "unit": "string"
}, - "price": {
- "amount": 0,
- "currency": "string"
}, - "price_street": {
- "amount": 0,
- "currency": "string"
}, - "discount": {
- "amount": 0,
- "currency": "string"
}, - "discount_in_percent": 0
}
]
}, - "meta": {
- "recipient_ids": [
- "string"
], - "workspace": {
- "id": "string",
- "name": "string"
}, - "pagination": {
- "current_page": 0,
- "items_per_page": 0,
- "total_items": 0,
- "total_pages": 0
}
}
}Get category list
Authorizations:
query Parameters
object This parameter allows you to divide a large data set into smaller, more manageable pieces (pages). |
Responses
Response Schema: application/json
| status required | string |
required | Array of objects (Category) |
required | object (Meta) |
Response samples
- 200
{- "status": "string",
- "data": [
- {
- "tag": "string",
- "parent_tag": "string",
- "name": "string",
- "title": "string"
}
], - "meta": {
- "pagination": {
- "current_page": 0,
- "items_per_page": 0,
- "total_items": 0,
- "total_pages": 0
}
}
}Get brand list
Authorizations:
query Parameters
object This parameter allows you to divide a large data set into smaller, more manageable pieces (pages). |
Responses
Response Schema: application/json
| status required | string |
required | Array of objects (Brand) |
required | object (Meta) |
Response samples
- 200
{- "status": "string",
- "data": [
- {
- "tag": "string",
- "name": "string"
}
], - "meta": {
- "pagination": {
- "current_page": 0,
- "items_per_page": 0,
- "total_items": 0,
- "total_pages": 0
}
}
}The order is created in several steps:
- A new order is created
- The items for purchase are added to the order
- The order is confirmed and passed to purchase specialists
Order list
Authorizations:
query Parameters
| statuses[] | Array of strings Example: statuses[]=draft This parameter allows you to select and display orders based on their current status.
You can filter orders by different statuses such as |
| stages[] | Array of strings Example: stages[]=finished This parameter allows you to select and display orders based on the current stage within the status.
You can filter orders by different stages such as |
| mode | string Default: "flexible" Example: mode=strict This parameter allows you to set the filtering mode by order status. It could takes one of two values: flexible - outputs all orders that were in one of the statuses passed in the 'statuses' parameter strict - outputs orders, which active status corresponds to one of the statuses passed in the 'statuses' parameter |
| after_date | string Example: after_date=1 This parameter allows you to filter orders by date. For example: show orders that were purchased after August 27, 2024 |
| recipient | string Example: recipient=1 This parameter allows you to filter orders that specify or do not specify a final recipient for order items.
If at least for one of the order items FALSE - TRUE - any value |
| delivery_address | string Example: delivery_address=1 This parameter allows you to filter orders that have or do not have a shipping address for order items.
If at least for one of the order items FALSE - TRUE - any value |
object This parameter allows you to divide a large data set into smaller, more manageable pieces (pages). |
Responses
Response Schema: application/json
| status required | string |
required | Array of objects (Order) |
required | object (OrdersMeta) |
Response samples
- 200
{- "status": "success",
- "data": [
- {
- "id": "666f0ab38e9daf5755f6de39",
- "created_at": "2024-06-16T15:54:27.670Z",
- "items": [ ],
- "number": "B24-00001",
- "status": {
- "created_at": "2024-06-16T15:54:27.680Z",
- "name": "draft",
- "stage": "idle"
}, - "updated_at": "2024-06-16T15:54:27.684Z"
}
], - "meta": {
- "recipient_ids": [ ],
- "workspace": {
- "id": "664c9d6a49eb35ea3a9b2ea3",
- "name": "Workspace: Иван Иванов"
}, - "pagination": {
- "current_page": 1,
- "items_per_page": 24,
- "total_items": 48,
- "total_pages": 2
}
}
}Create new order
Authorizations:
Request Body schema: application/json
object | |||||
| |||||
Responses
Response Schema: application/json
| status required | string |
required | object (Order) |
required | object (OrdersMeta) |
Request samples
- Payload
{- "data": {
- "number": "693741"
}
}Response samples
- 200
{- "status": "success",
- "data": {
- "id": "666f0ab38e9daf5755f6de39",
- "created_at": "2024-06-16T15:54:27.670Z",
- "items": [ ],
- "number": "693741",
- "status": {
- "created_at": "2024-06-16T15:54:27.680Z",
- "name": "draft",
- "stage": "idle"
}, - "updated_at": "2024-06-16T15:54:27.684Z"
}, - "meta": {
- "recipient_ids": [ ],
- "workspace": {
- "id": "664c9d6a49eb35ea3a9b2ea3",
- "name": "Workspace: Иван Иванов"
}, - "who": {
- "profile_id": "664c9d5249eb35ea3a9b2ea2",
- "nickname": "Иван Иванов",
}
}
}Order information
Authorizations:
path Parameters
| orderId required | string Internal or external order identifier |
Responses
Response Schema: application/json
| status required | string |
required | object (Order) |
required | object (OrdersMeta) |
Response samples
- 200
{- "status": "success",
- "data": {
- "id": "666f0ab38e9daf5755f6de39",
- "created_at": "2024-06-16T15:54:27.670Z",
- "items": [ ],
- "number": "693741",
- "status": {
- "created_at": "2024-06-16T15:54:27.680Z",
- "name": "draft",
- "stage": "idle"
}, - "updated_at": "2024-06-16T15:54:27.684Z"
}, - "meta": {
- "recipient_ids": [ ],
- "workspace": {
- "id": "664c9d6a49eb35ea3a9b2ea3",
- "name": "Workspace: Иван Иванов"
}, - "who": {
- "profile_id": "664c9d5249eb35ea3a9b2ea2",
- "nickname": "Иван Иванов",
}
}
}Add item to order
Add new item to existing order
Authorizations:
path Parameters
| orderId required | string Internal or external order identifier |
Request Body schema: application/json
required | object | ||||||||||
| |||||||||||
Responses
Response Schema: application/json
| status required | string |
required | object (Order) |
required | object (OrdersMeta) |
Request samples
- Payload
{- "data": {
- "product": {
- "provider_id": "4234787",
- "type": "link",
}, - "price_on_order_date": {
- "amount": 14.99,
- "currency": "EUR"
}, - "price_deviation": 7,
- "comment": "Размер женской одежды: EU 48 (соответствует 50/52 RU)",
- "quantity": 1
}
}Response samples
- 200
{- "status": "success",
- "data": {
- "id": "666f0ab38e9daf5755f6de39",
- "created_at": "2024-06-16T15:54:27.670Z",
- "items": [ ],
- "number": "693741",
- "status": {
- "created_at": "2024-06-16T15:54:27.680Z",
- "name": "draft",
- "stage": "idle"
}, - "updated_at": "2024-06-16T15:54:27.684Z"
}, - "meta": {
- "recipient_ids": [ ],
- "workspace": {
- "id": "664c9d6a49eb35ea3a9b2ea3",
- "name": "Workspace: Иван Иванов"
}, - "who": {
- "profile_id": "664c9d5249eb35ea3a9b2ea2",
- "nickname": "Иван Иванов",
}
}
}Update information about order item
This method is used to add information about the order recipient and delivery address.
Authorizations:
path Parameters
| orderId required | string Internal or external order identifier |
| orderItemId required | string Internal or external order item identifier |
Request Body schema: application/json
object | |||||
| |||||
Responses
Response Schema: application/json
| status required | string |
required | object (Order) |
required | object (OrdersMeta) |
Request samples
- Payload
{- "data": {
- "product": {
- "provider_id": "4234787",
- "type": "link",
}, - "price_on_order_date": {
- "amount": 14.99,
- "currency": "EUR"
}, - "price_deviation": 7,
- "comment": "Размер женской одежды: EU 48 (соответствует 50/52 RU)",
- "quantity": 1
}
}Response samples
- 200
{- "status": "success",
- "data": {
- "id": "666f0ab38e9daf5755f6de39",
- "created_at": "2024-06-16T15:54:27.670Z",
- "items": [ ],
- "number": "693741",
- "status": {
- "created_at": "2024-06-16T15:54:27.680Z",
- "name": "draft",
- "stage": "idle"
}, - "updated_at": "2024-06-16T15:54:27.684Z"
}, - "meta": {
- "recipient_ids": [ ],
- "workspace": {
- "id": "664c9d6a49eb35ea3a9b2ea3",
- "name": "Workspace: Иван Иванов"
}, - "who": {
- "profile_id": "664c9d5249eb35ea3a9b2ea2",
- "nickname": "Иван Иванов",
}
}
}Confirm order, assign to work
Assign order to be started to work on
Authorizations:
path Parameters
| orderId required | string Internal or external order identifier |
Request Body schema: application/json
required | object | ||||||||||
| |||||||||||
Responses
Response Schema: application/json
| status required | string |
required | object (Order) |
required | object (OrdersMeta) |
Request samples
- Payload
{- "data": {
- "product": {
- "provider_id": "4234787",
- "type": "link",
}, - "price_on_order_date": {
- "amount": 14.99,
- "currency": "EUR"
}, - "price_deviation": 7,
- "comment": "Размер женской одежды: EU 48 (соответствует 50/52 RU)",
- "quantity": 1
}
}Response samples
- 200
{- "status": "success",
- "data": {
- "id": "666f0ab38e9daf5755f6de39",
- "created_at": "2024-06-16T15:54:27.670Z",
- "items": [ ],
- "number": "693741",
- "status": {
- "created_at": "2024-06-16T15:54:27.680Z",
- "name": "draft",
- "stage": "idle"
}, - "updated_at": "2024-06-16T15:54:27.684Z"
}, - "meta": {
- "recipient_ids": [ ],
- "workspace": {
- "id": "664c9d6a49eb35ea3a9b2ea3",
- "name": "Workspace: Иван Иванов"
}, - "who": {
- "profile_id": "664c9d5249eb35ea3a9b2ea2",
- "nickname": "Иван Иванов",
}
}
}Order position tracking history information
Authorizations:
path Parameters
| orderId required | string Internal or external order identifier |
| orderItemId required | string Internal or external order item identifier |
Responses
Response Schema: application/json
| status required | string |
required | object (OrderItemsTrckingHistory) |
required | object (OrdersItemsMeta) |
Response samples
- 200
{- "status": "success",
- "data": {
- "id": "66ceb5905d09433363c3dbd0",
- "delivery_address": {
- "location": "Московская область, Орехово-Зуевский район, Орехово-Зуево, ул. Володарского, д. 4, кв. 247",
- "zip": "142603"
}, - "delivery_routes": [
- {
- "tracking_number": "00340434491002059606",
- "status": "finished",
- "origin": {
- "location_name": "Магазин"
}, - "destination": {
- "location_name": "Сортировочный центр"
}, - "carrier": {
- "code": "dhl",
- "name": "DHL"
}, - "created_at": "2024-08-24T05:44:34.362Z",
- "history": [ ]
}, - {
- "tracking_number": "01605027877078J",
- "status": "finished",
- "origin": {
- "location_name": "Сортировочный центр"
}, - "destination": {
- "location_name": "Сортировочный центр"
}, - "carrier": {
- "code": "dpd",
- "name": "Международный перевозчик"
}, - "created_at": "2024-08-26T05:43:43.516Z",
- "history": [ ]
}, - {
- "tracking_number": "EJ239538992RU",
- "status": "started",
- "origin": {
- "location_name": "Международный перевозчик"
}, - "destination": {
- "location_name": "Заказчик"
}, - "carrier": {
- "code": "ruspost",
- "name": "Почта России"
}, - "created_at": "2024-08-27T05:44:44.013Z",
- "history": [
- {
- "date": "2024-04-26T06:30:41.000Z",
- "operation": {
- "name": "Прием",
- "description": "Партионный"
}, - "location": {
- "index": "500983",
- "country": "Германия",
- "description": "Russian Post Berlin Cp"
}, - "shipment": {
- "barcode": "EJ239538992RU",
- "weight": {
- "value": 420,
- "unit": "g"
}
}
}, - {
- "date": "2024-04-26T14:49:24.000Z",
- "operation": {
- "name": "Экспорт международной почты",
- "description": null
}, - "location": {
- "index": "500983",
- "country": "Германия",
- "description": "Russian Post Berlin Cp"
}, - "shipment": {
- "barcode": "EJ239538992RU",
- "weight": {
- "value": 420,
- "unit": "g"
}
}
}, - {
- "date": "2024-05-08T10:15:15.000Z",
- "operation": {
- "name": "Обработка",
- "description": "Прибыло на территорию РФ"
}, - "location": {
- "index": "102987",
- "country": "Российская Федерация",
- "description": "Москва-Внуково АОПП ММПО Pi-EMS"
}, - "shipment": {
- "barcode": "EJ239538992RU",
- "weight": {
- "value": 420,
- "unit": "g"
}
}
}, - {
- "date": "2024-05-08T10:15:15.000Z",
- "operation": {
- "name": "Обработка",
- "description": "Прибыло в сортировочный центр"
}, - "location": {
- "index": "102980",
- "country": "Российская Федерация",
- "description": "Москва-Внуково АОПП ММПО"
}, - "shipment": {
- "barcode": "EJ239538992RU",
- "weight": {
- "value": 0,
- "unit": "g"
}
}
}, - {
- "date": "2024-05-11T05:31:28.000Z",
- "operation": {
- "name": "Импорт международной почты",
- "description": "Поступило приписано"
}, - "location": {
- "index": "102987",
- "country": "Российская Федерация",
- "description": "Москва-Внуково АОПП ММПО Pi-EMS"
}, - "shipment": {
- "barcode": "EJ239538992RU",
- "weight": {
- "value": 420,
- "unit": "g"
}
}
}, - {
- "date": "2024-05-12T11:24:39.000Z",
- "operation": {
- "name": "Обработка",
- "description": "Покинуло место международного обмена"
}, - "location": {
- "index": "102986",
- "country": "Российская Федерация",
- "description": "Москва-Внуково АОПП ММПО Pi-6"
}, - "shipment": {
- "barcode": "EJ239538992RU",
- "weight": {
- "value": 420,
- "unit": "g"
}
}
}, - {
- "date": "2024-05-12T11:24:39.000Z",
- "operation": {
- "name": "Обработка",
- "description": "Покинуло сортировочный центр"
}, - "location": {
- "index": "102980",
- "country": "Российская Федерация",
- "description": "Москва-Внуково АОПП ММПО"
}, - "shipment": {
- "barcode": "EJ239538992RU",
- "weight": {
- "value": 0,
- "unit": "g"
}
}
}, - {
- "date": "2024-05-12T12:53:45.000Z",
- "operation": {
- "name": "Обработка",
- "description": "Прибыло в сортировочный центр"
}, - "location": {
- "index": "102975",
- "country": "Российская Федерация",
- "description": "МР ЛЦ Внуково"
}, - "shipment": {
- "barcode": "EJ239538992RU",
- "weight": {
- "value": 0,
- "unit": "g"
}
}
}, - {
- "date": "2024-05-12T13:31:52.000Z",
- "operation": {
- "name": "Обработка",
- "description": "Прибыло в место международного обмена"
}, - "location": {
- "index": "130214",
- "country": "Российская Федерация",
- "description": "МР ЛЦ Внуково Цех EMS УО"
}, - "shipment": {
- "barcode": "EJ239538992RU",
- "weight": {
- "value": 416,
- "unit": "g"
}
}
}, - {
- "date": "2024-05-12T13:31:53.000Z",
- "operation": {
- "name": "Обработка",
- "description": "Сортировка"
}, - "location": {
- "index": "130214",
- "country": "Российская Федерация",
- "description": "МР ЛЦ Внуково Цех EMS УО"
}, - "shipment": {
- "barcode": "EJ239538992RU",
- "weight": {
- "value": 416,
- "unit": "g"
}
}
}, - {
- "date": "2024-05-12T17:33:18.000Z",
- "operation": {
- "name": "Обработка",
- "description": "Покинуло сортировочный центр"
}, - "location": {
- "index": "102975",
- "country": "Российская Федерация",
- "description": "МР ЛЦ Внуково"
}, - "shipment": {
- "barcode": "EJ239538992RU",
- "weight": {
- "value": 0,
- "unit": "g"
}
}
}, - {
- "date": "2024-05-12T21:22:56.000Z",
- "operation": {
- "name": "Регистрация",
- "description": null
}, - "location": {
- "index": "141022",
- "country": "Российская Федерация",
- "description": "Мытищи УКД"
}, - "shipment": {
- "barcode": "EJ239538992RU",
- "weight": {
- "value": 416,
- "unit": "g"
}
}
}, - {
- "date": "2024-05-12T21:22:59.000Z",
- "operation": {
- "name": "Обработка",
- "description": "Прибыло в место вручения"
}, - "location": {
- "index": "141022",
- "country": "Российская Федерация",
- "description": "Мытищи УКД"
}, - "shipment": {
- "barcode": "EJ239538992RU",
- "weight": {
- "value": 416,
- "unit": "g"
}
}
}, - {
- "date": "2024-05-12T21:23:00.000Z",
- "operation": {
- "name": "Обработка",
- "description": "Сортировка"
}, - "location": {
- "index": "141022",
- "country": "Российская Федерация",
- "description": "Мытищи УКД"
}, - "shipment": {
- "barcode": "EJ239538992RU",
- "weight": {
- "value": 0,
- "unit": "g"
}
}
}, - {
- "date": "2024-05-12T21:23:01.000Z",
- "operation": {
- "name": "Обработка",
- "description": "Ожидает курьерской доставки"
}, - "location": {
- "index": "141022",
- "country": "Российская Федерация",
- "description": "Мытищи УКД"
}, - "shipment": {
- "barcode": "EJ239538992RU",
- "weight": {
- "value": 416,
- "unit": "g"
}
}
}, - {
- "date": "2024-05-13T05:03:48.000Z",
- "operation": {
- "name": "Обработка",
- "description": "Передано курьеру (водителю)"
}, - "location": {
- "index": "141022",
- "country": "Российская Федерация",
- "description": "Мытищи УКД"
}, - "shipment": {
- "barcode": "EJ239538992RU",
- "weight": {
- "value": 0,
- "unit": "g"
}
}
}, - {
- "date": "2024-05-13T15:29:11.000Z",
- "operation": {
- "name": "Неудачная попытка вручения",
- "description": "Невозможно связаться с клиентом"
}, - "location": {
- "index": "141022",
- "country": "Российская Федерация",
- "description": "Мытищи УКД"
}, - "shipment": {
- "barcode": "EJ239538992RU",
- "weight": {
- "value": 0,
- "unit": "g"
}
}
}, - {
- "date": "2024-05-14T04:49:06.000Z",
- "operation": {
- "name": "Обработка",
- "description": "Передано курьеру (водителю)"
}, - "location": {
- "index": "141022",
- "country": "Российская Федерация",
- "description": "Мытищи УКД"
}, - "shipment": {
- "barcode": "EJ239538992RU",
- "weight": {
- "value": 0,
- "unit": "g"
}
}
}, - {
- "date": "2024-05-14T13:34:30.000Z",
- "operation": {
- "name": "Неудачная попытка вручения",
- "description": "Доставка отложена по просьбе адресата"
}, - "location": {
- "index": "141022",
- "country": "Российская Федерация",
- "description": "Мытищи УКД"
}, - "shipment": {
- "barcode": "EJ239538992RU",
- "weight": {
- "value": 0,
- "unit": "g"
}
}
}, - {
- "date": "2024-05-24T06:45:38.000Z",
- "operation": {
- "name": "Обработка",
- "description": "Ожидает курьерской доставки"
}, - "location": {
- "index": "141022",
- "country": "Российская Федерация",
- "description": "Мытищи УКД"
}, - "shipment": {
- "barcode": "EJ239538992RU",
- "weight": {
- "value": 416,
- "unit": "g"
}
}
}, - {
- "date": "2024-05-24T06:47:03.000Z",
- "operation": {
- "name": "Обработка",
- "description": "Передано курьеру (водителю)"
}, - "location": {
- "index": "141022",
- "country": "Российская Федерация",
- "description": "Мытищи УКД"
}, - "shipment": {
- "barcode": "EJ239538992RU",
- "weight": {
- "value": 0,
- "unit": "g"
}
}
}, - {
- "date": "2024-05-24T17:07:11.000Z",
- "operation": {
- "name": "Неудачная попытка вручения",
- "description": "Доставка отложена по просьбе адресата"
}, - "location": {
- "index": "141022",
- "country": "Российская Федерация",
- "description": "Мытищи УКД"
}, - "shipment": {
- "barcode": "EJ239538992RU",
- "weight": {
- "value": 0,
- "unit": "g"
}
}
}, - {
- "date": "2024-05-24T18:00:23.000Z",
- "operation": {
- "name": "Обработка",
- "description": "Продление срока хранения"
}, - "location": {
- "index": "141022",
- "country": "Российская Федерация",
- "description": "Мытищи УКД"
}, - "shipment": {
- "barcode": "EJ239538992RU",
- "weight": {
- "value": 0,
- "unit": "g"
}
}
}, - {
- "date": "2024-05-29T08:06:08.000Z",
- "operation": {
- "name": "Возврат",
- "description": "Истек срок хранения"
}, - "location": {
- "index": "141022",
- "country": "Российская Федерация",
- "description": "Мытищи УКД"
}, - "shipment": {
- "barcode": "EJ239538992RU",
- "weight": {
- "value": 416,
- "unit": "g"
}
}
}, - {
- "date": "2024-05-29T08:06:10.000Z",
- "operation": {
- "name": "Обработка",
- "description": "Сортировка"
}, - "location": {
- "index": "141022",
- "country": "Российская Федерация",
- "description": "Мытищи УКД"
}, - "shipment": {
- "barcode": "EJ239538992RU",
- "weight": {
- "value": 0,
- "unit": "g"
}
}
}, - {
- "date": "2024-05-29T20:01:09.000Z",
- "operation": {
- "name": "Обработка",
- "description": "Покинуло место возврата/досылки"
}, - "location": {
- "index": "141022",
- "country": "Российская Федерация",
- "description": "Мытищи УКД"
}, - "shipment": {
- "barcode": "EJ239538992RU",
- "weight": {
- "value": 0,
- "unit": "g"
}
}
}, - {
- "date": "2024-05-29T23:43:12.000Z",
- "operation": {
- "name": "Обработка",
- "description": "Прибыло в сортировочный центр"
}, - "location": {
- "index": "102975",
- "country": "Российская Федерация",
- "description": "МР ЛЦ Внуково"
}, - "shipment": {
- "barcode": "EJ239538992RU",
- "weight": {
- "value": 0,
- "unit": "g"
}
}
}, - {
- "date": "2024-05-30T22:22:06.000Z",
- "operation": {
- "name": "Обработка",
- "description": "Покинуло сортировочный центр"
}, - "location": {
- "index": "102975",
- "country": "Российская Федерация",
- "description": "МР ЛЦ Внуково"
}, - "shipment": {
- "barcode": "EJ239538992RU",
- "weight": {
- "value": 0,
- "unit": "g"
}
}
}, - {
- "date": "2024-05-31T00:33:34.000Z",
- "operation": {
- "name": "Обработка",
- "description": "Прибыло в сортировочный центр"
}, - "location": {
- "index": "104980",
- "country": "Российская Федерация",
- "description": "Шереметьево ММПО"
}, - "shipment": {
- "barcode": "EJ239538992RU",
- "weight": {
- "value": 0,
- "unit": "g"
}
}
}, - {
- "date": "2024-05-31T06:04:38.000Z",
- "operation": {
- "name": "Обработка",
- "description": "Прибыло в место международного обмена"
}, - "location": {
- "index": "130980",
- "country": "Российская Федерация",
- "description": "Шереметьево EMS"
}, - "shipment": {
- "barcode": "EJ239538992RU",
- "weight": {
- "value": 420,
- "unit": "g"
}
}
}, - {
- "date": "2024-05-31T06:04:39.000Z",
- "operation": {
- "name": "Обработка",
- "description": "Сортировка"
}, - "location": {
- "index": "130980",
- "country": "Российская Федерация",
- "description": "Шереметьево EMS"
}, - "shipment": {
- "barcode": "EJ239538992RU",
- "weight": {
- "value": 420,
- "unit": "g"
}
}
}, - {
- "date": "2024-06-10T15:00:06.000Z",
- "operation": {
- "name": "Обработка",
- "description": "Покинуло сортировочный центр"
}, - "location": {
- "index": "104980",
- "country": "Российская Федерация",
- "description": "Шереметьево ММПО"
}, - "shipment": {
- "barcode": "EJ239538992RU",
- "weight": {
- "value": 0,
- "unit": "g"
}
}
}, - {
- "date": "2024-06-10T15:21:00.000Z",
- "operation": {
- "name": "Обработка",
- "description": "Прибыло в сортировочный центр"
}, - "location": {
- "index": "104040",
- "country": "Российская Федерация",
- "description": "Шереметьево АОПП"
}, - "shipment": {
- "barcode": "EJ239538992RU",
- "weight": {
- "value": 0,
- "unit": "g"
}
}
}, - {
- "date": "2024-06-10T18:18:36.000Z",
- "operation": {
- "name": "Обработка",
- "description": "Покинуло сортировочный центр"
}, - "location": {
- "index": "104040",
- "country": "Российская Федерация",
- "description": "Шереметьево АОПП"
}, - "shipment": {
- "barcode": "EJ239538992RU",
- "weight": {
- "value": 0,
- "unit": "g"
}
}
}, - {
- "date": "2024-06-10T21:18:46.000Z",
- "operation": {
- "name": "Обработка",
- "description": "Прибыло в сортировочный центр"
}, - "location": {
- "index": "102300",
- "country": "Российская Федерация",
- "description": "Москва-Внуково АОПП"
}, - "shipment": {
- "barcode": "EJ239538992RU",
- "weight": {
- "value": 0,
- "unit": "g"
}
}
}, - {
- "date": "2024-06-11T01:01:51.000Z",
- "operation": {
- "name": "Обработка",
- "description": "Покинуло сортировочный центр"
}, - "location": {
- "index": "102300",
- "country": "Российская Федерация",
- "description": "Москва-Внуково АОПП"
}, - "shipment": {
- "barcode": "EJ239538992RU",
- "weight": {
- "value": 0,
- "unit": "g"
}
}
}, - {
- "date": "2024-06-11T06:27:35.000Z",
- "operation": {
- "name": "Обработка",
- "description": "Прибыло в сортировочный центр"
}, - "location": {
- "index": "102980",
- "country": "Российская Федерация",
- "description": "Москва-Внуково АОПП ММПО"
}, - "shipment": {
- "barcode": "EJ239538992RU",
- "weight": {
- "value": 0,
- "unit": "g"
}
}
}, - {
- "date": "2024-06-11T13:02:07.000Z",
- "operation": {
- "name": "Обработка",
- "description": "Прибыло в место международного обмена"
}, - "location": {
- "index": "102987",
- "country": "Российская Федерация",
- "description": "Москва-Внуково АОПП ММПО Pi-EMS"
}, - "shipment": {
- "barcode": "EJ239538992RU",
- "weight": {
- "value": 410,
- "unit": "g"
}
}
}, - {
- "date": "2024-08-07T11:53:00.000Z",
- "operation": {
- "name": "Прием на таможню",
- "description": null
}, - "location": {
- "index": "102987",
- "country": "Российская Федерация",
- "description": "Москва-Внуково АОПП ММПО Pi-EMS"
}, - "shipment": {
- "barcode": "EJ239538992RU",
- "weight": {
- "value": 410,
- "unit": "g"
}
}
}, - {
- "date": "2024-08-07T11:53:01.000Z",
- "operation": {
- "name": "Таможенное оформление",
- "description": "Проведен осмотр с использованием ТСТК"
}, - "location": {
- "index": "102987",
- "country": "Российская Федерация",
- "description": "Москва-Внуково АОПП ММПО Pi-EMS"
}, - "shipment": {
- "barcode": "EJ239538992RU",
- "weight": {
- "value": 410,
- "unit": "g"
}
}
}, - {
- "date": "2024-08-07T11:53:02.000Z",
- "operation": {
- "name": "Таможенное оформление",
- "description": "Выпущено таможней"
}, - "location": {
- "index": "102987",
- "country": "Российская Федерация",
- "description": "Москва-Внуково АОПП ММПО Pi-EMS"
}, - "shipment": {
- "barcode": "EJ239538992RU",
- "weight": {
- "value": 410,
- "unit": "g"
}
}
}, - {
- "date": "2024-08-08T11:22:49.000Z",
- "operation": {
- "name": "Обработка",
- "description": "Покинуло сортировочный центр"
}, - "location": {
- "index": "102980",
- "country": "Российская Федерация",
- "description": "Москва-Внуково АОПП ММПО"
}, - "shipment": {
- "barcode": "EJ239538992RU",
- "weight": {
- "value": 0,
- "unit": "g"
}
}
}, - {
- "date": "2024-08-08T11:22:50.000Z",
- "operation": {
- "name": "Обработка",
- "description": "Покинуло место международного обмена"
}, - "location": {
- "index": "102986",
- "country": "Российская Федерация",
- "description": "Москва-Внуково АОПП ММПО Pi-6"
}, - "shipment": {
- "barcode": "EJ239538992RU",
- "weight": {
- "value": 410,
- "unit": "g"
}
}
}, - {
- "date": "2024-08-08T13:43:05.000Z",
- "operation": {
- "name": "Обработка",
- "description": "Прибыло в сортировочный центр"
}, - "location": {
- "index": "102975",
- "country": "Российская Федерация",
- "description": "МР ЛЦ Внуково"
}, - "shipment": {
- "barcode": "EJ239538992RU",
- "weight": {
- "value": 0,
- "unit": "g"
}
}
}, - {
- "date": "2024-08-08T14:30:51.000Z",
- "operation": {
- "name": "Обработка",
- "description": "Прибыло в место международного обмена"
}, - "location": {
- "index": "130214",
- "country": "Российская Федерация",
- "description": "МР ЛЦ Внуково Цех EMS УО"
}, - "shipment": {
- "barcode": "EJ239538992RU",
- "weight": {
- "value": 418,
- "unit": "g"
}
}
}, - {
- "date": "2024-08-08T14:30:52.000Z",
- "operation": {
- "name": "Обработка",
- "description": "Сортировка"
}, - "location": {
- "index": "130214",
- "country": "Российская Федерация",
- "description": "МР ЛЦ Внуково Цех EMS УО"
}, - "shipment": {
- "barcode": "EJ239538992RU",
- "weight": {
- "value": 418,
- "unit": "g"
}
}
}, - {
- "date": "2024-08-08T19:55:48.000Z",
- "operation": {
- "name": "Обработка",
- "description": "Покинуло сортировочный центр"
}, - "location": {
- "index": "102975",
- "country": "Российская Федерация",
- "description": "МР ЛЦ Внуково"
}, - "shipment": {
- "barcode": "EJ239538992RU",
- "weight": {
- "value": 0,
- "unit": "g"
}
}
}, - {
- "date": "2024-08-08T23:23:14.000Z",
- "operation": {
- "name": "Регистрация",
- "description": null
}, - "location": {
- "index": "143190",
- "country": "Российская Федерация",
- "description": "Щелково УКД"
}, - "shipment": {
- "barcode": "EJ239538992RU",
- "weight": {
- "value": 416,
- "unit": "g"
}
}
}, - {
- "date": "2024-08-08T23:24:07.000Z",
- "operation": {
- "name": "Обработка",
- "description": "Прибыло в место вручения"
}, - "location": {
- "index": "143190",
- "country": "Российская Федерация",
- "description": "Щелково УКД"
}, - "shipment": {
- "barcode": "EJ239538992RU",
- "weight": {
- "value": 416,
- "unit": "g"
}
}
}, - {
- "date": "2024-08-08T23:24:07.000Z",
- "operation": {
- "name": "Бронирование интервала доставки",
- "description": "Назначен интервал доставки при поступлении в место вручения"
}, - "location": {
- "index": "143190",
- "country": "Российская Федерация",
- "description": "Щелково УКД"
}, - "shipment": {
- "barcode": "EJ239538992RU",
- "weight": {
- "value": 0,
- "unit": "g"
}
}
}, - {
- "date": "2024-08-08T23:24:08.000Z",
- "operation": {
- "name": "Обработка",
- "description": "Сортировка"
}, - "location": {
- "index": "143190",
- "country": "Российская Федерация",
- "description": "Щелково УКД"
}, - "shipment": {
- "barcode": "EJ239538992RU",
- "weight": {
- "value": 0,
- "unit": "g"
}
}
}, - {
- "date": "2024-08-08T23:24:09.000Z",
- "operation": {
- "name": "Обработка",
- "description": "Ожидает курьерской доставки"
}, - "location": {
- "index": "143190",
- "country": "Российская Федерация",
- "description": "Щелково УКД"
}, - "shipment": {
- "barcode": "EJ239538992RU",
- "weight": {
- "value": 416,
- "unit": "g"
}
}
}, - {
- "date": "2024-08-09T06:10:50.000Z",
- "operation": {
- "name": "Обработка",
- "description": "Передано курьеру (водителю)"
}, - "location": {
- "index": "143190",
- "country": "Российская Федерация",
- "description": "Щелково УКД"
}, - "shipment": {
- "barcode": "EJ239538992RU",
- "weight": {
- "value": 0,
- "unit": "g"
}
}
}, - {
- "date": "2024-08-09T08:32:29.000Z",
- "operation": {
- "name": "Вручение",
- "description": "Адресату курьером"
}, - "location": {
- "index": "143190",
- "country": "Российская Федерация",
- "description": "Щелково УКД"
}, - "shipment": {
- "barcode": "EJ239538992RU",
- "weight": {
- "value": 416,
- "unit": "g"
}
}
}
]
}
], - "product": {
- "provider_id": "7824452",
- "brand": "Guess",
- "color": "en__schwarz",
- "description": "en__Reißverschlussfach auf der Rückseite\nschließt mit Reißverschluss\nlängenverstellbarer Tragegurt mit Klippverschluss (Länge ca. 90-120 cm)\nBeschläge aus anthrazitfarbenem Metall",
- "name": "en__Vezzola Gürteltasche Lederimitat schwarz",
- "size": "en__33 x 17 x 5 cm (Breite x Höhe x Tiefe)",
- "sku": "HMEVZLP3331-DAB",
- "type": "link",
}, - "recipient": {
- "first_name": "Татьяна",
- "inn": "0123456788",
- "last_name": "Цецулина",
- "middle_name": "Михайловна",
- "passport": {
- "issued_at": "2023-03-26",
- "issued_by": "г. Москва",
- "number": "822246",
- "series": "4607"
}, - "phone": "+79035634269"
}, - "status": {
- "created_at": "2024-08-28T05:31:40.146Z",
- "name": "delivery",
- "stage": "started"
}
}, - "meta": {
- "recipient_ids": [ ],
- "workspace": {
- "id": "66cc21fa4ea089d0e4f8c744",
- "name": "CDEK Shopping"
}, - "who": {
- "profile_id": "66cc1dcb4ea089d0e4f8c743",
- "nickname": "Иван Иванов",
}, - "item": {
- "id": "66ceb5905d09433363c3dbd0"
}
}
}| id required | string Unique identifier |
| created_at required | string Datetime of creation |
| updated_at required | string Datetime of update |
| name required | string Product name |
| description required | string Product description |
| gender required | string Gender |
required | object Brand |
required | Array of objects Category tree |
required | Array of objects Product images |
required | Array of objects Available variants of this product |
{- "id": "string",
- "created_at": "string",
- "updated_at": "string",
- "name": "string",
- "description": "string",
- "gender": "string",
- "brand": {
- "tag": "string",
- "name": "string"
}, - "categories": [
- {
- "tag": "string",
- "parent_tag": "string",
- "depth": 0,
- "name": "string",
- "title": "string"
}
], - "images": [
- {
- "public_url": "string",
- "encoded_url": "string"
}
], - "variants": [
- {
- "provider_id": "string",
- "url": "string",
- "barcode": "string",
- "quantity": 0,
- "size": {
- "value": 0,
- "unit": "string"
}, - "color": {
- "value": 0,
- "unit": "string"
}, - "price": {
- "amount": 0,
- "currency": "string"
}, - "price_street": {
- "amount": 0,
- "currency": "string"
}, - "discount": {
- "amount": 0,
- "currency": "string"
}, - "discount_in_percent": 0
}
]
}| tag required | string Unique identifier |
required | string or null Parent tag identifier |
| name required | string Category name |
| title required | string Category title |
{- "tag": "string",
- "parent_tag": "string",
- "name": "string",
- "title": "string"
}| tag required | string Unique identifier |
| name required | string Category name |
{- "tag": "string",
- "name": "string"
}| id required | string |
| created_at required | string |
| updated_at required | string |
| number required | string |
| status required | object |
required | Array of objects (OrderItem) |
{- "id": "string",
- "created_at": "string",
- "updated_at": "string",
- "number": "string",
- "status": { },
- "items": [
- {
- "id": "string",
- "created_at": "string",
- "updated_at": "string",
- "comment": "string",
- "price_on_order_date": {
- "amount": 0,
- "currency": "string"
}, - "quantity": "string",
- "status": {
- "name": "string",
- "stage": "string"
}, - "product": {
- "id": "string",
- "created_at": "string",
- "updated_at": "string",
- "name": "string",
- "description": "string",
- "gender": "string",
- "brand": {
- "tag": "string",
- "name": "string"
}, - "categories": [
- {
- "tag": "string",
- "parent_tag": "string",
- "depth": 0,
- "name": "string",
- "title": "string"
}
], - "images": [
- {
- "public_url": "string",
- "encoded_url": "string"
}
], - "variants": [
- {
- "provider_id": "string",
- "url": "string",
- "barcode": "string",
- "quantity": 0,
- "size": {
- "value": 0,
- "unit": "string"
}, - "color": {
- "value": 0,
- "unit": "string"
}, - "price": {
- "amount": 0,
- "currency": "string"
}, - "price_street": {
- "amount": 0,
- "currency": "string"
}, - "discount": {
- "amount": 0,
- "currency": "string"
}, - "discount_in_percent": 0
}
]
}
}
]
}| id required | string |
| created_at required | string |
| updated_at required | string |
| comment | string |
object | |
| quantity required | string |
required | object |
required | object (Product) |
{- "id": "string",
- "created_at": "string",
- "updated_at": "string",
- "comment": "string",
- "price_on_order_date": {
- "amount": 0,
- "currency": "string"
}, - "quantity": "string",
- "status": {
- "name": "string",
- "stage": "string"
}, - "product": {
- "id": "string",
- "created_at": "string",
- "updated_at": "string",
- "name": "string",
- "description": "string",
- "gender": "string",
- "brand": {
- "tag": "string",
- "name": "string"
}, - "categories": [
- {
- "tag": "string",
- "parent_tag": "string",
- "depth": 0,
- "name": "string",
- "title": "string"
}
], - "images": [
- {
- "public_url": "string",
- "encoded_url": "string"
}
], - "variants": [
- {
- "provider_id": "string",
- "url": "string",
- "barcode": "string",
- "quantity": 0,
- "size": {
- "value": 0,
- "unit": "string"
}, - "color": {
- "value": 0,
- "unit": "string"
}, - "price": {
- "amount": 0,
- "currency": "string"
}, - "price_street": {
- "amount": 0,
- "currency": "string"
}, - "discount": {
- "amount": 0,
- "currency": "string"
}, - "discount_in_percent": 0
}
]
}
}| provider_id required | string |
| type required | string |
| value required | string |
| name required | string |
required | string or null |
required | string or null |
required | string or null |
required | string or null |
required | string or null |
{- "provider_id": "string",
- "type": "string",
- "value": "string",
- "name": "string",
- "brand": "string",
- "sku": "string",
- "color": "string",
- "size": "string",
- "description": "string"
}Steps
draft- Draft ordercreated- New orderpurchase- Purchase orderacceptence- Process of receiving goods at intermediate warehousepackage- Outgoing orderdelivery- Order delivery task to final recipient
Stages
idle- Waiting for action/infostarted- Work in progressfinished- Step is finished successfullyrejected- Step if finished with an error
| name required | string Status |
| stage required | string Stage |
| created_at required | string Datetime of transition to this stage or state |
| reason | string Reason for error |
{- "name": "string",
- "stage": "string",
- "created_at": "string",
- "reason": "string"
}| inn required | string Russian Tax Number (INN) |
| first_name required | string Name |
| last_name required | string Surname |
| middle_name required | string Patronymic Name |
| phone required | string Contact phone number |
required | object Identity passport info |
{- "inn": "string",
- "first_name": "string",
- "last_name": "string",
- "middle_name": "string",
- "phone": "string",
- "passport": {
- "number": "string",
- "series": "string",
- "issued_at": "string",
- "issued_by": "string"
}
}