I am trying to get products using specific brand names. I have set up my query as brandList : [String]
and the query is as follows
{
"terms": {
"brand_name":
$brandList
}
},
I am not sure how can I pass my query to Appsync. the original query should be like this
"["brand1","brand2","brand3"]"
. how can I handle the list of string with just brand name.