Phiên bản API Đồ thị

Product Catalog Home Listings

Đọc

Bạn không thể thực hiện thao tác này trên điểm cuối này.

Tạo

Bạn có thể tạo yêu cầu POST đến cạnh home_listings từ các đường dẫn sau:
Khi đăng lên cạnh này, hệ thống sẽ tạo a HomeListing.

Thông số

Thông sốMô tả
address
Object

The address of the home listing

Bắt buộc
city
string

Bắt buộc
country
string

Bắt buộc
latitude
float

Bắt buộc
longitude
float

Bắt buộc
neighborhoods
list<string>

postal_code
string

region
string

Bắt buộc
street_address
string

Bắt buộc
availability
string

The availability of the home listing

Bắt buộc
currency
ISO 4217 Currency Code

Currency for the listing

Bắt buộc
description
string

Description of the home listing

home_listing_id
string

ID of the home listing

Bắt buộc
images
list<Object>

Links to home listing images. Please note that carousel format utilizes a square 1:1 aspect ratio images (recommended size - 600x600px) while single hotel ad uses 1.91:1 aspect ratio image(recommended size - 1200x630px). Please provide at least one image.

Bắt buộc
image_url
URL

Bắt buộc
tags
list<string>

listing_type
string

Listing type of the property

name
string

Name of the home listing

Bắt buộc
num_baths
float

Number of baths for the home listing

num_beds
float

Number of beds for the home listing

num_units
float

Number of units for the home listing

price
float

The price for this home listing

Bắt buộc
property_type
string

Property type of the home listing

url
URL

Link to the external site where you can view the listing

Bắt buộc
year_built
int64

Year built

Bắt buộc

Kiểu trả về

This endpoint supports read-after-write and will read the node represented by id in the return type.
Struct {
id: numeric string,
}

Mã lỗi

LỗiMô tả
100Invalid parameter

Cập nhật

Bạn không thể thực hiện thao tác này trên điểm cuối này.

Xóa

Bạn không thể thực hiện thao tác này trên điểm cuối này.