Like an item
Like an item from any type (restaurant, hotel, flight, experience) and add it to the user's default likes list.
**Authentication Required:** Yes - Valid JWT token in Authorization header
**Request Body:**
- **type** (required): Type of item (restaurant, hotel, flight, experience)
- **productId** (required): UUID of the item to like
- **productObj** (optional): Product object containing item details
**Response includes:**
- **success**: Boolean indicating success
- **message**: Success message
- **data**: Object containing like details
- **id**: Like record ID
- **listId**: List ID (default likes list)
- **type**: Type of item liked
- **productId**: ID of the item liked
- **addedAt**: When the item was added to likes
- **[type]**: Product object (if provided)
**Usage:**
1. Generate a test token using the `/auth/generate-test-token` endpoint
2. Include the token in the Authorization header: `Bearer <token>`
3. Send POST request with type and productId
**Note:** This endpoint automatically creates a default "Likes" list for the user if it doesn't exist.
**Error Handling:**
- **400**: Invalid request body, missing required fields, or invalid type
- **401**: Invalid or missing JWT token
- **409**: Item already liked by the user
- **503**: Database service temporarily unavailable
- **500**: Internal server error
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Response
Item liked successfully
success
message
data
