Create Ping
POST
/store/ping
const url = 'http://localhost:9000/store/ping';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"event":"example","actor_id":"example","session_id":"example","properties":{},"sales_channel_id":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url http://localhost:9000/store/ping \ --header 'Content-Type: application/json' \ --data '{ "event": "example", "actor_id": "example", "session_id": "example", "properties": {}, "sales_channel_id": "example" }'Request Body required
Section titled “Request Body required ” Media type application/json
object
event
required
string
actor_id
string
session_id
string
properties
object
key
additional properties
any
sales_channel_id
string
Example generated
{ "event": "example", "actor_id": "example", "session_id": "example", "properties": {}, "sales_channel_id": "example"}Responses
Section titled “ Responses ”OK
Media type application/json
object
Example generated
{}