For information how REST API works, see rest main page.
This object allows you to perform operations on an online user by his user_id
(Personyze user Id), internal_id
(Id that you set) or email
.
You need to send POST request to the "do" object. The POST body must be JSON array, where each element is description of an operation to perform on a user. So you can perform several operations (maybe on different users) in one request.
curl --data '[["internal_id", 1, "Product Added to cart", "P1000"], ["email", "john@example.com", "Product Purchased", "P1001"]]' 'https://api:FD09908F25BECB09D78EBEA1DADFB618651F612D@app.personyze.com/rest/do'
Each operation description is JSON array, where
Command name can be one of:
["internal_id", 1, "User Profile", "first_name", "John"]
["internal_id", 1, "Product Viewed", "P1000"]
["internal_id", 1, "Product Added to cart", "P1000"]