VTEX · Schema
Search Click
Sends an event every time a shopper clicks on a product from a search page.
CommerceE-CommerceRetailMarketplacePayments
Properties
| Name | Type | Description |
|---|---|---|
| type | string | Type of event, which can be one of the following: `page.cart`, `page.empty_cart`, `search.query`, `page.confirmation`, `session.ping`, `search.click`. |
| productId | string | Unique identifier of the clicked product. |
| position | integer | Position of the clicked product on the search results page. |
| url | string | URL that identifies from which page the event occurred. |
| text | string | Query used in the search. |
| agent | string | Identifies whether the request came from a mobile or desktop application. It's used as a filter in the search report. |
| anonymous | object | |
| session | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/Click",
"title": "Search Click",
"description": "Sends an event every time a shopper clicks on a product from a search page.",
"type": "object",
"required": [
"type",
"productId",
"position",
"text",
"anonymous",
"session"
],
"properties": {
"type": {
"type": "string",
"title": "type",
"description": "Type of event, which can be one of the following: `page.cart`, `page.empty_cart`, `search.query`, `page.confirmation`, `session.ping`, `search.click`.",
"example": "search.click"
},
"productId": {
"type": "string",
"description": "Unique identifier of the clicked product.",
"example": "12345"
},
"position": {
"type": "integer",
"description": "Position of the clicked product on the search results page.",
"example": 1
},
"url": {
"type": "string",
"title": "url",
"description": "URL that identifies from which page the event occurred.",
"example": "https://example.com/s?q=pneu&sort=score_desc&page=0"
},
"text": {
"type": "string",
"title": "text",
"description": "Query used in the search.",
"example": "tv"
},
"agent": {
"type": "string",
"title": "agent",
"description": "Identifies whether the request came from a mobile or desktop application. It's used as a filter in the search report.",
"default": "desktop",
"example": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:83.0) Gecko/20100101 Firefox/83.0"
},
"anonymous": {
"$ref": "#/components/schemas/UserIdentification/properties/anonymous"
},
"session": {
"$ref": "#/components/schemas/UserIdentification/properties/session"
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/vtex-click"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.