SwiftGoma.SwiftGoma

Search endpoints

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

Favorites

Add favorite

POST/api/v1/favorites/:productId

Favorites a product.

Requires Authorization
Session

Path parameters

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