From e6be9baebabdc35e5c968e42236cd0cde89f0db8 Mon Sep 17 00:00:00 2001 From: Igor Malinyak Date: Wed, 11 Oct 2023 16:42:45 +0400 Subject: [PATCH] ECWID-127118 implemented propagation of the keyword query parameter to the search categories endpoint --- .../apiclient/v3/dto/category/request/CategoriesSearchRequest.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/kotlin/com/ecwid/apiclient/v3/dto/category/request/CategoriesSearchRequest.kt b/src/main/kotlin/com/ecwid/apiclient/v3/dto/category/request/CategoriesSearchRequest.kt index 2e1138a2..7dc93c24 100644 --- a/src/main/kotlin/com/ecwid/apiclient/v3/dto/category/request/CategoriesSearchRequest.kt +++ b/src/main/kotlin/com/ecwid/apiclient/v3/dto/category/request/CategoriesSearchRequest.kt @@ -46,6 +46,7 @@ data class CategoriesSearchRequest( val request = this return mutableMapOf().apply { + request.keyword?.let { put("keyword", it) } parentCategoryId?.let { put("parent", it.toString()) } request.categoryIds?.let { put("categoryIds", it.joinToString(",")) } request.hiddenCategories?.let { put("hidden_categories", it.toString()) }