Download OpenAPI specification:
| firstname required | string (Firstname) |
| lastname required | string (Lastname) |
| email required | string <email> (Email) |
{- "firstname": "string",
- "lastname": "string",
- "email": "user@example.com"
}null| firstname required | string (Firstname) |
| lastname required | string (Lastname) |
| email required | string <email> (Email) |
{- "firstname": "string",
- "lastname": "string",
- "email": "user@example.com"
}null| firstname required | string (Firstname) |
| lastname required | string (Lastname) |
| email required | string <email> (Email) |
{- "firstname": "string",
- "lastname": "string",
- "email": "user@example.com"
}nullCreates a listing with optional address and category assignments. Requires a valid seller ID.
User Latitude (number) or User Latitude (null) (User Latitude) | |
User Longitude (number) or User Longitude (null) (User Longitude) |
| title required | string (Title) <= 255 characters |
| description required | string (Description) |
required | Price (number) or Price (string) (Price) |
| listing_status required | string (ListingStatus) Enum: "active" "sold" "hidden" "removed" "rented" |
| offer_type required | string (OfferType) Enum: "rent" "buy" "both" |
AddressBase (object) or null | |
| category_ids required | Array of integers (Category Ids) |
| image_paths required | Array of strings (Image Paths) |
{- "title": "string",
- "description": "string",
- "price": 0,
- "listing_status": "active",
- "offer_type": "rent",
- "address": {
- "is_primary": false,
- "visibility": true,
- "country": "st",
- "city": "string",
- "street": "string",
- "postal_code": "string",
- "latitude": -90,
- "longitude": -180
}, - "category_ids": [
- 0
], - "image_paths": [
- "string"
]
}{- "title": "string",
- "description": "string",
- "price": "string",
- "listing_status": "active",
- "offer_type": "rent",
- "id": 0,
- "liked": true,
- "seller": {
- "id": 0,
- "firstname": "string",
- "lastname": "string",
- "rating": 0
}, - "address": {
- "is_primary": false,
- "visibility": true,
- "country": "st",
- "city": "string",
- "street": "string",
- "postal_code": "string",
- "latitude": -90,
- "longitude": -180,
- "id": 0,
- "user_id": 0
}, - "categories": [
- {
- "id": 0,
- "name": "string"
}
], - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "image_paths": [
- "string"
], - "distance_from_user": 0
}Retrieve listings by categories, price range, offer type, .... Listings with status REMOVED are excluded.
| offer_type required | string (OfferType) Enum: "rent" "buy" "both" |
| listing_status | string (ListingStatus) Default: "active" Enum: "active" "sold" "hidden" "removed" "rented" |
Min Price (integer) or Min Price (null) (Min Price) | |
Max Price (integer) or Max Price (null) (Max Price) | |
Min Rating (number) or Min Rating (null) (Min Rating) | |
Time From (string) or Time From (null) (Time From) | |
| sort_by | string (Sort By) Default: "created_at" |
| sort_order | string (Sort Order) Default: "desc" |
Search (string) or Search (null) (Search) | |
Country (string) or Country (null) (Country) | |
City (string) or City (null) (City) | |
Street (string) or Street (null) (Street) | |
| limit | integer (Limit) Default: 10 |
| offset | integer (Offset) Default: 0 |
User Latitude (number) or User Latitude (null) (User Latitude) | |
User Longitude (number) or User Longitude (null) (User Longitude) | |
Max Distance (number) or Max Distance (null) (Max Distance) |
null[- {
- "title": "string",
- "description": "string",
- "price": "string",
- "listing_status": "active",
- "offer_type": "rent",
- "id": 0,
- "liked": true,
- "seller": {
- "id": 0,
- "firstname": "string",
- "lastname": "string",
- "rating": 0
}, - "address": {
- "is_primary": false,
- "visibility": true,
- "country": "st",
- "city": "string",
- "street": "string",
- "postal_code": "string",
- "latitude": -90,
- "longitude": -180,
- "id": 0,
- "user_id": 0
}, - "categories": [
- {
- "id": 0,
- "name": "string"
}
], - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "image_paths": [
- "string"
], - "distance_from_user": 0
}
]Fetch all listings created by the current user.
[- {
- "title": "string",
- "description": "string",
- "price": "string",
- "listing_status": "active",
- "offer_type": "rent",
- "id": 0,
- "address": {
- "is_primary": false,
- "visibility": true,
- "country": "st",
- "city": "string",
- "street": "string",
- "postal_code": "string",
- "latitude": -90,
- "longitude": -180,
- "id": 0,
- "user_id": 0
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "image_path": "string"
}
]Fetch a specific listing by ID unless its status is REMOVED.
| listing_id required | integer (Listing Id) |
User Latitude (number) or User Latitude (null) (User Latitude) | |
User Longitude (number) or User Longitude (null) (User Longitude) |
{- "title": "string",
- "description": "string",
- "price": "string",
- "listing_status": "active",
- "offer_type": "rent",
- "id": 0,
- "liked": true,
- "seller": {
- "id": 0,
- "firstname": "string",
- "lastname": "string",
- "rating": 0
}, - "address": {
- "is_primary": false,
- "visibility": true,
- "country": "st",
- "city": "string",
- "street": "string",
- "postal_code": "string",
- "latitude": -90,
- "longitude": -180,
- "id": 0,
- "user_id": 0
}, - "categories": [
- {
- "id": 0,
- "name": "string"
}
], - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "image_paths": [
- "string"
], - "distance_from_user": 0
}Updates listing fields and category relationships. You must provide valid address/category IDs.
| listing_id required | integer (Listing Id) |
Title (string) or Title (null) (Title) | |
Description (string) or Description (null) (Description) | |
Price (number) or Price (string) or Price (null) (Price) | |
OfferType (string) or null | |
AddressBase (object) or null | |
Array of Category Ids (integers) or Category Ids (null) (Category Ids) |
{- "title": "string",
- "description": "string",
- "price": 0,
- "offer_type": "rent",
- "address": {
- "is_primary": false,
- "visibility": true,
- "country": "st",
- "city": "string",
- "street": "string",
- "postal_code": "string",
- "latitude": -90,
- "longitude": -180
}, - "category_ids": [
- 0
]
}{- "title": "string",
- "description": "string",
- "price": "string",
- "listing_status": "active",
- "offer_type": "rent",
- "id": 0,
- "liked": true,
- "seller": {
- "id": 0,
- "firstname": "string",
- "lastname": "string",
- "rating": 0
}, - "address": {
- "is_primary": false,
- "visibility": true,
- "country": "st",
- "city": "string",
- "street": "string",
- "postal_code": "string",
- "latitude": -90,
- "longitude": -180,
- "id": 0,
- "user_id": 0
}, - "categories": [
- {
- "id": 0,
- "name": "string"
}
], - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "image_paths": [
- "string"
], - "distance_from_user": 0
}Marks the listing as SOLD. It will no longer be visible to users.
| listing_id required | integer (Listing Id) |
{- "title": "string",
- "description": "string",
- "price": "string",
- "listing_status": "active",
- "offer_type": "rent",
- "id": 0,
- "liked": true,
- "seller": {
- "id": 0,
- "firstname": "string",
- "lastname": "string",
- "rating": 0
}, - "address": {
- "is_primary": false,
- "visibility": true,
- "country": "st",
- "city": "string",
- "street": "string",
- "postal_code": "string",
- "latitude": -90,
- "longitude": -180,
- "id": 0,
- "user_id": 0
}, - "categories": [
- {
- "id": 0,
- "name": "string"
}
], - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "image_paths": [
- "string"
], - "distance_from_user": 0
}Marks the listing as RENTED. It will no longer be visible to users.
| listing_id required | integer (Listing Id) |
{- "title": "string",
- "description": "string",
- "price": "string",
- "listing_status": "active",
- "offer_type": "rent",
- "id": 0,
- "liked": true,
- "seller": {
- "id": 0,
- "firstname": "string",
- "lastname": "string",
- "rating": 0
}, - "address": {
- "is_primary": false,
- "visibility": true,
- "country": "st",
- "city": "string",
- "street": "string",
- "postal_code": "string",
- "latitude": -90,
- "longitude": -180,
- "id": 0,
- "user_id": 0
}, - "categories": [
- {
- "id": 0,
- "name": "string"
}
], - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "image_paths": [
- "string"
], - "distance_from_user": 0
}Marks the listing as HIDDEN. It will no longer be visible to users.
| listing_id required | integer (Listing Id) |
{- "title": "string",
- "description": "string",
- "price": "string",
- "listing_status": "active",
- "offer_type": "rent",
- "id": 0,
- "liked": true,
- "seller": {
- "id": 0,
- "firstname": "string",
- "lastname": "string",
- "rating": 0
}, - "address": {
- "is_primary": false,
- "visibility": true,
- "country": "st",
- "city": "string",
- "street": "string",
- "postal_code": "string",
- "latitude": -90,
- "longitude": -180,
- "id": 0,
- "user_id": 0
}, - "categories": [
- {
- "id": 0,
- "name": "string"
}
], - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "image_paths": [
- "string"
], - "distance_from_user": 0
}Marks the listing as ACTIVE. It will again be visible to users.
| listing_id required | integer (Listing Id) |
{- "title": "string",
- "description": "string",
- "price": "string",
- "listing_status": "active",
- "offer_type": "rent",
- "id": 0,
- "liked": true,
- "seller": {
- "id": 0,
- "firstname": "string",
- "lastname": "string",
- "rating": 0
}, - "address": {
- "is_primary": false,
- "visibility": true,
- "country": "st",
- "city": "string",
- "street": "string",
- "postal_code": "string",
- "latitude": -90,
- "longitude": -180,
- "id": 0,
- "user_id": 0
}, - "categories": [
- {
- "id": 0,
- "name": "string"
}
], - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "image_paths": [
- "string"
], - "distance_from_user": 0
}Fetch all favorite listings of the current user.
User Latitude (number) or User Latitude (null) (User Latitude) | |
User Longitude (number) or User Longitude (null) (User Longitude) |
[- {
- "title": "string",
- "description": "string",
- "price": "string",
- "listing_status": "active",
- "offer_type": "rent",
- "id": 0,
- "liked": true,
- "seller": {
- "id": 0,
- "firstname": "string",
- "lastname": "string",
- "rating": 0
}, - "address": {
- "is_primary": false,
- "visibility": true,
- "country": "st",
- "city": "string",
- "street": "string",
- "postal_code": "string",
- "latitude": -90,
- "longitude": -180,
- "id": 0,
- "user_id": 0
}, - "categories": [
- {
- "id": 0,
- "name": "string"
}
], - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "image_paths": [
- "string"
], - "distance_from_user": 0
}
]Updates users favorite_listings relationship. You must provide valid listing ID
| listing_id required | integer (Listing Id) |
User Latitude (number) or User Latitude (null) (User Latitude) | |
User Longitude (number) or User Longitude (null) (User Longitude) |
{- "title": "string",
- "description": "string",
- "price": "string",
- "listing_status": "active",
- "offer_type": "rent",
- "id": 0,
- "liked": true,
- "seller": {
- "id": 0,
- "firstname": "string",
- "lastname": "string",
- "rating": 0
}, - "address": {
- "is_primary": false,
- "visibility": true,
- "country": "st",
- "city": "string",
- "street": "string",
- "postal_code": "string",
- "latitude": -90,
- "longitude": -180,
- "id": 0,
- "user_id": 0
}, - "categories": [
- {
- "id": 0,
- "name": "string"
}
], - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "image_paths": [
- "string"
], - "distance_from_user": 0
}Updates users favorite_listings relationship. You must provide valid listing ID
| listing_id required | integer (Listing Id) |
{- "title": "string",
- "description": "string",
- "price": "string",
- "listing_status": "active",
- "offer_type": "rent",
- "id": 0,
- "liked": true,
- "seller": {
- "id": 0,
- "firstname": "string",
- "lastname": "string",
- "rating": 0
}, - "address": {
- "is_primary": false,
- "visibility": true,
- "country": "st",
- "city": "string",
- "street": "string",
- "postal_code": "string",
- "latitude": -90,
- "longitude": -180,
- "id": 0,
- "user_id": 0
}, - "categories": [
- {
- "id": 0,
- "name": "string"
}
], - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "image_paths": [
- "string"
], - "distance_from_user": 0
}{- "firstname": "string",
- "lastname": "string",
- "phone_number": "string",
- "amount_sold_listing": 0,
- "amount_rent_listing": 0,
- "rating": 1,
- "address": {
- "is_primary": false,
- "visibility": true,
- "country": "st",
- "city": "string",
- "street": "string",
- "postal_code": "string",
- "latitude": -90,
- "longitude": -180
}
}required | object (UserUpdate) |
required | object (AddressUpdate) |
{- "user_metadata": {
- "firstname": "string",
- "lastname": "string",
- "phone_number": "string"
}, - "address_metadata": {
- "visibility": true,
- "country": "string",
- "city": "string",
- "postal_code": "string",
- "street": "string"
}
}{- "user_metadata": {
- "firstname": "string",
- "lastname": "string",
- "email": "user@example.com",
- "phone_number": "string"
}, - "address_metadata": {
- "is_primary": false,
- "visibility": true,
- "country": "st",
- "city": "string",
- "street": "string",
- "postal_code": "string",
- "latitude": -90,
- "longitude": -180
}
}{- "firstname": "string",
- "lastname": "string",
- "phone_number": "string",
- "amount_sold_listing": 0,
- "amount_rent_listing": 0,
- "rating": 1,
- "address": {
- "is_primary": false,
- "visibility": true,
- "country": "st",
- "city": "string",
- "street": "string",
- "postal_code": "string",
- "latitude": -90,
- "longitude": -180
}
}Fetch all reviews for the given user (reviewee), returning the rating and reviewer information.
| user_id required | integer (User Id) |
[- {
- "rating": 0,
- "reviewer": {
- "id": 0,
- "firstname": "string",
- "lastname": "string"
}
}
]Creates a new alert for the current user. The alert will be triggered when a new listing matches the specified criteria.
Array of Category Ids (integers) or Category Ids (null) (Category Ids) | |
| offer_type required | string (OfferType) Enum: "rent" "buy" "both" |
| listing_status | string (ListingStatus) Default: "active" Enum: "active" "sold" "hidden" "removed" "rented" |
Min Price (integer) or Min Price (null) (Min Price) | |
Max Price (integer) or Max Price (null) (Max Price) | |
Min Rating (number) or Min Rating (null) (Min Rating) | |
Time From (string) or Time From (null) (Time From) | |
| sort_by | string (Sort By) Default: "created_at" |
| sort_order | string (Sort Order) Default: "desc" |
Search (string) or Search (null) (Search) | |
Country (string) or Country (null) (Country) | |
City (string) or City (null) (City) | |
Street (string) or Street (null) (Street) |
{- "category_ids": [
- 0
], - "offer_type": "rent",
- "listing_status": "active",
- "min_price": 0,
- "max_price": 0,
- "min_rating": 0,
- "time_from": "2019-08-24T14:15:22Z",
- "sort_by": "created_at",
- "sort_order": "desc",
- "search": "string",
- "country": "st",
- "city": "string",
- "street": "string"
}{- "id": 0,
- "is_active": true,
- "product_filters": { },
- "created_at": "2019-08-24T14:15:22Z",
- "last_notified_at": "2019-08-24T14:15:22Z",
- "user_id": 0
}Fetch all alerts created by the current user.
[- {
- "id": 0,
- "is_active": true,
- "product_filters": { },
- "created_at": "2019-08-24T14:15:22Z",
- "last_notified_at": "2019-08-24T14:15:22Z",
- "user_id": 0
}
]Enable an alert by ID. The alert will be triggered when a new listing matches the specified criteria.
| alert_id required | integer (Alert Id) |
{- "id": 0,
- "is_active": true,
- "product_filters": { },
- "created_at": "2019-08-24T14:15:22Z",
- "last_notified_at": "2019-08-24T14:15:22Z",
- "user_id": 0
}Disable an alert by ID. The alert will no longer be triggered.
| alert_id required | integer (Alert Id) |
{- "id": 0,
- "is_active": true,
- "product_filters": { },
- "created_at": "2019-08-24T14:15:22Z",
- "last_notified_at": "2019-08-24T14:15:22Z",
- "user_id": 0
}Delete an alert by ID. The alert will no longer be triggered and will be removed from database.
| alert_id required | integer (Alert Id) |
{- "detail": [
- {
- "loc": [
- "string"
], - "msg": "string",
- "type": "string"
}
]
}