Recerc

Set favorite state

Explicitly marks an object as favorite or not favorite for the current workspace user.

PUT/api/unstable/favorites

Explicitly marks an object as favorite or not favorite for the current workspace user.

Request Body

application/json

objectHandle*string

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

Length1 <= length
Example"products"
objectId*string

Object identifier to update.

Length1 <= length
Example"product_123"
isFavorite*boolean

Target favorite state for the object.

Exampletrue
[key: string]?never

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json