グラフAPIバージョン

Product Catalog Home Listings

読み取り

このエンドポイントではこの操作を実行できません。

作成

home_listingsのエッジにPOSTリクエストを以下のパスで送信できます:
このエッジにPOSTする場合、a HomeListingが作成されます。

パラメーター

パラメーター説明
address
Object

The address of the home listing

必須
city
string

必須
country
string

必須
latitude
float

必須
longitude
float

必須
neighborhoods
list<string>

postal_code
string

region
string

必須
street_address
string

必須
availability
string

The availability of the home listing

必須
currency
ISO 4217 Currency Code

Currency for the listing

必須
description
string

Description of the home listing

home_listing_id
string

ID of the home listing

必須
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.

必須
image_url
URL

必須
tags
list<string>

listing_type
string

Listing type of the property

name
string

Name of the home listing

必須
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

必須
property_type
string

Property type of the home listing

url
URL

Link to the external site where you can view the listing

必須
year_built
int64

Year built

必須

戻り値の型

このエンドポイントはリード‐アフター‐ライトに対応し、idによって表されたノードを戻り値の型で読み込みます。
Struct {
id: numeric string,
}

エラーコード

エラー詳細
100Invalid parameter

更新中…

このエンドポイントではこの操作を実行できません。

削除中です

このエンドポイントではこの操作を実行できません。