Toggle user favorites
cURL
curl --request POST \ --url https://api-dev.monyfix.tech/users/toggle-favorites \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "object_id": "<string>", "object_type": "<string>" } '
200
Example
{ "success": true, "message": "<string>", "toggle_type": "<string>"}
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
ID of the object to add to favorites
Type of the object to add to favorites: round, store, person
Successful Response