Set favorite state
Explicitly marks an object as favorite or not favorite for the current workspace user.
PUT
/api/favoritesExplicitly marks an object as favorite or not favorite for the current workspace user.
Request Body
application/json
Request payload for Set favorite state.
objectHandle*string
Object handle for the favorite operation. Currently only products are supported.
Length
1 <= lengthobjectId*string
Object identifier to update.
Length
1 <= lengthisFavorite*boolean
Target favorite state for the object.
Example
true[key: string]?never
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json