{
  "openapi": "3.2.0",
  "info": {
    "title": "Алгоритмы рекомендаций",
    "description": "Порядок элементов в ответе имеет значение, используйте выдачу в исходной последовательности."
  },
  "servers": [
    {
      "url": "https://externalapi.retailrocket.ru/api/3.0/"
    }
  ],
  "x-tagGroups": [
    {
      "name": "Алгоритмы без персонализации",
      "tags": [
        "Store",
        "Vendor",
        "Products",
        "Categories XML",
        "Categories Product API",
        "Categories Vendor Product API",
        "Categories Vendor XML",
        "Search phrase"
      ]
    },
    {
      "name": "Алгоритмы с персонализацией",
      "tags": [
        "Store_Personal",
        "Products_Personal",
        "Categories xml_Personal",
        "Categories product API_Personal",
        "Search phrase_Personal",
        "Last added to cart XML_Personal",
        "Last added to cart Product API_Personal"
      ]
    },
    {
      "name": "Взаимодействие с рекомендациями",
      "tags": [
        "Recommendation interactions"
      ]
    }
  ],
  "tags": [
    {
      "name": "Store",
      "description": "Получение рекомендаций по всему магазину",
      "x-displayName": "Ко всему магазину"
    },
    {
      "name": "Vendor",
      "description": "Получение рекомендаций по вендору",
      "x-displayName": "К вендору"
    },
    {
      "name": "Products",
      "description": "Получение рекомендаций по товарам",
      "x-displayName": "К товарам"
    },
    {
      "name": "Categories XML",
      "description": "Получение рекомендаций по категориям при интеграции через XML-файл",
      "x-displayName": "К категориям при интеграции через XML-файл"
    },
    {
      "name": "Categories Product API",
      "description": "Получение рекомендаций по категориям при интеграции через Product API",
      "x-displayName": "К категориям при интеграции через Product API"
    },
    {
      "name": "Categories Vendor Product API",
      "description": "Получение рекомендаций по вендору в категории при интеграции через Product API",
      "x-displayName": "К категориям и вендору при интеграции через Product API"
    },
    {
      "name": "Categories Vendor XML",
      "description": "Получение рекомендаций по вендору в категории и товару при интеграции через XML-файл",
      "x-displayName": "К категориям и вендору при интеграции через XML-файл"
    },
    {
      "name": "Search phrase",
      "description": "Получение рекомендаций по поисковой фразе",
      "x-displayName": "К поисковой фразе"
    },
    {
      "name": "Store_Personal",
      "x-displayName": "Ко всему магазину",
      "description": "Получение рекомендаций по всему магазину"
    },
    {
      "name": "Products_Personal",
      "x-displayName": "К товарам",
      "description": "Получение рекомендаций по товарам"
    },
    {
      "name": "Categories xml_Personal",
      "x-displayName": "К категориям при интеграции через XML-файл",
      "description": "Получение рекомендаций по категориям при интеграции через XML-файл"
    },
    {
      "name": "Categories product API_Personal",
      "x-displayName": "К категориям при интеграции через Product API",
      "description": "Получение рекомендаций по категориям при интеграции через Product API"
    },
    {
      "name": "Search phrase_Personal",
      "x-displayName": "К поисковой фразе",
      "description": "Получение рекомендаций по поисковой фразе"
    },
    {
      "name": "Last added to cart XML_Personal",
      "x-displayName": "К товарам последним добавленным в корзину при интеграции через XML-файл",
      "description": "Получение рекомендаций по товарам последним добавленным в корзину при интеграции через XML-файл"
    },
    {
      "name": "Last added to cart Product API_Personal",
      "x-displayName": "К товарам последним добавленным в корзину при интеграции через Product API",
      "description": "Получение рекомендаций по товарам последним добавленным в корзину при интеграции через Product API"
    },
    {
      "name": "Recommendation interactions",
      "x-displayName": "Взаимодействие с рекомендациями",
      "description": "События взаимодействия с блоками рекомендаций: просмотр блока, клик по товару и добавление товара в корзину из блока."
    }
  ],
  "components": {
    "securitySchemes": {},
    "parameters": {
      "ApiKey": {
        "name": "apiKey",
        "in": "query",
        "description": "Ключ авторизации",
        "required": true,
        "schema": {
          "type": "string",
          "default": "5b333f5697a528b0184b6017"
        }
      },
      "PartnerId": {
        "name": "partnerId",
        "in": "query",
        "description": "Идентификатор интернет-магазина",
        "required": true,
        "schema": {
          "type": "string",
          "default": "59908d02c7d013ce40de715a"
        }
      },
      "LinkName": {
        "name": "link.name",
        "in": "query",
        "description": "Указатель на название сессии посетителя",
        "required": true,
        "schema": {
          "type": "string",
          "default": "session"
        }
      },
      "LinkValue": {
        "name": "link.value",
        "in": "query",
        "description": "Указатель на идентификатор сессии посетителя",
        "required": true,
        "schema": {
          "type": "string",
          "default": "a83642d5-da3b-4831-beed-e4bc182fec17"
        }
      },
      "StockId": {
        "name": "stockId",
        "in": "query",
        "description": "Идентификатор склада/региона",
        "schema": {
          "type": "string"
        }
      },
      "IsProductIdString": {
        "name": "IsProductIdString",
        "in": "query",
        "description": "Флаг, означающий формат используемых идентификаторов, по умолчанию \"false\", если идентификаторы числовые",
        "schema": {
          "type": "boolean",
          "default": false
        }
      },
      "ProductIds": {
        "name": "productIds",
        "in": "query",
        "description": "Список идентификаторов товаров, перечисленных через запятую",
        "required": true,
        "schema": {
          "type": "string",
          "example": "92201,75700"
        }
      },
      "CategoryId": {
        "name": "categoryId",
        "in": "query",
        "description": "Идентификатор категории",
        "required": true,
        "schema": {
          "type": "string",
          "default": "543"
        }
      },
      "CategoryPath": {
        "name": "categoryPath",
        "in": "query",
        "description": "Путь категории",
        "required": true,
        "schema": {
          "type": "string",
          "default": "clothes/skirts"
        }
      },
      "SearchPhrase": {
        "name": "searchPhrase",
        "in": "query",
        "description": "Поисковая фраза",
        "required": true,
        "schema": {
          "type": "string",
          "default": "подгузники"
        }
      },
      "Vendor": {
        "name": "vendor",
        "in": "query",
        "description": "Параметр бренда",
        "required": true,
        "schema": {
          "type": "string",
          "default": "Zanzung"
        }
      },
      "CategoryIdsArray": {
        "name": "categoryIds",
        "in": "query",
        "description": "Список идентификаторов категорий",
        "required": true,
        "schema": {
          "type": "array",
          "items": {
            "type": "integer"
          },
          "default": [
            123,
            534
          ]
        }
      },
      "CategoryPathsArray": {
        "name": "categoryPaths",
        "in": "query",
        "description": "Список путей категорий",
        "required": true,
        "schema": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "default": [
            "clothes/skirts"
          ]
        }
      },
      "link": {
        "type": "object",
        "description": "Указатель на посетителя - пара, состоящая из произвольных строки-ключа и строки-значения (например, ключ — \"сессия пользователя\", значение — \"идентификатор сессии\")",
        "default": {
          "name": "session",
          "value": "1b111eb597a528b654db611e"
        }
      },
      "timestamp": {
        "type": "string",
        "description": "Метка времени вызова",
        "default": "2025-01-15T15:53:00+00:00"
      },
      "productId": {
        "type": [
          "integer",
          "string"
        ],
        "description": "Идентификатор товара",
        "default": 432
      },
      "stockId": {
        "type": "string",
        "description": "Идентификатор склада, к которому принадлежит товар",
        "default": "Москва"
      }
    }
  },
  "security": [
    {}
  ],
  "paths": {
    "/categoryRecommendations/latest": {
      "get": {
        "tags": [
          "Store",
          "Categories XML"
        ],
        "summary": "Новинки в категории",
        "description": "Алгоритм возвращает новинки в категории.\n\n Для запроса новинок по всему магазину в параметр **categoryIds** необходимо передать 0",
        "operationId": "latest",
        "parameters": [
          {
            "$ref": "#/components/parameters/ApiKey"
          },
          {
            "$ref": "#/components/parameters/PartnerId"
          },
          {
            "$ref": "#/components/parameters/LinkName"
          },
          {
            "$ref": "#/components/parameters/LinkValue"
          },
          {
            "$ref": "#/components/parameters/CategoryIdsArray"
          },
          {
            "$ref": "#/components/parameters/StockId"
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"recommendations\": [\n    {\n      \"productId\": 80634097\n    },\n    {\n      \"productId\": 80327289\n    },\n    {\n      \"productId\": 80603966\n    }\n  ]\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "recommendations": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "productId": {
                            "type": "integer",
                            "example": 80634097,
                            "default": 0
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "security": []
      }
    },
    "/categoryRecommendations/latestByCategoryPath": {
      "get": {
        "tags": [
          "Categories Product API"
        ],
        "summary": "Новинки в категории",
        "description": "Алгоритм возвращает новинки в категории.",
        "operationId": "latest-by-category-path",
        "parameters": [
          {
            "$ref": "#/components/parameters/ApiKey"
          },
          {
            "$ref": "#/components/parameters/PartnerId"
          },
          {
            "$ref": "#/components/parameters/LinkName"
          },
          {
            "$ref": "#/components/parameters/LinkValue"
          },
          {
            "$ref": "#/components/parameters/CategoryPathsArray"
          },
          {
            "$ref": "#/components/parameters/StockId"
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"recommendations\": [\n    {\n      \"productId\": 80634097\n    },\n    {\n      \"productId\": 80327289\n    },\n    {\n      \"productId\": 80603966\n    }\n  ]\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "recommendations": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "productId": {
                            "type": "integer",
                            "example": 80634097,
                            "default": 0
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false,
        "security": []
      }
    },
    "/categoryRecommendations/popular": {
      "get": {
        "tags": [
          "Categories XML"
        ],
        "summary": "Популярные товары в категории",
        "description": "Предназначен для показа пользователю самых популярных товаров в рамках категорийной группы. Учитываются товары и пользовательское поведение в рамках конкретной категории и всех ее подкатегорий.",
        "operationId": "category-popular",
        "parameters": [
          {
            "$ref": "#/components/parameters/ApiKey"
          },
          {
            "$ref": "#/components/parameters/PartnerId"
          },
          {
            "$ref": "#/components/parameters/LinkName"
          },
          {
            "$ref": "#/components/parameters/LinkValue"
          },
          {
            "name": "categoryIds",
            "in": "query",
            "description": "Список идентификаторов товарных категорий типа integer, записанных через запятую",
            "required": true,
            "schema": {
              "type": "string",
              "default": "543,345"
            }
          },
          {
            "$ref": "#/components/parameters/StockId"
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"recommendations\": [\n    {\n      \"productId\": 80634097\n    },\n    {\n      \"productId\": 80327289\n    },\n    {\n      \"productId\": 80603966\n    }\n  ]\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "recommendations": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "productId": {
                            "type": "integer",
                            "example": 80634097,
                            "default": 0
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false,
        "security": []
      }
    },
    "/categoryRecommendations/popularByCategoryPath": {
      "get": {
        "tags": [
          "Categories Product API"
        ],
        "summary": "Популярные товары в категории",
        "description": "Предназначен для показа пользователю самых популярных товаров в рамках категорийной группы. Учитываются товары и пользовательское поведение в рамках конкретной категории и всех ее подкатегорий.",
        "operationId": "popular-by-category-path",
        "parameters": [
          {
            "$ref": "#/components/parameters/ApiKey"
          },
          {
            "$ref": "#/components/parameters/PartnerId"
          },
          {
            "$ref": "#/components/parameters/LinkName"
          },
          {
            "$ref": "#/components/parameters/LinkValue"
          },
          {
            "$ref": "#/components/parameters/CategoryPathsArray"
          },
          {
            "$ref": "#/components/parameters/StockId"
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"recommendations\": [\n    {\n      \"productId\": 80634097\n    },\n    {\n      \"productId\": 80327289\n    },\n    {\n      \"productId\": 80603966\n    }\n  ]\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "recommendations": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "productId": {
                            "type": "integer",
                            "example": 80634097,
                            "default": 0
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false,
        "security": []
      }
    },
    "/categoryRecommendations/popularByInterestedProperties": {
      "get": {
        "tags": [
          "Categories xml_Personal"
        ],
        "summary": "Популярные товары в категории с учетом интереса пользователя к свойствам товаров",
        "description": "Алгоритм возвращает популярные товары с учетом интереса пользователя к свойствам товаров.",
        "operationId": "popularbyinterestedproperties",
        "parameters": [
          {
            "$ref": "#/components/parameters/ApiKey"
          },
          {
            "$ref": "#/components/parameters/PartnerId"
          },
          {
            "$ref": "#/components/parameters/LinkName"
          },
          {
            "$ref": "#/components/parameters/LinkValue"
          },
          {
            "$ref": "#/components/parameters/CategoryIdsArray"
          },
          {
            "$ref": "#/components/parameters/StockId"
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"recommendations\": [\n    {\n      \"productId\": 80634097\n    },\n    {\n      \"productId\": 80327289\n    },\n    {\n      \"productId\": 80603966\n    }\n  ]\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "recommendations": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "productId": {
                            "type": "integer",
                            "example": 80634097,
                            "default": 0
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false,
        "security": []
      }
    },
    "/categoryRecommendations/popularByInterestedPropertiesByCategoryPath": {
      "get": {
        "tags": [
          "Categories product API_Personal"
        ],
        "summary": "Популярные товары в категории с учетом интереса пользователя к свойствам товаров",
        "description": "Алгоритм возвращает популярные товары с учетом интереса пользователя к свойствам товаров.",
        "operationId": "popularbyinterestedpropertiesbycategorypath",
        "parameters": [
          {
            "$ref": "#/components/parameters/ApiKey"
          },
          {
            "$ref": "#/components/parameters/PartnerId"
          },
          {
            "$ref": "#/components/parameters/LinkName"
          },
          {
            "$ref": "#/components/parameters/LinkValue"
          },
          {
            "$ref": "#/components/parameters/CategoryPathsArray"
          },
          {
            "$ref": "#/components/parameters/StockId"
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"recommendations\": [\n    {\n      \"productId\": 80634097\n    },\n    {\n      \"productId\": 80327289\n    },\n    {\n      \"productId\": 80603966\n    }\n  ]\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "recommendations": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "productId": {
                            "type": "integer",
                            "example": 80634097,
                            "default": 0
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false,
        "security": []
      }
    },
    "/categoryRecommendations/popularByPreferedSize": {
      "get": {
        "tags": [
          "Categories xml_Personal"
        ],
        "summary": "Популярные товары в категории с учетом размеров пользователей",
        "description": "Алгоритм возвращает популярные товарные позиции из категории с приоритетом товаров, у которых в наличии есть размер, интересующий пользователя.",
        "operationId": "popular-by-prefered-size-xml",
        "parameters": [
          {
            "$ref": "#/components/parameters/ApiKey"
          },
          {
            "$ref": "#/components/parameters/PartnerId"
          },
          {
            "$ref": "#/components/parameters/LinkName"
          },
          {
            "$ref": "#/components/parameters/LinkValue"
          },
          {
            "$ref": "#/components/parameters/CategoryIdsArray"
          },
          {
            "$ref": "#/components/parameters/StockId"
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"recommendations\": [\n    {\n      \"productId\": 80634097\n    },\n    {\n      \"productId\": 80327289\n    },\n    {\n      \"productId\": 80603966\n    }\n  ]\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "recommendations": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "productId": {
                            "type": "integer",
                            "example": 80634097,
                            "default": 0
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false,
        "security": []
      }
    },
    "/categoryRecommendations/popularByPreferedSizeByCategoryPath": {
      "get": {
        "tags": [
          "Categories product API_Personal"
        ],
        "summary": "Популярные товары в категории с учетом размеров пользователей",
        "description": "Алгоритм возвращает популярные товарные позиции из категории с приоритетом товаров, у которых в наличии есть размер, интересующий пользователя.",
        "operationId": "popular-by-prefered-size-onsite",
        "parameters": [
          {
            "$ref": "#/components/parameters/ApiKey"
          },
          {
            "$ref": "#/components/parameters/PartnerId"
          },
          {
            "$ref": "#/components/parameters/LinkName"
          },
          {
            "$ref": "#/components/parameters/LinkValue"
          },
          {
            "$ref": "#/components/parameters/CategoryPathsArray"
          },
          {
            "$ref": "#/components/parameters/StockId"
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"recommendations\": [\n    {\n      \"productId\": 80634097\n    },\n    {\n      \"productId\": 80327289\n    },\n    {\n      \"productId\": 80603966\n    }\n  ]\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "recommendations": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "productId": {
                            "type": "integer",
                            "example": 80634097,
                            "default": 0
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false,
        "security": []
      }
    },
    "/categoryRecommendations/popularByVendor": {
      "get": {
        "tags": [
          "Categories Vendor XML"
        ],
        "summary": "Популярные товары по вендору",
        "description": "Алгоритм возвращает популярные товары по вендору в наборе категорий.",
        "operationId": "popular-by-vendor-category-xml",
        "parameters": [
          {
            "$ref": "#/components/parameters/ApiKey"
          },
          {
            "$ref": "#/components/parameters/PartnerId"
          },
          {
            "$ref": "#/components/parameters/LinkName"
          },
          {
            "$ref": "#/components/parameters/LinkValue"
          },
          {
            "$ref": "#/components/parameters/CategoryIdsArray"
          },
          {
            "$ref": "#/components/parameters/StockId"
          },
          {
            "$ref": "#/components/parameters/Vendor"
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"recommendations\": [\n    {\n      \"productId\": 80634097\n    },\n    {\n      \"productId\": 80327289\n    },\n    {\n      \"productId\": 80603966\n    }\n  ]\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "recommendations": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "productId": {
                            "type": "integer",
                            "example": 80634097,
                            "default": 0
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false,
        "security": []
      }
    },
    "/categoryRecommendations/popularByVendorByCategoryPath": {
      "get": {
        "tags": [
          "Categories Vendor Product API"
        ],
        "summary": "Популярные товары по вендору",
        "description": "Алгоритм возвращает популярные товары по вендору в наборе категорий.",
        "operationId": "popular-by-vendor-category-onsite",
        "parameters": [
          {
            "$ref": "#/components/parameters/ApiKey"
          },
          {
            "$ref": "#/components/parameters/PartnerId"
          },
          {
            "$ref": "#/components/parameters/LinkName"
          },
          {
            "$ref": "#/components/parameters/LinkValue"
          },
          {
            "$ref": "#/components/parameters/CategoryPathsArray"
          },
          {
            "$ref": "#/components/parameters/StockId"
          },
          {
            "$ref": "#/components/parameters/Vendor"
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"recommendations\": [\n    {\n      \"productId\": 80634097\n    },\n    {\n      \"productId\": 80327289\n    },\n    {\n      \"productId\": 80603966\n    }\n  ]\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "recommendations": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "productId": {
                            "type": "integer",
                            "example": 80634097,
                            "default": 0
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false,
        "security": []
      }
    },
    "/categoryRecommendations/saleByLatest": {
      "get": {
        "tags": [
          "Categories XML"
        ],
        "summary": "Новинки со скидками в категории",
        "description": "Алгоритм возвращает новинки по категориям со скидками.",
        "operationId": "sale-by-latest",
        "parameters": [
          {
            "$ref": "#/components/parameters/ApiKey"
          },
          {
            "$ref": "#/components/parameters/PartnerId"
          },
          {
            "$ref": "#/components/parameters/LinkName"
          },
          {
            "$ref": "#/components/parameters/LinkValue"
          },
          {
            "$ref": "#/components/parameters/CategoryIdsArray"
          },
          {
            "$ref": "#/components/parameters/StockId"
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"recommendations\": [\n    {\n      \"productId\": 80634097\n    },\n    {\n      \"productId\": 80327289\n    },\n    {\n      \"productId\": 80603966\n    }\n  ]\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "recommendations": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "productId": {
                            "type": "integer",
                            "example": 80634097,
                            "default": 0
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false,
        "security": []
      }
    },
    "/categoryRecommendations/saleByLatestByCategoryPath": {
      "get": {
        "tags": [
          "Categories Product API"
        ],
        "summary": "Новинки со скидками",
        "description": "Алгоритм возвращает новинки по категориям со скидками.",
        "operationId": "sale-by-latest-by-category-path",
        "parameters": [
          {
            "$ref": "#/components/parameters/ApiKey"
          },
          {
            "$ref": "#/components/parameters/PartnerId"
          },
          {
            "$ref": "#/components/parameters/LinkName"
          },
          {
            "$ref": "#/components/parameters/LinkValue"
          },
          {
            "$ref": "#/components/parameters/CategoryPathsArray"
          },
          {
            "$ref": "#/components/parameters/StockId"
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"recommendations\": [\n    {\n      \"productId\": 80634097\n    },\n    {\n      \"productId\": 80327289\n    },\n    {\n      \"productId\": 80603966\n    }\n  ]\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "recommendations": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "productId": {
                            "type": "integer",
                            "example": 80634097,
                            "default": 0
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false,
        "security": []
      }
    },
    "/categoryRecommendations/saleByLatestVisitorInterest": {
      "get": {
        "tags": [
          "Store_Personal"
        ],
        "summary": "Новинки со скидками из интересных пользователю категорий",
        "description": "Алгоритм возвращает новинки из категорий, интересных пользователю, на которые есть скидка.",
        "operationId": "sale-by-latest-visitor-interest",
        "parameters": [
          {
            "$ref": "#/components/parameters/ApiKey"
          },
          {
            "$ref": "#/components/parameters/PartnerId"
          },
          {
            "$ref": "#/components/parameters/LinkName"
          },
          {
            "$ref": "#/components/parameters/LinkValue"
          },
          {
            "$ref": "#/components/parameters/StockId"
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"recommendations\": [\n    {\n      \"productId\": 80634097\n    },\n    {\n      \"productId\": 80327289\n    },\n    {\n      \"productId\": 80603966\n    }\n  ]\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "recommendations": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "productId": {
                            "type": "integer",
                            "example": 80634097,
                            "default": 0
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false,
        "security": []
      }
    },
    "/categoryRecommendations/saleByPopular": {
      "get": {
        "tags": [
          "Store",
          "Categories XML"
        ],
        "summary": "Популярные товары со скидкой при интеграции через XML-файл",
        "description": "Предназначен для показа пользователю самых популярных товаров с учетом скидки. Учитываются товары со скидкой и пользовательское поведение в рамках всего магазина, конкретной категории или всех ее подкатегорий. \n\n Для запроса рекомендаций по всему магазину, в параметре **categoryIds** необходимо указать значение '0'",
        "operationId": "sale-by-popular",
        "parameters": [
          {
            "$ref": "#/components/parameters/ApiKey"
          },
          {
            "$ref": "#/components/parameters/PartnerId"
          },
          {
            "$ref": "#/components/parameters/LinkName"
          },
          {
            "$ref": "#/components/parameters/LinkValue"
          },
          {
            "$ref": "#/components/parameters/CategoryIdsArray"
          },
          {
            "$ref": "#/components/parameters/StockId"
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"recommendations\": [\n    {\n      \"productId\": 80634097\n    },\n    {\n      \"productId\": 80327289\n    },\n    {\n      \"productId\": 80603966\n    }\n  ]\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "recommendations": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "productId": {
                            "type": "integer",
                            "example": 80634097,
                            "default": 0
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false,
        "security": []
      }
    },
    "/categoryRecommendations/saleByPopularByCategoryPath": {
      "get": {
        "tags": [
          "Store",
          "Categories Product API"
        ],
        "summary": "Популярные товары со скидкой при интеграции через Product API",
        "description": "Предназначен для показа пользователю самых популярных товаров с учетом скидки. Учитываются товары со скидкой и пользовательское поведение в рамках всего магазина, конкретной категории или всех ее подкатегорий. \n\n Для запроса рекомендаций по всему магазину, в параметре **categoryPaths** необходимо указать значение '/'.",
        "operationId": "sale-by-popular-by-category-path",
        "parameters": [
          {
            "$ref": "#/components/parameters/ApiKey"
          },
          {
            "$ref": "#/components/parameters/PartnerId"
          },
          {
            "$ref": "#/components/parameters/LinkName"
          },
          {
            "$ref": "#/components/parameters/LinkValue"
          },
          {
            "$ref": "#/components/parameters/CategoryPathsArray"
          },
          {
            "$ref": "#/components/parameters/StockId"
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"recommendations\": [\n    {\n      \"productId\": 80634097\n    },\n    {\n      \"productId\": 80327289\n    },\n    {\n      \"productId\": 80603966\n    }\n  ]\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "recommendations": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "productId": {
                            "type": "integer",
                            "example": 80634097,
                            "default": 0
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false,
        "security": []
      }
    },
    "/categoryRecommendations/saleByPopularVisitorInterest": {
      "get": {
        "tags": [
          "Store_Personal"
        ],
        "summary": "Популярные товары со скидками из интересных пользователю категорий",
        "description": "Retail Rocket в реальном времени анализирует интересы пользователя и строит связи «пользователь» – «категория». Это позволяет демонстрировать хиты продаж со скидками только из категорий, которые наиболее интересны данному пользователю в долгосрочной перспективе.",
        "operationId": "sale-by-popular-visitor-interests",
        "parameters": [
          {
            "$ref": "#/components/parameters/ApiKey"
          },
          {
            "$ref": "#/components/parameters/PartnerId"
          },
          {
            "$ref": "#/components/parameters/LinkName"
          },
          {
            "$ref": "#/components/parameters/LinkValue"
          },
          {
            "$ref": "#/components/parameters/StockId"
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"recommendations\": [\n    {\n      \"productId\": 80634097\n    },\n    {\n      \"productId\": 80327289\n    },\n    {\n      \"productId\": 80603966\n    }\n  ]\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "recommendations": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "productId": {
                            "type": "integer",
                            "example": 80634097,
                            "default": 0
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false,
        "security": []
      }
    },
    "/categoryRecommendations/sortByPopularInCategory/": {
      "get": {
        "tags": [
          "Categories XML"
        ],
        "summary": "Сортировка товаров по популярности на экране товарной категории",
        "x-internal": true,
        "description": "Предназначен для сортировки списка предоставленных товаров из одной категории по популярности.\n🚧 Алгоритм всегда возвращает те товары, что в него передали. Если нет рекомендаций, результатом будет исходная последовательность\n🚧 Алгоритм не учитывает наличие/отсутствие товаров",
        "operationId": "sort-by-popular-in-category",
        "parameters": [
          {
            "$ref": "#/components/parameters/ApiKey"
          },
          {
            "$ref": "#/components/parameters/PartnerId"
          },
          {
            "$ref": "#/components/parameters/CategoryId"
          },
          {
            "$ref": "#/components/parameters/ProductIds"
          },
          {
            "$ref": "#/components/parameters/StockId"
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"recommendations\": [\n    {\n      \"productId\": 80634097\n    },\n    {\n      \"productId\": 80327289\n    },\n    {\n      \"productId\": 80603966\n    }\n  ]\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "recommendations": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "productId": {
                            "type": "integer",
                            "example": 80634097,
                            "default": 0
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false,
        "security": []
      }
    },
    "/categoryRecommendations/sortByPopularInCategoryByCategoryPath": {
      "get": {
        "tags": [
          "Categories Product API"
        ],
        "summary": "Сортировка товаров по популярности на экране товарной категории",
        "description": "Предназначен для сортировки списка предоставленных товаров из одной категории по популярности.\n🚧 Алгоритм всегда возвращает те товары, что в него передали. Если нет рекомендаций, результатом будет исходная последовательность\n🚧 Алгоритм не учитывает наличие/отсутствие товаров",
        "operationId": "sort-by-popular-in-category-by-category-path",
        "x-internal": true,
        "parameters": [
          {
            "$ref": "#/components/parameters/ApiKey"
          },
          {
            "$ref": "#/components/parameters/PartnerId"
          },
          {
            "$ref": "#/components/parameters/CategoryPath"
          },
          {
            "$ref": "#/components/parameters/ProductIds"
          },
          {
            "$ref": "#/components/parameters/StockId"
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"recommendations\": [\n    {\n      \"productId\": 80634097\n    },\n    {\n      \"productId\": 80327289\n    },\n    {\n      \"productId\": 80603966\n    }\n  ]\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "recommendations": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "productId": {
                            "type": "integer",
                            "example": 80634097,
                            "default": 0
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false,
        "security": []
      }
    },
    "/categoryRecommendations/sortItemsInCategory": {
      "get": {
        "tags": [
          "Categories XML"
        ],
        "summary": "Получение товаров из категории, отсортированных по популярности",
        "description": "Алгоритм возвращает отсортированные по популярности товары в категории. Может возвращать до 2000 товаров.",
        "operationId": "sort-items-in-category",
        "parameters": [
          {
            "$ref": "#/components/parameters/ApiKey"
          },
          {
            "$ref": "#/components/parameters/PartnerId"
          },
          {
            "$ref": "#/components/parameters/CategoryId"
          },
          {
            "$ref": "#/components/parameters/StockId"
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"recommendations\": [\n    {\n      \"productId\": 186\n    },\n    {\n      \"productId\": 155\n    },\n    {\n      \"productId\": 144\n    },\n    {\n      \"productId\": 164\n    },\n    {\n      \"productId\": 189\n    }\n  ]\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "recommendations": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "productId": {
                            "type": "integer",
                            "example": 186,
                            "default": 0
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false,
        "security": []
      }
    },
    "/categoryRecommendations/sortItemsInCategoryByCategoryPath": {
      "get": {
        "tags": [
          "Categories Product API"
        ],
        "summary": "Получение товаров из категории, отсортированных по популярности",
        "description": "Алгоритм возвращает отсортированные по популярности товары в категории. Может возвращать до 2000 товаров.",
        "operationId": "sort-items-in-category-by-categorypath",
        "parameters": [
          {
            "$ref": "#/components/parameters/ApiKey"
          },
          {
            "$ref": "#/components/parameters/PartnerId"
          },
          {
            "$ref": "#/components/parameters/CategoryPath"
          },
          {
            "$ref": "#/components/parameters/StockId"
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"recommendations\": [\n    {\n      \"productId\": 186\n    },\n    {\n      \"productId\": 155\n    },\n    {\n      \"productId\": 144\n    },\n    {\n      \"productId\": 164\n    },\n    {\n      \"productId\": 189\n    }\n  ]\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "recommendations": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "productId": {
                            "type": "integer",
                            "example": 186,
                            "default": 0
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false,
        "security": []
      }
    },
    "/partnerRecommendations/interestedCategories": {
      "get": {
        "tags": [
          "Store_Personal"
        ],
        "summary": "Категории, интересные посетителю",
        "description": "Алгоритм возвращает список категорий, к которым посетитель проявлял наибольший интерес.",
        "operationId": "interested-categories",
        "parameters": [
          {
            "$ref": "#/components/parameters/ApiKey"
          },
          {
            "$ref": "#/components/parameters/PartnerId"
          },
          {
            "$ref": "#/components/parameters/LinkName"
          },
          {
            "$ref": "#/components/parameters/LinkValue"
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n    \"categoryIds\":\n    [\n        {\n            \"categoryId\": 234\n        }\n    ]\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "categoryIds": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "categoryId": {
                            "type": "integer",
                            "example": 234,
                            "default": 0
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false,
        "security": []
      }
    },
    "/partnerRecommendations/latestInInterestedCategories": {
      "get": {
        "tags": [
          "Store_Personal"
        ],
        "summary": "Новинки из интересных пользователю категорий",
        "description": "Алгоритм возвращает новинки из категорий, интересных пользователю.",
        "operationId": "latest-in-interested-categories",
        "parameters": [
          {
            "$ref": "#/components/parameters/ApiKey"
          },
          {
            "$ref": "#/components/parameters/PartnerId"
          },
          {
            "$ref": "#/components/parameters/LinkName"
          },
          {
            "$ref": "#/components/parameters/LinkValue"
          },
          {
            "$ref": "#/components/parameters/StockId"
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"recommendations\": [\n    {\n      \"productId\": 80634097\n    },\n    {\n      \"productId\": 80327289\n    },\n    {\n      \"productId\": 80603966\n    }\n  ]\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "recommendations": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "productId": {
                            "type": "integer",
                            "example": 80634097,
                            "default": 0
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false,
        "security": []
      }
    },
    "/partnerRecommendations/personalComposite": {
      "get": {
        "tags": [
          "Store_Personal"
        ],
        "summary": "Персональные рекомендации",
        "description": "Алгоритм персональных рекомендаций возвращает наиболее интересные товары для пользователя.",
        "operationId": "personal",
        "parameters": [
          {
            "$ref": "#/components/parameters/ApiKey"
          },
          {
            "$ref": "#/components/parameters/PartnerId"
          },
          {
            "$ref": "#/components/parameters/LinkName"
          },
          {
            "$ref": "#/components/parameters/LinkValue"
          },
          {
            "$ref": "#/components/parameters/StockId"
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"recommendations\": [\n    {\n      \"productId\": 80634097\n    },\n    {\n      \"productId\": 80327289\n    },\n    {\n      \"productId\": 80603966\n    }\n  ]\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "recommendations": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "productId": {
                            "type": "integer",
                            "example": 80634097,
                            "default": 0
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false,
        "security": []
      }
    },
    "/partnerRecommendations/personalCompositeForCategory": {
      "get": {
        "tags": [
          "Categories xml_Personal"
        ],
        "summary": "Персональные рекомендации в категории",
        "description": "Алгоритм персональных рекомендаций возвращает наиболее интересные товары для пользователя в наборе категорий",
        "operationId": "composite-for-category-xml",
        "parameters": [
          {
            "$ref": "#/components/parameters/ApiKey"
          },
          {
            "$ref": "#/components/parameters/PartnerId"
          },
          {
            "$ref": "#/components/parameters/LinkName"
          },
          {
            "$ref": "#/components/parameters/LinkValue"
          },
          {
            "name": "categoryIds",
            "in": "query",
            "description": "Список идентификаторов товарных категорий, записанных через запятую",
            "required": true,
            "schema": {
              "type": "string",
              "default": "123"
            }
          },
          {
            "$ref": "#/components/parameters/StockId"
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"recommendations\": [\n    {\n      \"productId\": 80634097\n    },\n    {\n      \"productId\": 80327289\n    },\n    {\n      \"productId\": 80603966\n    }\n  ]\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "recommendations": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "productId": {
                            "type": "integer",
                            "example": 80634097,
                            "default": 0
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false,
        "security": []
      }
    },
    "/partnerRecommendations/personalCompositeForCategoryByCategoryPath": {
      "get": {
        "tags": [
          "Categories product API_Personal"
        ],
        "summary": "Персональные рекомендации в категории",
        "description": "Алгоритм персональных рекомендаций возвращает наиболее интересные товары для пользователя в наборе категорий",
        "operationId": "composite-for-category-product-api",
        "parameters": [
          {
            "$ref": "#/components/parameters/ApiKey"
          },
          {
            "$ref": "#/components/parameters/PartnerId"
          },
          {
            "$ref": "#/components/parameters/LinkName"
          },
          {
            "$ref": "#/components/parameters/LinkValue"
          },
          {
            "name": "categoryPaths",
            "in": "query",
            "description": "Список путей товарных категорий, записанных как несколько параметров через &",
            "required": true,
            "schema": {
              "type": "string",
              "default": "Одежда/Женщины"
            }
          },
          {
            "$ref": "#/components/parameters/StockId"
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"recommendations\": [\n    {\n      \"productId\": 80634097\n    },\n    {\n      \"productId\": 80327289\n    },\n    {\n      \"productId\": 80603966\n    }\n  ]\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "recommendations": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "productId": {
                            "type": "integer",
                            "example": 80634097,
                            "default": 0
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false,
        "security": []
      }
    },
    "/partnerRecommendations/personalCompositeForCategoryOrPopular": {
      "get": {
        "tags": [
          "Categories xml_Personal",
          "Store_Personal"
        ],
        "summary": "Персональные рекомендации в категории с дополнением из популярных товаров",
        "description": "Возвращает наиболее интересные товары для пользователя в наборе категорий так же, как это делает алгоритм персональных рекомендаций в категории, но в случае, если сведений о пользователе недостаточно для построения персональных рекомендаций, возвращает популярные товары так, как это делает алгоритм популярные товары в категории.\n\nЧтобы запросить рекомендации по всему магазину в разделе персональных алгоритмов, передайте `categoryIds=0`.",
        "operationId": "personal-composite-for-category-or-popular-xml",
        "parameters": [
          {
            "$ref": "#/components/parameters/ApiKey"
          },
          {
            "$ref": "#/components/parameters/PartnerId"
          },
          {
            "$ref": "#/components/parameters/LinkName"
          },
          {
            "$ref": "#/components/parameters/LinkValue"
          },
          {
            "name": "categoryIds",
            "in": "query",
            "description": "Список идентификаторов товарных категорий, записанных через запятую. Для запроса по всему магазину передайте `0`.",
            "required": true,
            "schema": {
              "type": "string",
              "default": "123,456"
            },
            "examples": {
              "categoryIds": {
                "summary": "По категориям",
                "value": "123,456"
              },
              "wholeStore": {
                "summary": "По всему магазину",
                "value": "0"
              }
            }
          },
          {
            "$ref": "#/components/parameters/StockId"
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"recommendations\": [\n    {\n      \"productId\": 80634097\n    },\n    {\n      \"productId\": 80327289\n    },\n    {\n      \"productId\": 80603966\n    }\n  ]\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "recommendations": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "productId": {
                            "type": "integer",
                            "example": 80634097,
                            "default": 0
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false,
        "security": []
      }
    },
    "/partnerRecommendations/personalCompositeForCategoryOrPopularByCategoryPath": {
      "get": {
        "tags": [
          "Categories product API_Personal"
        ],
        "summary": "Персональные рекомендации в категории с дополнением из популярных товаров",
        "description": "Возвращает наиболее интересные товары для пользователя в наборе категорий так же, как это делает алгоритм персональных рекомендаций в категории, но в случае, если сведений о пользователе недостаточно для построения персональных рекомендаций, возвращает популярные товары так, как это делает алгоритм популярные товары в категории.",
        "operationId": "personal-composite-for-category-or-popular-by-path",
        "parameters": [
          {
            "$ref": "#/components/parameters/ApiKey"
          },
          {
            "$ref": "#/components/parameters/PartnerId"
          },
          {
            "$ref": "#/components/parameters/LinkName"
          },
          {
            "$ref": "#/components/parameters/LinkValue"
          },
          {
            "name": "categoryPaths",
            "in": "query",
            "description": "Список путей товарных категорий, записанных как несколько параметров через &",
            "required": true,
            "schema": {
              "type": "string",
              "default": "Одежда/Женщины"
            }
          },
          {
            "$ref": "#/components/parameters/StockId"
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"recommendations\": [\n    {\n      \"productId\": 80634097\n    },\n    {\n      \"productId\": 80327289\n    },\n    {\n      \"productId\": 80603966\n    }\n  ]\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "recommendations": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "productId": {
                            "type": "integer",
                            "example": 80634097,
                            "default": 0
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false,
        "security": []
      }
    },
    "/partnerRecommendations/personalOrdered": {
      "get": {
        "tags": [
          "Store_Personal"
        ],
        "summary": "Ранее купленные пользователем товары",
        "description": "Алгоритм возвращает ранее заказанные пользователем товары.",
        "operationId": "personal-ordered",
        "parameters": [
          {
            "$ref": "#/components/parameters/ApiKey"
          },
          {
            "$ref": "#/components/parameters/PartnerId"
          },
          {
            "$ref": "#/components/parameters/LinkName"
          },
          {
            "$ref": "#/components/parameters/LinkValue"
          },
          {
            "$ref": "#/components/parameters/StockId"
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"recommendations\": [\n    {\n      \"productId\": 80634097\n    },\n    {\n      \"productId\": 80327289\n    },\n    {\n      \"productId\": 80603966\n    }\n  ]\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "recommendations": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "productId": {
                            "type": "integer",
                            "example": 80634097,
                            "default": 0
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false,
        "security": []
      }
    },
    "/partnerRecommendations/personalViewed": {
      "get": {
        "tags": [
          "Store_Personal"
        ],
        "summary": "Ранее просмотренные пользователем товары",
        "description": "Алгоритм возвращает просмотренные пользователем товары.",
        "operationId": "personal-viewed",
        "parameters": [
          {
            "$ref": "#/components/parameters/ApiKey"
          },
          {
            "$ref": "#/components/parameters/PartnerId"
          },
          {
            "$ref": "#/components/parameters/LinkName"
          },
          {
            "$ref": "#/components/parameters/LinkValue"
          },
          {
            "$ref": "#/components/parameters/StockId"
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"recommendations\": [\n    {\n      \"productId\": 80634097\n    },\n    {\n      \"productId\": 80327289\n    },\n    {\n      \"productId\": 80603966\n    }\n  ]\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "recommendations": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "productId": {
                            "type": "integer",
                            "example": 80634097,
                            "default": 0
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false,
        "security": []
      }
    },
    "/partnerRecommendations/popular": {
      "get": {
        "tags": [
          "Store"
        ],
        "summary": "Популярные товары",
        "description": "Рассчитаны на основании поведения пользователя во всем интернет-магазине, без привязки к конкретным категориям, товарам, поисковым фразам т.д. \nПредставляют из себя актуальные бестселлеры магазина.",
        "operationId": "popular",
        "parameters": [
          {
            "$ref": "#/components/parameters/ApiKey"
          },
          {
            "$ref": "#/components/parameters/PartnerId"
          },
          {
            "$ref": "#/components/parameters/LinkName"
          },
          {
            "$ref": "#/components/parameters/LinkValue"
          },
          {
            "$ref": "#/components/parameters/StockId"
          },
          {
            "$ref": "#/components/parameters/IsProductIdString"
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"recommendations\": [\n    {\n      \"productId\": 80634097\n    },\n    {\n      \"productId\": 80327289\n    },\n    {\n      \"productId\": 80603966\n    }\n  ]\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "recommendations": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "productId": {
                            "type": "integer",
                            "example": 80634097,
                            "default": 0
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false,
        "security": []
      }
    },
    "/partnerRecommendations/popularByVendor": {
      "get": {
        "tags": [
          "Vendor"
        ],
        "summary": "Популярные товары по вендору",
        "description": "Алгоритм возвращает популярные товары магазина определенного вендора.",
        "operationId": "popular-by-vendor",
        "parameters": [
          {
            "$ref": "#/components/parameters/ApiKey"
          },
          {
            "$ref": "#/components/parameters/PartnerId"
          },
          {
            "$ref": "#/components/parameters/LinkName"
          },
          {
            "$ref": "#/components/parameters/LinkValue"
          },
          {
            "$ref": "#/components/parameters/StockId"
          },
          {
            "$ref": "#/components/parameters/Vendor"
          },
          {
            "$ref": "#/components/parameters/IsProductIdString"
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"recommendations\": [\n    {\n      \"productId\": 80634097\n    },\n    {\n      \"productId\": 80327289\n    },\n    {\n      \"productId\": 80603966\n    }\n  ]\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "recommendations": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "productId": {
                            "type": "integer",
                            "example": 80634097,
                            "default": 0
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false,
        "security": []
      }
    },
    "/partnerRecommendations/popularInInterestedCategories": {
      "get": {
        "tags": [
          "Store_Personal"
        ],
        "summary": "Популярные товары из интересных пользователю категорий",
        "description": "Retail Rocket в реальном времени анализирует интересы пользователя и строит связи «пользователь» – «категория». Это позволяет демонстрировать хиты продаж только из категорий, которые наиболее интересны данному пользователю в долгосрочной перспективе.",
        "operationId": "popular-in-interested-categories",
        "parameters": [
          {
            "$ref": "#/components/parameters/ApiKey"
          },
          {
            "$ref": "#/components/parameters/PartnerId"
          },
          {
            "$ref": "#/components/parameters/LinkName"
          },
          {
            "$ref": "#/components/parameters/LinkValue"
          },
          {
            "$ref": "#/components/parameters/StockId"
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"recommendations\": [\n    {\n      \"productId\": 80634097\n    },\n    {\n      \"productId\": 80327289\n    },\n    {\n      \"productId\": 80603966\n    }\n  ]\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "recommendations": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "productId": {
                            "type": "integer",
                            "example": 80634097,
                            "default": 0
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false,
        "security": []
      }
    },
    "/partnerRecommendations/relatedCategories/": {
      "get": {
        "tags": [
          "Categories XML"
        ],
        "summary": "Сопутствующие категории",
        "description": "Алгоритм возвращает сопутствующие категории к заданной категории.",
        "operationId": "related-categories",
        "parameters": [
          {
            "$ref": "#/components/parameters/ApiKey"
          },
          {
            "$ref": "#/components/parameters/PartnerId"
          },
          {
            "$ref": "#/components/parameters/CategoryId"
          },
          {
            "$ref": "#/components/parameters/StockId"
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"categoryIds\": [\n    {\n      \"categoryId\": 1021\n    },\n    {\n      \"categoryId\": 1023\n    },\n    {\n      \"categoryId\": 1024\n    },\n    {\n      \"categoryId\": 1025\n    },\n    {\n      \"categoryId\": 1026\n    },\n    {\n      \"categoryId\": 1027\n    },\n    {\n      \"categoryId\": 1029\n    },\n    {\n      \"categoryId\": 1108\n    },\n    {\n      \"categoryId\": 1109\n    },\n    {\n      \"categoryId\": 1112\n    },\n    {\n      \"categoryId\": 1114\n    },\n    {\n      \"categoryId\": 1117\n    },\n    {\n      \"categoryId\": 1119\n    },\n    {\n      \"categoryId\": 1126\n    },\n    {\n      \"categoryId\": 1193\n    },\n    {\n      \"categoryId\": 1196\n    },\n    {\n      \"categoryId\": 1215\n    },\n    {\n      \"categoryId\": 3373\n    },\n    {\n      \"categoryId\": 3491\n    },\n    {\n      \"categoryId\": 3756\n    }\n  ]\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "categoryIds": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "categoryId": {
                            "type": "integer",
                            "example": 1021,
                            "default": 0
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": ""
                  }
                }
              }
            }
          }
        },
        "deprecated": false,
        "security": []
      }
    },
    "/partnerRecommendations/relatedCategoriesByCategoryPath/": {
      "get": {
        "tags": [
          "Categories Product API"
        ],
        "summary": "Сопутствующие категории",
        "description": "Алгоритм возвращает сопутствующие категории к заданной категории.",
        "operationId": "related-categories-by-categorypath",
        "parameters": [
          {
            "$ref": "#/components/parameters/ApiKey"
          },
          {
            "$ref": "#/components/parameters/PartnerId"
          },
          {
            "$ref": "#/components/parameters/CategoryPath"
          },
          {
            "$ref": "#/components/parameters/StockId"
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"categoryIds\": [\n    {\n      \"categoryId\": 1021\n    },\n    {\n      \"categoryId\": 1023\n    },\n    {\n      \"categoryId\": 1024\n    },\n    {\n      \"categoryId\": 1025\n    },\n    {\n      \"categoryId\": 1026\n    },\n    {\n      \"categoryId\": 1027\n    },\n    {\n      \"categoryId\": 1029\n    },\n    {\n      \"categoryId\": 1108\n    },\n    {\n      \"categoryId\": 1109\n    },\n    {\n      \"categoryId\": 1112\n    },\n    {\n      \"categoryId\": 1114\n    },\n    {\n      \"categoryId\": 1117\n    },\n    {\n      \"categoryId\": 1119\n    },\n    {\n      \"categoryId\": 1126\n    },\n    {\n      \"categoryId\": 1193\n    },\n    {\n      \"categoryId\": 1196\n    },\n    {\n      \"categoryId\": 1215\n    },\n    {\n      \"categoryId\": 3373\n    },\n    {\n      \"categoryId\": 3491\n    },\n    {\n      \"categoryId\": 3756\n    }\n  ]\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "categoryIds": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "categoryId": {
                            "type": "integer",
                            "example": 1021,
                            "default": 0
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false,
        "security": []
      }
    },
    "/partnerRecommendations/sortCategoriesByProbabilities": {
      "post": {
        "tags": [
          "Categories xml_Personal"
        ],
        "summary": "Сортировка категорий по интересам посетителей",
        "description": "Алгоритм по интересам посетителей сортирует категории товаров и возвращает отсортированный список вероятностей совершения покупки товаров из указанных категорий.",
        "operationId": "sortcategoriesbyprobabilities",
        "parameters": [
          {
            "$ref": "#/components/parameters/ApiKey"
          },
          {
            "$ref": "#/components/parameters/PartnerId"
          },
          {
            "$ref": "#/components/parameters/LinkName"
          },
          {
            "$ref": "#/components/parameters/LinkValue"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "categoryIds"
                ],
                "properties": {
                  "categoryIds": {
                    "type": "array",
                    "description": "Массив идентификаторов категории",
                    "default": [
                      543,
                      345
                    ],
                    "items": {
                      "type": "integer",
                      "format": "int64"
                    }
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n    \"categoryIdProbabilities\":\n    [\n        {\n            \"categoryId\": 234, // number, id of category\n            \"probability\": 0.9 // number, probability for category\n        }\n    ]\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "categoryIdProbabilities": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "categoryId": {
                            "type": "integer",
                            "example": 234,
                            "default": 0
                          },
                          "probability": {
                            "type": "number",
                            "example": 0.9,
                            "default": 0
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false,
        "security": []
      }
    },
    "/partnerRecommendations/sortCategoriesByProbabilitiesByCategoryPath": {
      "post": {
        "tags": [
          "Categories product API_Personal"
        ],
        "summary": "Сортировка категорий по интересам посетителей",
        "description": "Алгоритм по интересам посетителей сортирует категории товаров и возвращает отсортированный список вероятностей совершения покупки товаров из указанных категорий.",
        "operationId": "sortcategoriesbyprobabilitiesbycategorypath",
        "parameters": [
          {
            "$ref": "#/components/parameters/ApiKey"
          },
          {
            "$ref": "#/components/parameters/PartnerId"
          },
          {
            "name": "link",
            "in": "query",
            "description": "Указатель на посетителя - пара, состоящая из произвольных строки-ключа и строки-значения (например, ключ — \"сессия пользователя\", значение — \"идентификатор сессии\"), или [другой идентификатор](https://docs.retailrocket.ru/reference/session-management)",
            "required": true,
            "schema": {
              "type": "string",
              "format": "json",
              "default": "session,a83642d5-da3b-4831-beed-e4bc182fec17"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "categoryPaths"
                ],
                "properties": {
                  "categoryPaths": {
                    "type": "array",
                    "description": "Массив путей категории",
                    "default": [
                      "Женщины/Юбки",
                      "Мужчины/Обувь"
                    ],
                    "items": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n    \"categoryPathProbabilities\":\n    [{\n            \"categoryPath\": \"Женщины/Обувь\", // number, id of category\n            \"probability\": 0.9 // number, probability for category\n        }\n    ]\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "categoryPathProbabilities": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "categoryPath": {
                            "type": "string",
                            "example": "Женщины/Обувь"
                          },
                          "probability": {
                            "type": "number",
                            "example": 0.9,
                            "default": 0
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false,
        "security": []
      }
    },
    "/productRecommendations/accessories": {
      "get": {
        "tags": [
          "Products"
        ],
        "summary": "Аксессуары",
        "description": "Предназначен для показа товаров из аксессуарных категорий, которые приобретаются совместно с товаром или товарами, к которым запрашиваются рекомендации. Рекомендации рассчитываются на основании поведения других пользователей и учитывают параметры товаров и настройки бизнес-правил в личном кабинете Retail Rocket.",
        "operationId": "accesories",
        "parameters": [
          {
            "$ref": "#/components/parameters/ApiKey"
          },
          {
            "$ref": "#/components/parameters/PartnerId"
          },
          {
            "$ref": "#/components/parameters/LinkName"
          },
          {
            "$ref": "#/components/parameters/LinkValue"
          },
          {
            "$ref": "#/components/parameters/ProductIds"
          },
          {
            "$ref": "#/components/parameters/StockId"
          },
          {
            "name": "isProductIdString",
            "in": "query",
            "description": "Флаг, означающий формат используемых идентификаторов, по умолчанию \"false\", если идентификаторы числовые",
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"recommendations\": [\n    {\n      \"productId\": 80634097\n    },\n    {\n      \"productId\": 80327289\n    },\n    {\n      \"productId\": 80603966\n    }\n  ]\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "recommendations": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "productId": {
                            "type": "integer",
                            "example": 80634097,
                            "default": 0
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false,
        "security": []
      }
    },
    "/productRecommendations/accessoriesByInterestedProperties": {
      "get": {
        "tags": [
          "Products_Personal"
        ],
        "summary": "Аксессуары с учетом интереса пользователя к свойствам товаров",
        "description": "Алгоритм возвращает сопутствующие товарные позиции, подобранные с учетом интереса пользователя к параметрам товаров, из числа аксессуаров, которые с максимальной вероятностью могут быть куплены вместе с товаром, который пользователь просматривает или который содержится в его корзине.",
        "operationId": "accessories-by-interested-properties",
        "parameters": [
          {
            "$ref": "#/components/parameters/ApiKey"
          },
          {
            "$ref": "#/components/parameters/PartnerId"
          },
          {
            "$ref": "#/components/parameters/LinkName"
          },
          {
            "$ref": "#/components/parameters/LinkValue"
          },
          {
            "$ref": "#/components/parameters/ProductIds"
          },
          {
            "$ref": "#/components/parameters/StockId"
          },
          {
            "name": "isProductIdString",
            "in": "query",
            "description": "Флаг, означающий формат используемых идентификаторов, по умолчанию \"false\", если идентификаторы числовые",
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"recommendations\": [\n    {\n      \"productId\": 80634097\n    },\n    {\n      \"productId\": 80327289\n    },\n    {\n      \"productId\": 80603966\n    }\n  ]\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "recommendations": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "productId": {
                            "type": "integer",
                            "example": 80634097,
                            "default": 0
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false,
        "security": []
      }
    },
    "/productRecommendations/alternatives": {
      "get": {
        "tags": [
          "Products"
        ],
        "summary": "Альтернативные товары",
        "description": "Предназначен для показа товаров, наиболее похожих на просматриваемый пользователем товар. Рекомендации рассчитываются на основе поведения других пользователей и учитывают параметры товаров и настройки бизнес-правил в личном кабинете Retail Rocket.",
        "operationId": "alternatives",
        "parameters": [
          {
            "$ref": "#/components/parameters/ApiKey"
          },
          {
            "$ref": "#/components/parameters/PartnerId"
          },
          {
            "$ref": "#/components/parameters/LinkName"
          },
          {
            "$ref": "#/components/parameters/LinkValue"
          },
          {
            "$ref": "#/components/parameters/ProductIds"
          },
          {
            "$ref": "#/components/parameters/StockId"
          },
          {
            "name": "isProductIdString",
            "in": "query",
            "description": "Флаг, означающий формат используемых идентификаторов, по умолчанию \"false\", если идентификаторы числовые",
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"recommendations\": [\n    {\n      \"productId\": 80634097\n    },\n    {\n      \"productId\": 80327289\n    },\n    {\n      \"productId\": 80603966\n    }\n  ]\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "recommendations": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "productId": {
                            "type": "integer",
                            "example": 80634097,
                            "default": 0
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false,
        "security": []
      }
    },
    "/productRecommendations/alternativesByInterestedProperties": {
      "get": {
        "tags": [
          "Products_Personal"
        ],
        "summary": "Альтернативные товары с учетом интереса пользователя к свойствам товаров",
        "description": "Алгоритм возвращает похожие товарные позиции, с учетом интереса пользователя к свойствам товаров.",
        "operationId": "alternative-by-interersted-properties",
        "parameters": [
          {
            "$ref": "#/components/parameters/ApiKey"
          },
          {
            "$ref": "#/components/parameters/PartnerId"
          },
          {
            "$ref": "#/components/parameters/LinkName"
          },
          {
            "$ref": "#/components/parameters/LinkValue"
          },
          {
            "$ref": "#/components/parameters/ProductIds"
          },
          {
            "$ref": "#/components/parameters/StockId"
          },
          {
            "name": "isProductIdString",
            "in": "query",
            "description": "Флаг, означающий формат используемых идентификаторов, по умолчанию \"false\", если идентификаторы числовые",
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"recommendations\": [\n    {\n      \"productId\": 80634097\n    },\n    {\n      \"productId\": 80327289\n    },\n    {\n      \"productId\": 80603966\n    }\n  ]\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "recommendations": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "productId": {
                            "type": "integer",
                            "example": 80634097,
                            "default": 0
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false,
        "security": []
      }
    },
    "/productRecommendations/alternativesByMarginality": {
      "get": {
        "tags": [
          "Products"
        ],
        "summary": "Альтернативные товары, оптимизированные по маржинальности",
        "description": "Алгоритм возвращает похожие товарные позиции, оптимизированные по маржинальности.",
        "operationId": "alternatives-by-marginality",
        "parameters": [
          {
            "$ref": "#/components/parameters/ApiKey"
          },
          {
            "$ref": "#/components/parameters/PartnerId"
          },
          {
            "$ref": "#/components/parameters/LinkName"
          },
          {
            "$ref": "#/components/parameters/LinkValue"
          },
          {
            "$ref": "#/components/parameters/ProductIds"
          },
          {
            "$ref": "#/components/parameters/StockId"
          },
          {
            "name": "isProductIdString",
            "in": "query",
            "description": "Флаг, означающий формат используемых идентификаторов, по умолчанию \"false\", если идентификаторы числовые",
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"recommendations\": [\n    {\n      \"productId\": 80634097\n    },\n    {\n      \"productId\": 80327289\n    },\n    {\n      \"productId\": 80603966\n    }\n  ]\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "recommendations": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "productId": {
                            "type": "integer",
                            "example": 80634097,
                            "default": 0
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false,
        "security": []
      }
    },
    "/productRecommendations/alternativesByPreferedSize": {
      "get": {
        "tags": [
          "Products_Personal"
        ],
        "summary": "Альтернативные товары с учетом размеров",
        "description": "Алгоритм возвращает похожие товарные позиции с приоритетом товаров, у которых в наличии есть размер, интересующий пользователя",
        "operationId": "alternatives-by-prefered-size",
        "parameters": [
          {
            "$ref": "#/components/parameters/ApiKey"
          },
          {
            "$ref": "#/components/parameters/PartnerId"
          },
          {
            "$ref": "#/components/parameters/LinkName"
          },
          {
            "$ref": "#/components/parameters/LinkValue"
          },
          {
            "$ref": "#/components/parameters/ProductIds"
          },
          {
            "$ref": "#/components/parameters/StockId"
          },
          {
            "name": "isProductIdString",
            "in": "query",
            "description": "Флаг, означающий формат используемых идентификаторов, по умолчанию \"false\", если идентификаторы числовые",
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"recommendations\": [\n    {\n      \"productId\": 80634097\n    },\n    {\n      \"productId\": 80327289\n    },\n    {\n      \"productId\": 80603966\n    }\n  ]\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "recommendations": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "productId": {
                            "type": "integer",
                            "example": 80634097,
                            "default": 0
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false,
        "security": []
      }
    },
    "/productRecommendations/alternativesByRpv": {
      "get": {
        "tags": [
          "Products"
        ],
        "summary": "Альтернативные товары, оптимизированные по RPV",
        "description": "Алгоритм возвращает похожие товарные позиции, оптимизированные по RPV",
        "operationId": "alternatives-by-rpv",
        "parameters": [
          {
            "$ref": "#/components/parameters/ApiKey"
          },
          {
            "$ref": "#/components/parameters/PartnerId"
          },
          {
            "$ref": "#/components/parameters/LinkName"
          },
          {
            "$ref": "#/components/parameters/LinkValue"
          },
          {
            "$ref": "#/components/parameters/ProductIds"
          },
          {
            "$ref": "#/components/parameters/StockId"
          },
          {
            "name": "isProductIdString",
            "in": "query",
            "description": "Флаг, означающий формат используемых идентификаторов, по умолчанию \"false\", если идентификаторы числовые",
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"recommendations\": [\n    {\n      \"productId\": 80634097\n    },\n    {\n      \"productId\": 80327289\n    },\n    {\n      \"productId\": 80603966\n    }\n  ]\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "recommendations": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "productId": {
                            "type": "integer",
                            "example": 80634097,
                            "default": 0
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false,
        "security": []
      }
    },
    "/productRecommendations/analogsForOutOfStockProducts": {
      "get": {
        "tags": [
          "Products"
        ],
        "summary": "Аналоги к отсутствующим товарам",
        "description": "Алгоритм возвращает аналоги к отсутствующим товарам.\n\nАлгоритм отличается от альтернатив тем, что товары для рекомендаций подбираются максимально похожими по свойствам на исходный товар, в то время как альтернативы показывают схожие товары, используя в первую очередь для расчета поведенческие события.",
        "operationId": "analogsforoutofstockproducts",
        "parameters": [
          {
            "$ref": "#/components/parameters/ApiKey"
          },
          {
            "$ref": "#/components/parameters/PartnerId"
          },
          {
            "$ref": "#/components/parameters/LinkName"
          },
          {
            "$ref": "#/components/parameters/LinkValue"
          },
          {
            "$ref": "#/components/parameters/ProductIds"
          },
          {
            "$ref": "#/components/parameters/StockId"
          },
          {
            "name": "isProductIdString",
            "in": "query",
            "description": "Флаг, означающий формат используемых идентификаторов, по умолчанию \"false\", если идентификаторы числовые",
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"recommendations\": [\n    {\n      \"productId\": 80634097\n    },\n    {\n      \"productId\": 80327289\n    },\n    {\n      \"productId\": 80603966\n    }\n  ]\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "recommendations": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "productId": {
                            "type": "integer",
                            "example": 80634097,
                            "default": 0
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false,
        "security": []
      }
    },
    "/productRecommendations/related": {
      "get": {
        "tags": [
          "Products"
        ],
        "summary": "Сопутствующие товары",
        "description": "Предназначен для показа комплементарных товаров к товару или товарам. Рекомендации рассчитываются на основание поведения других пользователей и учитывают параметры товаров и настройки бизнес-правил в личном кабинете Retail Rocket.",
        "operationId": "related",
        "parameters": [
          {
            "$ref": "#/components/parameters/ApiKey"
          },
          {
            "$ref": "#/components/parameters/PartnerId"
          },
          {
            "$ref": "#/components/parameters/LinkName"
          },
          {
            "$ref": "#/components/parameters/LinkValue"
          },
          {
            "$ref": "#/components/parameters/ProductIds"
          },
          {
            "$ref": "#/components/parameters/StockId"
          },
          {
            "name": "isProductIdString",
            "in": "query",
            "description": "Флаг, означающий формат используемых идентификаторов, по умолчанию \"false\", если идентификаторы числовые",
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"recommendations\": [\n    {\n      \"productId\": 80634097\n    },\n    {\n      \"productId\": 80327289\n    },\n    {\n      \"productId\": 80603966\n    }\n  ]\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "recommendations": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "productId": {
                            "type": "integer",
                            "example": 80634097,
                            "default": 0
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false,
        "security": []
      }
    },
    "/productRecommendations/relatedByInterestedProperties": {
      "get": {
        "tags": [
          "Products_Personal"
        ],
        "summary": "Сопутствующие товары с учетом интереса пользователя к свойствам товаров",
        "description": "Предназначен для показа комплементарных товаров к товару или товарам, которые дополнительно ранжированны в зависимости от интереса пользователей к конкретным свойствам товара (размер, цвет). Рекомендации рассчитываются на основании поведения других пользователей и учитывают параметры товаров и настройки бизнес-правил в личном кабинете Retail Rocket.",
        "operationId": "related-product-properties",
        "parameters": [
          {
            "$ref": "#/components/parameters/ApiKey"
          },
          {
            "$ref": "#/components/parameters/PartnerId"
          },
          {
            "$ref": "#/components/parameters/LinkName"
          },
          {
            "$ref": "#/components/parameters/LinkValue"
          },
          {
            "$ref": "#/components/parameters/ProductIds"
          },
          {
            "$ref": "#/components/parameters/StockId"
          },
          {
            "name": "isProductIdString",
            "in": "query",
            "description": "Флаг, означающий формат используемых идентификаторов, по умолчанию \"false\", если идентификаторы числовые",
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"recommendations\": [\n    {\n      \"productId\": 80634097\n    },\n    {\n      \"productId\": 80327289\n    },\n    {\n      \"productId\": 80603966\n    }\n  ]\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "recommendations": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "productId": {
                            "type": "integer",
                            "example": 80634097,
                            "default": 0
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false,
        "security": []
      }
    },
    "/productRecommendations/relatedByPreferedSize": {
      "get": {
        "tags": [
          "Products_Personal"
        ],
        "summary": "Сопутствующие товары с учётом размеров",
        "description": "Алгоритм возвращает сопутствующие товарные позиции с приоритетом товаров, у которых в наличии есть размер, интересующий пользователя.\nДля работы алгоритма необходимо, чтобы товарам передалась доп. параметр размера.",
        "operationId": "related-by-prefered-size",
        "parameters": [
          {
            "$ref": "#/components/parameters/ApiKey"
          },
          {
            "$ref": "#/components/parameters/PartnerId"
          },
          {
            "$ref": "#/components/parameters/LinkName"
          },
          {
            "$ref": "#/components/parameters/LinkValue"
          },
          {
            "$ref": "#/components/parameters/ProductIds"
          },
          {
            "$ref": "#/components/parameters/StockId"
          },
          {
            "name": "isProductIdString",
            "in": "query",
            "description": "Флаг, означающий формат используемых идентификаторов, по умолчанию \"false\", если идентификаторы числовые",
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"recommendations\": [\n    {\n      \"productId\": 80634097\n    },\n    {\n      \"productId\": 80327289\n    },\n    {\n      \"productId\": 80603966\n    }\n  ]\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "recommendations": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "productId": {
                            "type": "integer",
                            "example": 80634097,
                            "default": 0
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false,
        "security": []
      }
    },
    "/productRecommendations/relatedForLastAddedToBasketProducts": {
      "get": {
        "tags": [
          "Last added to cart XML_Personal"
        ],
        "summary": "Сопутствующие товары к последним добавленным в корзину товарам",
        "description": "Алгоритм возвращает сопутствующие товарные позиции к последним добавленным в корзину товарам",
        "operationId": "relatedforlastaddedtobasketproducts",
        "parameters": [
          {
            "$ref": "#/components/parameters/ApiKey"
          },
          {
            "$ref": "#/components/parameters/PartnerId"
          },
          {
            "$ref": "#/components/parameters/LinkName"
          },
          {
            "$ref": "#/components/parameters/LinkValue"
          },
          {
            "$ref": "#/components/parameters/StockId"
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"recommendations\": [\n    {\n      \"productId\": 80634097\n    },\n    {\n      \"productId\": 80327289\n    },\n    {\n      \"productId\": 80603966\n    }\n  ]\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "recommendations": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "productId": {
                            "type": "integer",
                            "example": 80634097,
                            "default": 0
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false,
        "security": []
      }
    },
    "/productRecommendations/relatedForLastAddedToBasketProductsForCategory": {
      "get": {
        "tags": [
          "Last added to cart XML_Personal"
        ],
        "summary": "Сопутствующие товары к последним добавленным в корзину товарам с фильтрацией по категориям",
        "description": "Алгоритм возвращает сопутствующие товарные позиции к последним добавленным в корзину товарам с фильтрацией по ids категорий.",
        "operationId": "related-for-last-added-to-basket",
        "parameters": [
          {
            "$ref": "#/components/parameters/ApiKey"
          },
          {
            "$ref": "#/components/parameters/PartnerId"
          },
          {
            "$ref": "#/components/parameters/LinkName"
          },
          {
            "$ref": "#/components/parameters/LinkValue"
          },
          {
            "$ref": "#/components/parameters/CategoryIdsArray"
          },
          {
            "$ref": "#/components/parameters/StockId"
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false
      }
    },
    "/productRecommendations/relatedForLastAddedToBasketProductsForCategoryByCategoryPath/": {
      "get": {
        "tags": [
          "Last added to cart Product API_Personal"
        ],
        "summary": "Сопутствующие товары к последним добавленным в корзину товарам с фильтрацией по paths категорий",
        "description": "Алгоритм возвращает сопутствующие товарные позиции к последним добавленным в корзину товарам с фильтрацией по paths категорий",
        "operationId": "relatedforlastaddedtobasketproductsforcategorybycategorypath",
        "parameters": [
          {
            "$ref": "#/components/parameters/ApiKey"
          },
          {
            "$ref": "#/components/parameters/PartnerId"
          },
          {
            "$ref": "#/components/parameters/LinkName"
          },
          {
            "$ref": "#/components/parameters/LinkValue"
          },
          {
            "$ref": "#/components/parameters/CategoryPathsArray"
          },
          {
            "$ref": "#/components/parameters/StockId"
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"recommendations\": [\n    {\n      \"productId\": 80634097\n    },\n    {\n      \"productId\": 80327289\n    },\n    {\n      \"productId\": 80603966\n    }\n  ]\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "recommendations": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "productId": {
                            "type": "integer",
                            "example": 80634097,
                            "default": 0
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false,
        "security": []
      }
    },
    "/productRecommendations/relatedWithCurrentVendorColdStart": {
      "get": {
        "tags": [
          "Products"
        ],
        "summary": "Сопутствующие товары с приоритетом вендора текущего товара",
        "description": "Алгоритм возвращает сопутствующие товарные позиции с приоритетом товаров того же вендора, что и просматриваемый товар. \nДля работы данного алгоритма необходимо наличие параметра 'Vendor' в товарной базе.",
        "operationId": "related-with-current-vendor",
        "parameters": [
          {
            "$ref": "#/components/parameters/ApiKey"
          },
          {
            "$ref": "#/components/parameters/PartnerId"
          },
          {
            "$ref": "#/components/parameters/LinkName"
          },
          {
            "$ref": "#/components/parameters/LinkValue"
          },
          {
            "$ref": "#/components/parameters/ProductIds"
          },
          {
            "$ref": "#/components/parameters/StockId"
          },
          {
            "name": "isProductIdString",
            "in": "query",
            "description": "Флаг, означающий формат используемых идентификаторов, по умолчанию \"false\", если идентификаторы числовые",
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"recommendations\": [\n    {\n      \"productId\": 80634097\n    },\n    {\n      \"productId\": 80327289\n    },\n    {\n      \"productId\": 80603966\n    }\n  ]\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "recommendations": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "productId": {
                            "type": "integer",
                            "example": 80634097,
                            "default": 0
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false,
        "security": []
      }
    },
    "/productRecommendations/relatedWithPopularityPenalty": {
      "get": {
        "tags": [
          "Products"
        ],
        "summary": "Сопутствующие товары с ограничением влияния сверхпопулярных товаров",
        "description": "Алгоритм возвращает сопутствующие товарные позиции с уменьшением веса популярных товаров в выдаче.",
        "operationId": "related-with-popularity-penalty",
        "parameters": [
          {
            "$ref": "#/components/parameters/ApiKey"
          },
          {
            "$ref": "#/components/parameters/PartnerId"
          },
          {
            "$ref": "#/components/parameters/LinkName"
          },
          {
            "$ref": "#/components/parameters/LinkValue"
          },
          {
            "$ref": "#/components/parameters/ProductIds"
          },
          {
            "$ref": "#/components/parameters/StockId"
          },
          {
            "name": "isProductIdString",
            "in": "query",
            "description": "Флаг, означающий формат используемых идентификаторов, по умолчанию \"false\", если идентификаторы числовые",
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"recommendations\": [\n    {\n      \"productId\": 80634097\n    },\n    {\n      \"productId\": 80327289\n    },\n    {\n      \"productId\": 80603966\n    }\n  ]\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "recommendations": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "productId": {
                            "type": "integer",
                            "example": 80634097,
                            "default": 0
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false,
        "security": []
      }
    },
    "/productRecommendations/relatedWithRules": {
      "get": {
        "tags": [
          "Products"
        ],
        "summary": "Сопутствующие товары из категорий, заданных магазином",
        "description": "Алгоритм возвращает сопутствующие товарные позиции, которые с максимальной вероятностью могут быть куплены вместе с товаром, к которому запрошены рекомендации. При этом данный алгоритм учитывает бизнес-правила и позволяет:\n* Продвинуть товары из непопулярных категорий (например, новая категория товаров в ассортименте);\n* Реализовать экспертные рекомендации при продаже технически сложных товаров, когда покупатель может не знать что именно нужно докупить учесть пожелания партнера к подбору сопутствующих товаров;",
        "operationId": "related-9",
        "parameters": [
          {
            "$ref": "#/components/parameters/ApiKey"
          },
          {
            "$ref": "#/components/parameters/PartnerId"
          },
          {
            "$ref": "#/components/parameters/LinkName"
          },
          {
            "$ref": "#/components/parameters/LinkValue"
          },
          {
            "$ref": "#/components/parameters/ProductIds"
          },
          {
            "$ref": "#/components/parameters/StockId"
          },
          {
            "name": "isProductIdString",
            "in": "query",
            "description": "Флаг, означающий формат используемых идентификаторов, по умолчанию \"false\", если идентификаторы числовые",
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"recommendations\": [\n    {\n      \"productId\": 80634097\n    },\n    {\n      \"productId\": 80327289\n    },\n    {\n      \"productId\": 80603966\n    }\n  ]\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "recommendations": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "productId": {
                            "type": "integer",
                            "example": 80634097,
                            "default": 0
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false,
        "security": []
      }
    },
    "/productRecommendations/relatedWithoutCurrentCategory": {
      "get": {
        "tags": [
          "Products"
        ],
        "summary": "Сопутствующие товары из категорий, отличных от категории текущего товара",
        "description": "Алгоритм возвращает сопутствующие товарные позиции, которые с максимальной вероятностью могут быть куплены вместе с товаром, к которому запрошены рекомендации. Из рекомендаций сопутствующих товаров удаляются товары, принадлежащие той же категории, что и текущий товар.",
        "operationId": "related-2",
        "parameters": [
          {
            "$ref": "#/components/parameters/ApiKey"
          },
          {
            "$ref": "#/components/parameters/PartnerId"
          },
          {
            "$ref": "#/components/parameters/LinkName"
          },
          {
            "$ref": "#/components/parameters/LinkValue"
          },
          {
            "$ref": "#/components/parameters/ProductIds"
          },
          {
            "$ref": "#/components/parameters/StockId"
          },
          {
            "name": "isProductIdString",
            "in": "query",
            "description": "Флаг, означающий формат используемых идентификаторов, по умолчанию \"false\", если идентификаторы числовые",
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"recommendations\": [\n    {\n      \"productId\": 80634097\n    },\n    {\n      \"productId\": 80327289\n    },\n    {\n      \"productId\": 80603966\n    }\n  ]\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "recommendations": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "productId": {
                            "type": "integer",
                            "example": 80634097,
                            "default": 0
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false,
        "security": []
      }
    },
    "/productRecommendations/relatedWithoutCurrentCategoryForLastAddedToBasketProducts/": {
      "get": {
        "tags": [
          "Last added to cart XML_Personal"
        ],
        "summary": "Сопутствующие товары из других категорий к последним добавленным в корзину товарам",
        "description": "Алгоритм возвращает сопутствующие товарные позиции к последним добавленным в корзину товарам. Из рекомендаций сопутствующих товаров удаляются товары, принадлежащие той же категории, что и текущий товар.",
        "operationId": "relatedwithoutcurrentcategoryforlastaddedtobasketproducts",
        "parameters": [
          {
            "$ref": "#/components/parameters/ApiKey"
          },
          {
            "$ref": "#/components/parameters/PartnerId"
          },
          {
            "$ref": "#/components/parameters/LinkName"
          },
          {
            "$ref": "#/components/parameters/LinkValue"
          },
          {
            "$ref": "#/components/parameters/StockId"
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"recommendations\": [\n    {\n      \"productId\": 80634097\n    },\n    {\n      \"productId\": 80327289\n    },\n    {\n      \"productId\": 80603966\n    }\n  ]\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "recommendations": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "productId": {
                            "type": "integer",
                            "example": 80634097,
                            "default": 0
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false,
        "security": []
      }
    },
    "/productRecommendations/relatedWithoutCurrentCategoryForLastAddedToBasketProductsForCategory/": {
      "get": {
        "tags": [
          "Last added to cart XML_Personal"
        ],
        "summary": "Сопутствующие товары из других категорий к последним добавленным в корзину товарам с фильтрацией по категориям",
        "description": "Алгоритм возвращает сопутствующие товарные позиции к последним добавленным в корзину товарам из других категорий с фильтрацией по ids категорий.",
        "operationId": "relatedwithoutcurrentcategoryforlastaddedtobasketproductsforcategory",
        "parameters": [
          {
            "$ref": "#/components/parameters/ApiKey"
          },
          {
            "$ref": "#/components/parameters/PartnerId"
          },
          {
            "$ref": "#/components/parameters/LinkName"
          },
          {
            "$ref": "#/components/parameters/LinkValue"
          },
          {
            "$ref": "#/components/parameters/CategoryIdsArray"
          },
          {
            "$ref": "#/components/parameters/StockId"
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"recommendations\": [\n    {\n      \"productId\": 80634097\n    },\n    {\n      \"productId\": 80327289\n    },\n    {\n      \"productId\": 80603966\n    }\n  ]\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "recommendations": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "productId": {
                            "type": "integer",
                            "example": 80634097,
                            "default": 0
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false
      }
    },
    "/productRecommendations/relatedWithoutCurrentCategoryForLastAddedToBasketProductsForCategoryByCategoryPath/": {
      "get": {
        "tags": [
          "Last added to cart Product API_Personal"
        ],
        "summary": "Сопутствующие товары из других категорий к последним добавленным в корзину товарам с фильтрацией по paths категорий",
        "description": "Алгоритм возвращает сопутствующие товарные позиции к последним добавленным в корзину товарам из других категорий с фильтрацией по paths категорий.",
        "operationId": "relatedwithoutcurrentcategoryforlastaddedtobasketproductsforcategorybycategorypath",
        "parameters": [
          {
            "$ref": "#/components/parameters/ApiKey"
          },
          {
            "$ref": "#/components/parameters/PartnerId"
          },
          {
            "$ref": "#/components/parameters/LinkName"
          },
          {
            "$ref": "#/components/parameters/LinkValue"
          },
          {
            "$ref": "#/components/parameters/CategoryPathsArray"
          },
          {
            "$ref": "#/components/parameters/StockId"
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"recommendations\": [\n    {\n      \"productId\": 80634097\n    },\n    {\n      \"productId\": 80327289\n    },\n    {\n      \"productId\": 80603966\n    }\n  ]\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "recommendations": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "productId": {
                            "type": "integer",
                            "example": 80634097,
                            "default": 0
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false
      }
    },
    "/productRecommendations/upsell": {
      "get": {
        "tags": [
          "Products"
        ],
        "summary": "Upsell",
        "description": "Алгоритм показывает в рекомендациях товары максимально похожие на исходный, но дороже и с улучшенными характеристиками. Например, если пользователь смотрит проводные наушники, то в рекомендациях Upsell могут быть очень похожие, но более дорогие беспроводные наушники. В данном случае преимущественное свойство рекомендуемого товара - отсутствие провода в наушниках. Покупатель может сравнить текущий товар с предлагаемым, посчитать эту характеристику для себя полезной и заменить товар на более дорогой.",
        "operationId": "upsell",
        "parameters": [
          {
            "$ref": "#/components/parameters/ApiKey"
          },
          {
            "$ref": "#/components/parameters/PartnerId"
          },
          {
            "$ref": "#/components/parameters/LinkName"
          },
          {
            "$ref": "#/components/parameters/LinkValue"
          },
          {
            "$ref": "#/components/parameters/ProductIds"
          },
          {
            "$ref": "#/components/parameters/StockId"
          },
          {
            "name": "isProductIdString",
            "in": "query",
            "description": "Флаг, означающий формат используемых идентификаторов, по умолчанию \"false\", если идентификаторы числовые",
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"recommendations\": [\n    {\n      \"productId\": 80634097\n    },\n    {\n      \"productId\": 80327289\n    },\n    {\n      \"productId\": 80603966\n    }\n  ]\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "recommendations": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "productId": {
                            "type": "integer",
                            "example": 80634097,
                            "default": 0
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false,
        "security": []
      }
    },
    "/productRecommendations/crosssellForLargeBaskets": {
      "get": {
        "tags": [
          "Products"
        ],
        "summary": "Сопутствующие товары для больших корзин",
        "description": "Алгоритм предназначен для магазинов с широким ассортиментом и большим средним размером корзины. Для его расчета дополнительно используется информация о последовательности добавления товаров в корзину пользователями при оформлении заказов. Это позволяет снизить избыточное присутствие сверхпопулярных товаров и повысить релевантность рекомендаций.",
        "operationId": "crosssell-for-large-baskets",
        "parameters": [
          {
            "$ref": "#/components/parameters/ApiKey"
          },
          {
            "$ref": "#/components/parameters/PartnerId"
          },
          {
            "$ref": "#/components/parameters/LinkName"
          },
          {
            "$ref": "#/components/parameters/LinkValue"
          },
          {
            "$ref": "#/components/parameters/ProductIds"
          },
          {
            "$ref": "#/components/parameters/StockId"
          },
          {
            "name": "isProductIdString",
            "in": "query",
            "description": "Флаг, означающий формат используемых идентификаторов, по умолчанию \"false\", если идентификаторы числовые",
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"recommendations\": [\n    {\n      \"productId\": 80634097\n    },\n    {\n      \"productId\": 80327289\n    },\n    {\n      \"productId\": 80603966\n    }\n  ]\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "recommendations": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "productId": {
                            "type": "integer",
                            "example": 80634097,
                            "default": 0
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false,
        "security": []
      }
    },
    "/productRecommendations/crosssellForLargeBasketsByInterestedProperties": {
      "get": {
        "tags": [
          "Products_Personal"
        ],
        "summary": "Сопутствующие товары для больших корзин, персонализированные с учетом интереса пользователя к свойствам товаров",
        "description": "Алгоритм предназначен для магазинов с широким ассортиментом и большим средним размером корзины. Для его расчета дополнительно используется информация о последовательности добавления товаров в корзину пользователями при оформлении заказов. Это позволяет снизить избыточное присутствие сверхпопулярных товаров и повысить релевантность рекомендаций. При этом данный алгоритм учитывает интерес пользователя к параметрам товаров.",
        "operationId": "crosssell-for-large-baskets-by-interested-properties",
        "parameters": [
          {
            "$ref": "#/components/parameters/ApiKey"
          },
          {
            "$ref": "#/components/parameters/PartnerId"
          },
          {
            "$ref": "#/components/parameters/LinkName"
          },
          {
            "$ref": "#/components/parameters/LinkValue"
          },
          {
            "$ref": "#/components/parameters/ProductIds"
          },
          {
            "$ref": "#/components/parameters/StockId"
          },
          {
            "name": "isProductIdString",
            "in": "query",
            "description": "Флаг, означающий формат используемых идентификаторов, по умолчанию \"false\", если идентификаторы числовые",
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"recommendations\": [\n    {\n      \"productId\": 80634097\n    },\n    {\n      \"productId\": 80327289\n    },\n    {\n      \"productId\": 80603966\n    }\n  ]\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "recommendations": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "productId": {
                            "type": "integer",
                            "example": 80634097,
                            "default": 0
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false,
        "security": []
      }
    },
    "/searchRecommendations/search": {
      "get": {
        "tags": [
          "Search phrase"
        ],
        "summary": "Поисковые рекомендации",
        "description": "Предназначен для показа пользователю товаров, наиболее подходящих под его поисковый запрос. Рекомендации рассчитываются на основе поведения других пользователей с подобным поисковым запросом и не учитывают смысл поисковых фраз.\n\nПоисковые рекомендации следует применять там, где известен поисковый запрос пользователя. Обычно это поисковый экран интернет-магазина. Рекомендации показывают свою эффективность, как и в роли дополнения к поисковой выдаче, так и в случае отсутствия поисковой выдачи.",
        "operationId": "search-recoms",
        "parameters": [
          {
            "$ref": "#/components/parameters/ApiKey"
          },
          {
            "$ref": "#/components/parameters/PartnerId"
          },
          {
            "$ref": "#/components/parameters/LinkName"
          },
          {
            "$ref": "#/components/parameters/LinkValue"
          },
          {
            "$ref": "#/components/parameters/SearchPhrase"
          },
          {
            "$ref": "#/components/parameters/StockId"
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"recommendations\": [\n    {\n      \"productId\": 80634097\n    },\n    {\n      \"productId\": 80327289\n    },\n    {\n      \"productId\": 80603966\n    }\n  ]\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "recommendations": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "productId": {
                            "type": "integer",
                            "example": 80634097,
                            "default": 0
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false,
        "security": []
      }
    },
    "/searchRecommendations/searchByInterestedProperties": {
      "get": {
        "tags": [
          "Search phrase_Personal"
        ],
        "summary": "Поисковые рекомендации с учетом интереса пользователя к свойствам товаров",
        "description": "Алгоритм возвращает рекомендации на основе ключевых слов, которые пользователи запрашивают во внутреннем поиске по сайту интернет-магазина, с учетом интереса пользователя к свойствам товаров.\nПоисковые рекомендации с учетом интереса пользователя к свойствам товаров следует применять на странице результатов внутреннего поиска.",
        "operationId": "search-by-interested-properties",
        "parameters": [
          {
            "$ref": "#/components/parameters/ApiKey"
          },
          {
            "$ref": "#/components/parameters/PartnerId"
          },
          {
            "$ref": "#/components/parameters/LinkName"
          },
          {
            "$ref": "#/components/parameters/LinkValue"
          },
          {
            "$ref": "#/components/parameters/SearchPhrase"
          },
          {
            "$ref": "#/components/parameters/StockId"
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"recommendations\": [\n    {\n      \"productId\": 80634097\n    },\n    {\n      \"productId\": 80327289\n    },\n    {\n      \"productId\": 80603966\n    }\n  ]\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "recommendations": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "productId": {
                            "type": "integer",
                            "example": 80634097,
                            "default": 0
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false,
        "security": []
      }
    },
    "/searchRecommendations/searchWithNeuralNetworks": {
      "get": {
        "tags": [
          "Search phrase"
        ],
        "summary": "Поисковые рекомендации на основе нейронных сетей",
        "description": "Алгоритм предназначен для показа пользователю товаров, наиболее подходящих под его поисковый запрос. Рекомендации генерируют нейронные сети, которые используют не только поведение других пользователей с подобными поисковыми запросами, но и учитывают смысл поисковых фраз.  Поисковые рекомендации на основе нейронных сетей следует применять на странице результатов внутреннего поиска интернет-магазина, как в роли дополнения к ним, так и в случае отсутствия поисковой выдачи.",
        "operationId": "search-with-neuralnetworks",
        "parameters": [
          {
            "$ref": "#/components/parameters/ApiKey"
          },
          {
            "$ref": "#/components/parameters/PartnerId"
          },
          {
            "$ref": "#/components/parameters/LinkName"
          },
          {
            "$ref": "#/components/parameters/LinkValue"
          },
          {
            "$ref": "#/components/parameters/SearchPhrase"
          },
          {
            "$ref": "#/components/parameters/StockId"
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"recommendations\": [\n    {\n      \"productId\": 80634097\n    },\n    {\n      \"productId\": 80327289\n    },\n    {\n      \"productId\": 80603966\n    }\n  ]\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "recommendations": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "productId": {
                            "type": "integer",
                            "example": 80634097,
                            "default": 0
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false,
        "security": []
      }
    },
    "/searchRecommendations/searchWithPopularityPenalty": {
      "get": {
        "tags": [
          "Search phrase"
        ],
        "summary": "Поисковые рекомендации с ограничением влияния сверхпопулярных товаров",
        "description": "Алгоритм возвращает рекомендации на основе ключевых слов, которые пользователи запрашивают во внутреннем поиске по сайту интернет-магазина, с уменьшением веса популярных товаров в выдаче.\nПоисковые рекомендации с уменьшением веса популярных товаров в выдаче следует применять на странице результатов внутреннего поиска.",
        "operationId": "searchwithpopularitypenalty",
        "parameters": [
          {
            "$ref": "#/components/parameters/ApiKey"
          },
          {
            "$ref": "#/components/parameters/PartnerId"
          },
          {
            "$ref": "#/components/parameters/LinkName"
          },
          {
            "$ref": "#/components/parameters/LinkValue"
          },
          {
            "$ref": "#/components/parameters/SearchPhrase"
          },
          {
            "$ref": "#/components/parameters/StockId"
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"recommendations\": [\n    {\n      \"productId\": 80634097\n    },\n    {\n      \"productId\": 80327289\n    },\n    {\n      \"productId\": 80603966\n    }\n  ]\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "recommendations": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "productId": {
                            "type": "integer",
                            "example": 80634097,
                            "default": 0
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false,
        "security": []
      }
    },
    "/recomBlockViewed": {
      "post": {
        "summary": "Просмотр блока рекомендаций",
        "description": "Должен быть вызван при каждом показе блока рекомендаций пользователю приложения",
        "operationId": "recom-block-view",
        "parameters": [
          {
            "$ref": "#/components/parameters/ApiKey"
          },
          {
            "$ref": "#/components/parameters/PartnerId"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "link",
                  "recomBlockId",
                  "timestamp"
                ],
                "properties": {
                  "link": {
                    "$ref": "#/components/parameters/link"
                  },
                  "recomBlockId": {
                    "type": "string",
                    "description": "Идентификатор блока рекомендаций, лимит в 50 символов",
                    "default": "ios/productPage/alternatives"
                  },
                  "timestamp": {
                    "$ref": "#/components/parameters/timestamp"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "text/plain": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "text/plain": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false,
        "tags": [
          "Recommendation interactions"
        ],
        "servers": [
          {
            "url": "https://apptracking.retailrocket.ru/2.0"
          }
        ]
      }
    },
    "/recomTap": {
      "post": {
        "summary": "Клик по блоку рекомендаций",
        "description": "Нажатие по рекомендации – это, фактически, переход в карточку товара, рекомендованную в блоке. Элементы, такие как название товара, изображения товара, цена и другие, относящиеся к рекомендуемому товару из рекомендаций, должны содержать обработчик tap и вызывать событие recomTap.",
        "operationId": "recom-tap",
        "parameters": [
          {
            "$ref": "#/components/parameters/ApiKey"
          },
          {
            "$ref": "#/components/parameters/PartnerId"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "link",
                  "recomBlockId",
                  "timestamp",
                  "productId"
                ],
                "properties": {
                  "link": {
                    "$ref": "#/components/parameters/link"
                  },
                  "recomBlockId": {
                    "type": "string",
                    "description": "Идентификатор блока рекомендаций, лимит в 50 символов",
                    "default": "ios/productPage/alternatives"
                  },
                  "timestamp": {
                    "$ref": "#/components/parameters/timestamp"
                  },
                  "productId": {
                    "$ref": "#/components/parameters/productId"
                  },
                  "stockId": {
                    "$ref": "#/components/parameters/stockId"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "text/plain": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "text/plain": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false,
        "tags": [
          "Recommendation interactions"
        ],
        "servers": [
          {
            "url": "https://apptracking.retailrocket.ru/2.0"
          }
        ]
      }
    },
    "/recomAddToBasket": {
      "post": {
        "summary": "Добавление в корзину из блока рекомендаций",
        "description": "Если в блоке товарных рекомендаций используется кнопка добавления товара в корзину, то при каждом добавлении товара в корзину из блока рекомендаций (без перехода в карточку товара) необходимо вызывать обработчик добавления товара из блока в корзину.",
        "operationId": "recom-add-to-basket",
        "parameters": [
          {
            "$ref": "#/components/parameters/ApiKey"
          },
          {
            "$ref": "#/components/parameters/PartnerId"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "link",
                  "recomBlockId",
                  "timestamp",
                  "productId"
                ],
                "properties": {
                  "link": {
                    "$ref": "#/components/parameters/link"
                  },
                  "recomBlockId": {
                    "type": "string",
                    "description": "Идентификатор блока рекомендаций, лимит в 50 символов",
                    "default": "ios/productPage/alternatives"
                  },
                  "timestamp": {
                    "$ref": "#/components/parameters/timestamp"
                  },
                  "productId": {
                    "$ref": "#/components/parameters/productId"
                  },
                  "stockId": {
                    "$ref": "#/components/parameters/stockId"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "text/plain": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "text/plain": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false,
        "tags": [
          "Recommendation interactions"
        ],
        "servers": [
          {
            "url": "https://apptracking.retailrocket.ru/2.0"
          }
        ]
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
