Check if a listing is in my wishlist
Access: Bearer token required.
Reports whether a property is in the caller's wishlist. The handler does not read the path parameter. It reads propertyId from the query string, so the id must be sent as ?propertyId=...; the path segment is required for routing but its value is ignored. Calling the URL with only the path parameter returns 400 Property ID is required. A malformed or unknown id simply returns inWishlist: false.
The success response does not use the standard envelope: there is no status and no message.
bearerAuthAuthorizationBearer <JWT>Access token returned by sign-in. Send it as Authorization: Bearer <token>.
propertyId*stringRequired by the route but ignored by the handler. Send the same id in the propertyId query parameter.
propertyId*stringRequired by the route but ignored by the handler. Send the same id in the propertyId query parameter.
Whether the property id given in the query string is in the caller's wishlist.
application/json- response
success*booleandata*curl -X GET 'http://localhost:4000/api/v1/wishlist/check/string?propertyId=string'{ "success": true, "data": { "inWishlist": true }}