CreateSearchTermRecord
A mutation CreateSearchTermRecord permite cadastrar termos buscados da loja.
Exemplo
mutation {
createSearchTermRecord(
input: {
page: 1
pageSize: 24
totalResults: 100
query: "Tênis"
pageUrl: "https://sualoja.com.br/busca?busca=tenis"
operation: "And"
}
) {
date
isSuccess
query
}
}
Mostrar resposta
{
"data": {
"createSearchTermRecord": {
"date": "2023-10-03T10:37:34.373-03:00",
"isSuccess": true,
"query": "Tênis"
}
}
}
Updated 11 months ago