v1

latestOpenAPI 3.0.02026-07-22122745.8 KB
Session & Events

Add to cart

Registers a click event on the cart.

put/6/{hashid}/stats/cart/{session_id}

Path parameters

hashidstring required

Unique id of a search engine.

session_idstring required

Identifier of search session

The current session ID, must be unique for each user.

Request body

idstring required

id of the item to be added/removed

indexstring required

Name of the indice the item belongs to. i.e. "product"

titlestring required

The title that describe the item. Usually, the title of item's page.

Response

OK

statusstring

Result of the stats request. i.e. 'registered'

Example response

{
  "status": "registered"
}