Stream EstateStream Estate
Favorites

Create a favorite property

Create a favorite property

POST
/favorite-properties

Request Body

The new FavoriteProperty resource

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

curl -X POST "https://api-v2.stream.estate/favorite-properties" \  -H "Content-Type: application/json" \  -d '{    "propertyId": "550e8400-e29b-41d4-a716-446655440000"  }'
{
  "propertyId": "550e8400-e29b-41d4-a716-446655440000",
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
{
  "title": "string",
  "detail": "string",
  "status": 404,
  "instance": "string",
  "type": "string"
}
{
  "title": "string",
  "detail": "string",
  "status": 404,
  "instance": "string",
  "type": "string"
}
{
  "status": 422,
  "violations": [
    {
      "propertyPath": "string",
      "message": "string"
    }
  ],
  "detail": "string",
  "type": "string",
  "title": "string",
  "instance": "string"
}