Class ItemApi

java.lang.Object
dev.crashteam.openapi.kerepricer.api.ItemApi

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-10-07T12:18:02.132511272Z[Etc/UTC]") @Component("dev.crashteam.openapi.kerepricer.api.ItemApi") public class ItemApi extends Object
  • Constructor Details

    • ItemApi

      public ItemApi()
    • ItemApi

      @Autowired public ItemApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • addKeAccountShopItemCompetitor

      public void addKeAccountShopItemCompetitor(UUID xRequestID, UUID id, AddKeAccountShopItemCompetitorRequest addKeAccountShopItemCompetitorRequest) throws org.springframework.web.client.RestClientException
      Добавить конкурентный товар для отслеживания

      200 - Конкурентный товар добавлен

      400 - Переданы ошибочные данные

      401 - Несанкционированный доступ, использовались неверные учетные данные.

      403 - Доступ запрещен.

      409 - Достигнуто максимальное кол-во товаров в пуле

      Parameters:
      xRequestID - Уникальный идентификатор запроса к системе (required)
      id - (required)
      addKeAccountShopItemCompetitorRequest - (optional)
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • addKeAccountShopItemCompetitorWithHttpInfo

      public org.springframework.http.ResponseEntity<Void> addKeAccountShopItemCompetitorWithHttpInfo(UUID xRequestID, UUID id, AddKeAccountShopItemCompetitorRequest addKeAccountShopItemCompetitorRequest) throws org.springframework.web.client.RestClientException
      Добавить конкурентный товар для отслеживания

      200 - Конкурентный товар добавлен

      400 - Переданы ошибочные данные

      401 - Несанкционированный доступ, использовались неверные учетные данные.

      403 - Доступ запрещен.

      409 - Достигнуто максимальное кол-во товаров в пуле

      Parameters:
      xRequestID - Уникальный идентификатор запроса к системе (required)
      id - (required)
      addKeAccountShopItemCompetitorRequest - (optional)
      Returns:
      ResponseEntity<Void>
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • addKeAccountShopItemPool

      public void addKeAccountShopItemPool(UUID xRequestID, UUID id, AddKeAccountShopItemPoolRequest addKeAccountShopItemPoolRequest) throws org.springframework.web.client.RestClientException
      Добавить товар в пул для отслеживания

      200 - Товар добавлен

      400 - Переданы ошибочные данные

      401 - Несанкционированный доступ, использовались неверные учетные данные.

      403 - Доступ запрещен.

      409 - Достигнуто максимальное кол-во товаров в пуле

      Parameters:
      xRequestID - Уникальный идентификатор запроса к системе (required)
      id - (required)
      addKeAccountShopItemPoolRequest - (optional)
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • addKeAccountShopItemPoolWithHttpInfo

      public org.springframework.http.ResponseEntity<Void> addKeAccountShopItemPoolWithHttpInfo(UUID xRequestID, UUID id, AddKeAccountShopItemPoolRequest addKeAccountShopItemPoolRequest) throws org.springframework.web.client.RestClientException
      Добавить товар в пул для отслеживания

      200 - Товар добавлен

      400 - Переданы ошибочные данные

      401 - Несанкционированный доступ, использовались неверные учетные данные.

      403 - Доступ запрещен.

      409 - Достигнуто максимальное кол-во товаров в пуле

      Parameters:
      xRequestID - Уникальный идентификатор запроса к системе (required)
      id - (required)
      addKeAccountShopItemPoolRequest - (optional)
      Returns:
      ResponseEntity<Void>
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • getAccountShopItemPoolCount

      public GetAccountShopItemPoolCount200Response getAccountShopItemPoolCount(UUID xRequestID) throws org.springframework.web.client.RestClientException
      Получить общее кол-во товаров в пуле на отслеживание

      200 - Кол-во товаров в пуле

      400 - Переданы ошибочные данные

      401 - Несанкционированный доступ, использовались неверные учетные данные.

      403 - Доступ запрещен.

      Parameters:
      xRequestID - Уникальный идентификатор запроса к системе (required)
      Returns:
      GetAccountShopItemPoolCount200Response
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • getAccountShopItemPoolCountWithHttpInfo

      public org.springframework.http.ResponseEntity<GetAccountShopItemPoolCount200Response> getAccountShopItemPoolCountWithHttpInfo(UUID xRequestID) throws org.springframework.web.client.RestClientException
      Получить общее кол-во товаров в пуле на отслеживание

      200 - Кол-во товаров в пуле

      400 - Переданы ошибочные данные

      401 - Несанкционированный доступ, использовались неверные учетные данные.

      403 - Доступ запрещен.

      Parameters:
      xRequestID - Уникальный идентификатор запроса к системе (required)
      Returns:
      ResponseEntity<GetAccountShopItemPoolCount200Response>
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • getKeAccountCompetitorShopItems

      public List<KeAccountCompetitorShopItem> getKeAccountCompetitorShopItems(UUID xRequestID, UUID id, UUID shopId, UUID shopItemId, Integer limit, Integer offset, String filter, List<String> sort) throws org.springframework.web.client.RestClientException
      Получение списка назначенных конкурентов товара

      200 - Получен список назначенных конкурентов товара

      400 - Переданы ошибочные данные

      401 - Несанкционированный доступ, использовались неверные учетные данные.

      403 - Доступ запрещен.

      404 - Товары не найдены

      Parameters:
      xRequestID - Уникальный идентификатор запроса к системе (required)
      id - (required)
      shopId - (required)
      shopItemId - (required)
      limit - The collection items limit. (optional)
      offset - The collection items offset. (optional)
      filter - The collection items filter requires a special format. Use \",\" for multiple allowed values. Use \";\" for multiple fields. See the [filter guide](https://api-reference.rebilly.com/#section/Using-filter-with-collections) for more options and examples about this format. (optional)
      sort - The collection items sort field and order (prefix with \"-\" for descending sort). (optional)
      Returns:
      List<KeAccountCompetitorShopItem>
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • getKeAccountCompetitorShopItemsWithHttpInfo

      public org.springframework.http.ResponseEntity<List<KeAccountCompetitorShopItem>> getKeAccountCompetitorShopItemsWithHttpInfo(UUID xRequestID, UUID id, UUID shopId, UUID shopItemId, Integer limit, Integer offset, String filter, List<String> sort) throws org.springframework.web.client.RestClientException
      Получение списка назначенных конкурентов товара

      200 - Получен список назначенных конкурентов товара

      400 - Переданы ошибочные данные

      401 - Несанкционированный доступ, использовались неверные учетные данные.

      403 - Доступ запрещен.

      404 - Товары не найдены

      Parameters:
      xRequestID - Уникальный идентификатор запроса к системе (required)
      id - (required)
      shopId - (required)
      shopItemId - (required)
      limit - The collection items limit. (optional)
      offset - The collection items offset. (optional)
      filter - The collection items filter requires a special format. Use \",\" for multiple allowed values. Use \";\" for multiple fields. See the [filter guide](https://api-reference.rebilly.com/#section/Using-filter-with-collections) for more options and examples about this format. (optional)
      sort - The collection items sort field and order (prefix with \"-\" for descending sort). (optional)
      Returns:
      ResponseEntity<List<KeAccountCompetitorShopItem>>
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • getKeAccountShopItem

      public KeAccountShopItem getKeAccountShopItem(UUID xRequestID, UUID id, UUID shopItemId) throws org.springframework.web.client.RestClientException
      Получить информацию по товару пользователя

      200 - Получена информация о товаре пользователя

      400 - Переданы ошибочные данные

      401 - Несанкционированный доступ, использовались неверные учетные данные.

      403 - Доступ запрещен.

      404 - Resource was not found

      Parameters:
      xRequestID - Уникальный идентификатор запроса к системе (required)
      id - (required)
      shopItemId - (required)
      Returns:
      KeAccountShopItem
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • getKeAccountShopItemWithHttpInfo

      public org.springframework.http.ResponseEntity<KeAccountShopItem> getKeAccountShopItemWithHttpInfo(UUID xRequestID, UUID id, UUID shopItemId) throws org.springframework.web.client.RestClientException
      Получить информацию по товару пользователя

      200 - Получена информация о товаре пользователя

      400 - Переданы ошибочные данные

      401 - Несанкционированный доступ, использовались неверные учетные данные.

      403 - Доступ запрещен.

      404 - Resource was not found

      Parameters:
      xRequestID - Уникальный идентификатор запроса к системе (required)
      id - (required)
      shopItemId - (required)
      Returns:
      ResponseEntity<KeAccountShopItem>
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • getKeAccountShopItemPriceChangeHistory

      public List<KeAccountPriceChangeHistory> getKeAccountShopItemPriceChangeHistory(UUID xRequestID, UUID id, Integer limit, Integer offset, String filter, List<String> sort) throws org.springframework.web.client.RestClientException
      Получение истории изменений цены товаров на KazanExpress аккаунте

      200 - Получен список истории изменений цены товаров

      400 - Переданы ошибочные данные

      401 - Несанкционированный доступ, использовались неверные учетные данные.

      403 - Доступ запрещен.

      404 - История не найдена

      Parameters:
      xRequestID - Уникальный идентификатор запроса к системе (required)
      id - (required)
      limit - The collection items limit. (optional)
      offset - The collection items offset. (optional)
      filter - The collection items filter requires a special format. Use \",\" for multiple allowed values. Use \";\" for multiple fields. See the [filter guide](https://api-reference.rebilly.com/#section/Using-filter-with-collections) for more options and examples about this format. (optional)
      sort - The collection items sort field and order (prefix with \"-\" for descending sort). (optional)
      Returns:
      List<KeAccountPriceChangeHistory>
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • getKeAccountShopItemPriceChangeHistoryWithHttpInfo

      public org.springframework.http.ResponseEntity<List<KeAccountPriceChangeHistory>> getKeAccountShopItemPriceChangeHistoryWithHttpInfo(UUID xRequestID, UUID id, Integer limit, Integer offset, String filter, List<String> sort) throws org.springframework.web.client.RestClientException
      Получение истории изменений цены товаров на KazanExpress аккаунте

      200 - Получен список истории изменений цены товаров

      400 - Переданы ошибочные данные

      401 - Несанкционированный доступ, использовались неверные учетные данные.

      403 - Доступ запрещен.

      404 - История не найдена

      Parameters:
      xRequestID - Уникальный идентификатор запроса к системе (required)
      id - (required)
      limit - The collection items limit. (optional)
      offset - The collection items offset. (optional)
      filter - The collection items filter requires a special format. Use \",\" for multiple allowed values. Use \";\" for multiple fields. See the [filter guide](https://api-reference.rebilly.com/#section/Using-filter-with-collections) for more options and examples about this format. (optional)
      sort - The collection items sort field and order (prefix with \"-\" for descending sort). (optional)
      Returns:
      ResponseEntity<List<KeAccountPriceChangeHistory>>
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • getKeAccountShopItemSimilar

      public List<SimilarItem> getKeAccountShopItemSimilar(UUID xRequestID, UUID id, UUID shopId, UUID shopItemId) throws org.springframework.web.client.RestClientException
      Получение списка возможных конкурентных товаров

      200 - Получен список возможных конкурентных товаров

      400 - Переданы ошибочные данные

      401 - Несанкционированный доступ, использовались неверные учетные данные.

      403 - Доступ запрещен.

      404 - Товары не найдены

      Parameters:
      xRequestID - Уникальный идентификатор запроса к системе (required)
      id - (required)
      shopId - (required)
      shopItemId - (required)
      Returns:
      List<SimilarItem>
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • getKeAccountShopItemSimilarWithHttpInfo

      public org.springframework.http.ResponseEntity<List<SimilarItem>> getKeAccountShopItemSimilarWithHttpInfo(UUID xRequestID, UUID id, UUID shopId, UUID shopItemId) throws org.springframework.web.client.RestClientException
      Получение списка возможных конкурентных товаров

      200 - Получен список возможных конкурентных товаров

      400 - Переданы ошибочные данные

      401 - Несанкционированный доступ, использовались неверные учетные данные.

      403 - Доступ запрещен.

      404 - Товары не найдены

      Parameters:
      xRequestID - Уникальный идентификатор запроса к системе (required)
      id - (required)
      shopId - (required)
      shopItemId - (required)
      Returns:
      ResponseEntity<List<SimilarItem>>
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • getKeAccountShopItems

      public List<KeAccountShopItem> getKeAccountShopItems(UUID xRequestID, UUID id, UUID shopId, Integer limit, Integer offset, String filter, List<String> sort) throws org.springframework.web.client.RestClientException
      Получение списка товаров магазина пользователя

      200 - Получен список товаров магазина пользователя

      400 - Переданы ошибочные данные

      401 - Несанкционированный доступ, использовались неверные учетные данные.

      403 - Доступ запрещен.

      404 - Товары не найдены

      Parameters:
      xRequestID - Уникальный идентификатор запроса к системе (required)
      id - (required)
      shopId - (required)
      limit - The collection items limit. (optional)
      offset - The collection items offset. (optional)
      filter - The collection items filter requires a special format. Use \",\" for multiple allowed values. Use \";\" for multiple fields. See the [filter guide](https://api-reference.rebilly.com/#section/Using-filter-with-collections) for more options and examples about this format. (optional)
      sort - The collection items sort field and order (prefix with \"-\" for descending sort). (optional)
      Returns:
      List<KeAccountShopItem>
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • getKeAccountShopItemsWithHttpInfo

      public org.springframework.http.ResponseEntity<List<KeAccountShopItem>> getKeAccountShopItemsWithHttpInfo(UUID xRequestID, UUID id, UUID shopId, Integer limit, Integer offset, String filter, List<String> sort) throws org.springframework.web.client.RestClientException
      Получение списка товаров магазина пользователя

      200 - Получен список товаров магазина пользователя

      400 - Переданы ошибочные данные

      401 - Несанкционированный доступ, использовались неверные учетные данные.

      403 - Доступ запрещен.

      404 - Товары не найдены

      Parameters:
      xRequestID - Уникальный идентификатор запроса к системе (required)
      id - (required)
      shopId - (required)
      limit - The collection items limit. (optional)
      offset - The collection items offset. (optional)
      filter - The collection items filter requires a special format. Use \",\" for multiple allowed values. Use \";\" for multiple fields. See the [filter guide](https://api-reference.rebilly.com/#section/Using-filter-with-collections) for more options and examples about this format. (optional)
      sort - The collection items sort field and order (prefix with \"-\" for descending sort). (optional)
      Returns:
      ResponseEntity<List<KeAccountShopItem>>
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • getKeAccountShopItemsPool

      public List<KeAccountShopItem> getKeAccountShopItemsPool(UUID xRequestID, UUID id, UUID shopId, Integer limit, Integer offset, String filter, List<String> sort) throws org.springframework.web.client.RestClientException
      Получение списка товаров магазина пользователя в пуле для отслеживания

      200 - Получен список товаров магазина пользователя

      400 - Переданы ошибочные данные

      401 - Несанкционированный доступ, использовались неверные учетные данные.

      403 - Доступ запрещен.

      404 - Товары не найдены

      Parameters:
      xRequestID - Уникальный идентификатор запроса к системе (required)
      id - (required)
      shopId - (required)
      limit - The collection items limit. (optional)
      offset - The collection items offset. (optional)
      filter - The collection items filter requires a special format. Use \",\" for multiple allowed values. Use \";\" for multiple fields. See the [filter guide](https://api-reference.rebilly.com/#section/Using-filter-with-collections) for more options and examples about this format. (optional)
      sort - The collection items sort field and order (prefix with \"-\" for descending sort). (optional)
      Returns:
      List<KeAccountShopItem>
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • getKeAccountShopItemsPoolWithHttpInfo

      public org.springframework.http.ResponseEntity<List<KeAccountShopItem>> getKeAccountShopItemsPoolWithHttpInfo(UUID xRequestID, UUID id, UUID shopId, Integer limit, Integer offset, String filter, List<String> sort) throws org.springframework.web.client.RestClientException
      Получение списка товаров магазина пользователя в пуле для отслеживания

      200 - Получен список товаров магазина пользователя

      400 - Переданы ошибочные данные

      401 - Несанкционированный доступ, использовались неверные учетные данные.

      403 - Доступ запрещен.

      404 - Товары не найдены

      Parameters:
      xRequestID - Уникальный идентификатор запроса к системе (required)
      id - (required)
      shopId - (required)
      limit - The collection items limit. (optional)
      offset - The collection items offset. (optional)
      filter - The collection items filter requires a special format. Use \",\" for multiple allowed values. Use \";\" for multiple fields. See the [filter guide](https://api-reference.rebilly.com/#section/Using-filter-with-collections) for more options and examples about this format. (optional)
      sort - The collection items sort field and order (prefix with \"-\" for descending sort). (optional)
      Returns:
      ResponseEntity<List<KeAccountShopItem>>
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • patchKeAccountShopitem

      public KeAccountShopItem patchKeAccountShopitem(UUID xRequestID, UUID id, UUID shopItemId, PatchKeAccountShopItem patchKeAccountShopItem) throws org.springframework.web.client.RestClientException
      Редактировать параметры изменения цены товара

      200 - Параметры успешно отредактированы

      400 - Переданы ошибочные данные

      401 - Несанкционированный доступ, использовались неверные учетные данные.

      403 - Доступ запрещен.

      404 - Resource was not found

      Parameters:
      xRequestID - Уникальный идентификатор запроса к системе (required)
      id - (required)
      shopItemId - (required)
      patchKeAccountShopItem - (required)
      Returns:
      KeAccountShopItem
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • patchKeAccountShopitemWithHttpInfo

      public org.springframework.http.ResponseEntity<KeAccountShopItem> patchKeAccountShopitemWithHttpInfo(UUID xRequestID, UUID id, UUID shopItemId, PatchKeAccountShopItem patchKeAccountShopItem) throws org.springframework.web.client.RestClientException
      Редактировать параметры изменения цены товара

      200 - Параметры успешно отредактированы

      400 - Переданы ошибочные данные

      401 - Несанкционированный доступ, использовались неверные учетные данные.

      403 - Доступ запрещен.

      404 - Resource was not found

      Parameters:
      xRequestID - Уникальный идентификатор запроса к системе (required)
      id - (required)
      shopItemId - (required)
      patchKeAccountShopItem - (required)
      Returns:
      ResponseEntity<KeAccountShopItem>
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • removeKeAccountShopItemCompetitor

      public void removeKeAccountShopItemCompetitor(UUID xRequestID, UUID id, RemoveKeAccountShopItemCompetitorRequest removeKeAccountShopItemCompetitorRequest) throws org.springframework.web.client.RestClientException
      Удалить конкурентный товар из списка отслеживаемых

      200 - Конкурентный товар удален

      400 - Переданы ошибочные данные

      401 - Несанкционированный доступ, использовались неверные учетные данные.

      403 - Доступ запрещен.

      Parameters:
      xRequestID - Уникальный идентификатор запроса к системе (required)
      id - (required)
      removeKeAccountShopItemCompetitorRequest - (optional)
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • removeKeAccountShopItemCompetitorWithHttpInfo

      public org.springframework.http.ResponseEntity<Void> removeKeAccountShopItemCompetitorWithHttpInfo(UUID xRequestID, UUID id, RemoveKeAccountShopItemCompetitorRequest removeKeAccountShopItemCompetitorRequest) throws org.springframework.web.client.RestClientException
      Удалить конкурентный товар из списка отслеживаемых

      200 - Конкурентный товар удален

      400 - Переданы ошибочные данные

      401 - Несанкционированный доступ, использовались неверные учетные данные.

      403 - Доступ запрещен.

      Parameters:
      xRequestID - Уникальный идентификатор запроса к системе (required)
      id - (required)
      removeKeAccountShopItemCompetitorRequest - (optional)
      Returns:
      ResponseEntity<Void>
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • removeKeAccountShopItemFromPool

      public void removeKeAccountShopItemFromPool(UUID xRequestID, UUID id, AddKeAccountShopItemPoolRequest addKeAccountShopItemPoolRequest) throws org.springframework.web.client.RestClientException
      Удалить товар из пула для отслеживания

      204 - Товар удален

      400 - Переданы ошибочные данные

      401 - Несанкционированный доступ, использовались неверные учетные данные.

      403 - Доступ запрещен.

      Parameters:
      xRequestID - Уникальный идентификатор запроса к системе (required)
      id - (required)
      addKeAccountShopItemPoolRequest - (optional)
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • removeKeAccountShopItemFromPoolWithHttpInfo

      public org.springframework.http.ResponseEntity<Void> removeKeAccountShopItemFromPoolWithHttpInfo(UUID xRequestID, UUID id, AddKeAccountShopItemPoolRequest addKeAccountShopItemPoolRequest) throws org.springframework.web.client.RestClientException
      Удалить товар из пула для отслеживания

      204 - Товар удален

      400 - Переданы ошибочные данные

      401 - Несанкционированный доступ, использовались неверные учетные данные.

      403 - Доступ запрещен.

      Parameters:
      xRequestID - Уникальный идентификатор запроса к системе (required)
      id - (required)
      addKeAccountShopItemPoolRequest - (optional)
      Returns:
      ResponseEntity<Void>
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API