Recerc

Toggle favorite state

Toggles the favorite state of an object for the current workspace user.

POST/api/favorites/toggle

Toggles the favorite state of an object for the current workspace user.

Request Body

application/json

Request payload for Toggle favorite state.

objectHandle*string

Object handle for the favorite operation. Currently only products are supported.

Length1 <= length
objectId*string

Object identifier to favorite or unfavorite.

Length1 <= length
[key: string]?never

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json