@@ -1869,11 +1869,11 @@ catch (ApiException e)
18691869
18701870<a id =" facebooksearchmarketplace " ></a >
18711871# ** FacebookSearchMarketplace**
1872- > Object FacebookSearchMarketplace (string query, string location = null, int? minPrice = null, int? maxPrice = null, int? daysSinceListed = null, string sortBy = null, string itemCondition = null, string deliveryMethod = null, string after = null)
1872+ > Object FacebookSearchMarketplace (string query, string location = null, int? minPrice = null, int? maxPrice = null, int? daysSinceListed = null, string sortBy = null, string itemCondition = null, string deliveryMethod = null, int? radius = null, string after = null)
18731873
18741874Search Marketplace
18751875
1876- Search Facebook Marketplace listings by keyword and location.
1876+ Search Facebook Marketplace listings by keyword and location. `` location `` must be a Facebook location slug ( `` london `` , `` newcastleupontyne `` ) or a numeric Facebook place id — the `` city_page_id `` on any listing is one. Human-readable names such as `` Durham, UK `` are rejected with a 400 rather than silently searching Facebook's San Francisco default.
18771877
18781878### Example
18791879``` csharp
@@ -1902,19 +1902,20 @@ namespace Example
19021902 HttpClientHandler httpClientHandler = new HttpClientHandler ();
19031903 var apiInstance = new FacebookApi (httpClient , config , httpClientHandler );
19041904 var query = " query_example" ; // string | Search keywords
1905- var location = " \" nyc\" " ; // string | Marketplace location slug (optional) (default to "nyc")
1905+ var location = " \" nyc\" " ; // string | Marketplace location slug or numeric place id (optional) (default to "nyc")
19061906 var minPrice = 56 ; // int? | (optional)
19071907 var maxPrice = 56 ; // int? | (optional)
19081908 var daysSinceListed = 56 ; // int? | (optional)
19091909 var sortBy = " sortBy_example" ; // string | (optional)
19101910 var itemCondition = " itemCondition_example" ; // string | (optional)
19111911 var deliveryMethod = " deliveryMethod_example" ; // string | (optional)
1912+ var radius = 56 ; // int? | Search radius around the location (km, or miles in the US) (optional)
19121913 var after = " after_example" ; // string | (optional)
19131914
19141915 try
19151916 {
19161917 // Search Marketplace
1917- Object result = apiInstance .FacebookSearchMarketplace (query , location , minPrice , maxPrice , daysSinceListed , sortBy , itemCondition , deliveryMethod , after );
1918+ Object result = apiInstance .FacebookSearchMarketplace (query , location , minPrice , maxPrice , daysSinceListed , sortBy , itemCondition , deliveryMethod , radius , after );
19181919 Debug .WriteLine (result );
19191920 }
19201921 catch (ApiException e )
@@ -1935,7 +1936,7 @@ This returns an ApiResponse object which contains the response data, status code
19351936try
19361937{
19371938 // Search Marketplace
1938- ApiResponse < Object > response = apiInstance .FacebookSearchMarketplaceWithHttpInfo (query , location , minPrice , maxPrice , daysSinceListed , sortBy , itemCondition , deliveryMethod , after );
1939+ ApiResponse < Object > response = apiInstance .FacebookSearchMarketplaceWithHttpInfo (query , location , minPrice , maxPrice , daysSinceListed , sortBy , itemCondition , deliveryMethod , radius , after );
19391940 Debug .Write (" Status Code: " + response .StatusCode );
19401941 Debug .Write (" Response Headers: " + response .Headers );
19411942 Debug .Write (" Response Body: " + response .Data );
@@ -1953,13 +1954,14 @@ catch (ApiException e)
19531954| Name | Type | Description | Notes |
19541955| ------| ------| -------------| -------|
19551956| ** query** | ** string** | Search keywords | |
1956- | ** location** | ** string** | Marketplace location slug | [ optional] [ default to " ; nyc" ; ] |
1957+ | ** location** | ** string** | Marketplace location slug or numeric place id | [ optional] [ default to " ; nyc" ; ] |
19571958| ** minPrice** | ** int?** | | [ optional] |
19581959| ** maxPrice** | ** int?** | | [ optional] |
19591960| ** daysSinceListed** | ** int?** | | [ optional] |
19601961| ** sortBy** | ** string** | | [ optional] |
19611962| ** itemCondition** | ** string** | | [ optional] |
19621963| ** deliveryMethod** | ** string** | | [ optional] |
1964+ | ** radius** | ** int?** | Search radius around the location (km, or miles in the US) | [ optional] |
19631965| ** after** | ** string** | | [ optional] |
19641966
19651967### Return type
0 commit comments