diff --git a/src/main/kotlin/com/ecwid/apiclient/v3/dto/customergroup/request/CustomerGroupsSearchRequest.kt b/src/main/kotlin/com/ecwid/apiclient/v3/dto/customergroup/request/CustomerGroupsSearchRequest.kt index 3e8950b07..e968cf3f5 100644 --- a/src/main/kotlin/com/ecwid/apiclient/v3/dto/customergroup/request/CustomerGroupsSearchRequest.kt +++ b/src/main/kotlin/com/ecwid/apiclient/v3/dto/customergroup/request/CustomerGroupsSearchRequest.kt @@ -25,7 +25,7 @@ data class CustomerGroupsSearchRequest( put("offset", request.offset.toString()) put("limit", request.limit.toString()) if (!request.keyword.isNullOrBlank()) { - put("keyword", request.keyword.toString()) + put("keyword", request.keyword) } if (!request.customerGroupIds.isNullOrEmpty()) { put("customerGroupIds", request.customerGroupIds.joinToString(","))