Toggle favorite state
Toggles the favorite state of an object for the current workspace user.
POST
/api/unstable/favorites/toggleToggles the favorite state of an object for the current workspace user.
Request Body
application/json
objectHandle*string
Object handle for the favorite operation. Currently only products are supported.
Length
1 <= lengthExample
"products"objectId*string
Object identifier to favorite or unfavorite.
Length
1 <= lengthExample
"product_123"[key: string]?never
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json