Commerce Engine is now in beta. We're working hard to make it better for you.
cURL
curl --request POST \ --url https://staging.api.commercengine.io/api/v1/{store_id}/storefront/analytics/track \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "event": "<string>", "type": "<any>", "userId": "<string>", "channel": "<any>", "context": { "ip": "<string>", "userAgent": "<string>" }, "properties": {}, "messageId": "<string>", "timestamp": "2023-11-07T05:31:56Z", "sentAt": "2023-11-07T05:31:56Z" }'
{ "message": "<string>", "success": true }
Track event
Access token
Model for analytics event
OK
The response is of type object.
object
Was this page helpful?