v1

latestOpenAPI 3.0.02026-07-22122745.8 KB
Session & Events

Logs a checkout

Logs a checkout event in stats logs. That is the event for when a customer complete a checkout. The info of the items that were in her session when she completes the checkout are logged in the event.

put/6/{hashid}/stats/checkout

Path parameters

hashidstring required

Unique id of a search engine.

Request body

session_idstring required

Identifier of search session

user_idstring

Identifier of user

sourcesstring[]

a list with the javascript apps that can be considered "source" of that checkout

Response

OK

statusstring

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

Example response

{
  "status": "registered"
}