SwiftGoma.SwiftGoma

Search endpoints

Jump to any API endpoint by name, method, or path

Favorites

Remove favorite

DELETE/api/v1/favorites/:productId

Unfavorites a product.

Requires Authorization
Session

Path parameters

productIdstringrequired
Product ID.
Request
curl --request DELETE \
  --url https://api.swiftgoma.com/api/v1/favorites/:productId \
  --header 'Authorization: Bearer <access_token>'
200Example response
{
  "success": true,
  "data": {
    "productId": "prod_7c8d9e",
    "favorited": false
  }
}