Reputation: 1222
I am trying to use recommendToAnonymous
in the Myrrix REST-API. I have two requirements:
Example:
782,667362000,1
673,367367200,2
782,'tagname','tagvalue'
623,367367333
673,'tagname2','tagvalue3'
Questions:
Is (2) already possible? If yes, can you please give me the exact format?
How do I go about doing (1)? If neither is possible, any workarounds? (Other than having to generate a temporary ID for an anonymous user, adding the ID, setting the tags, get recommendations the usual way, delete the user and the user's preferences.
Upvotes: 2
Views: 187
Reputation: 947
I am not sure (1) is currently possible.
However, (2) is possible.
Tagging items
To tag an item, the user id is the tag. It must be a quoted string
Example:
"Brand_A",12345,5
The 5 is the tag value
Tagging users
To tag an user, the item id is the tag. It must be a quoted string
Example:
1,"Female",5
The 5 is the tag value
Upvotes: 1