---
updatedAt: 2025-08-28T06:16:59.000Z
agentTools:
  projectIndex: https://developer-docs.rivo.io/llms.txt
---

# removeFavoriteProduct

Remove a product to the favorites list for the logged-in customer.

```javascript
RivoJS.removeFavoriteProduct(productId).then(function(resp){
  console.log(resp)
});
```

Parameters

| Parameter   | Type   | Description                                                        |
| :---------- | :----- | :----------------------------------------------------------------- |
| `productId` | Number | The unique identifier of the product to be removed from favorites. |

***

**Sample response**

```json Sample Response
{
  "success": true,
  "products": [
    {
      "remote_id": 8453968003367,
      "title": "Selling Plans Ski Wax",
      "handle": "selling-plans-ski-wax",
      "image_url": "https://cdn.shopify.com/s/files/1/0794/1898/2695/products/snowboard_wax.png?v=1689664191",
      "price": 24.95,
      "variants": [
        {
          "id": "45630227022119",
          "price": 24.95,
          "title": "Selling Plans Ski Wax",
          "image_url": "https://cdn.shopify.com/s/files/1/0794/1898/2695/products/snowboard_wax.png?v=1689664191"
        }
      ],
      "compare_at_price": null
    }
  ]
}
```