Skip to main content
POST
/
users
/
toggle-favorites
Toggle User Favorites
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>"
}
'
{
"success": true,
"message": "<string>",
"toggle_type": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
object_id
string
required

ID of the object to add to favorites

object_type
string
required

Type of the object to add to favorites: round, store, person

Response

Successful Response

success
boolean
required
message
string
required
toggle_type
string
required