Get Child Businesses
curl --request GET \
--url https://api.birdeye.com/resources/v1/business/child/allimport requests
url = "https://api.birdeye.com/resources/v1/business/child/all"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.birdeye.com/resources/v1/business/child/all', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.birdeye.com/resources/v1/business/child/all",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.birdeye.com/resources/v1/business/child/all"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.birdeye.com/resources/v1/business/child/all")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.birdeye.com/resources/v1/business/child/all")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body[
{
"id": 986031488,
"name": "Central Ohio Endodontics",
"alias": "Central Ohio Endodontics - Dublin, OH",
"address": {
"address1": "5152 Blazer Memorial Pkwy",
"address2": "Ste 102",
"subLocality": "Auckland CBD",
"city": "Dublin",
"state": "OH",
"zip": "43017",
"countryCode": "US",
"countryName": "United States of America"
},
"phone": "(614) 896-2801",
"type": "Business",
"status": "active",
"createdOn": "Dec 04, 2013",
"createdBy": "Sam Bilings"
},
{
"id": 768996864,
"name": "Environmental Pest Management",
"alias": "Environmental Pest Management - Westerville, OH",
"address": {
"address1": "200 Hoff Rd",
"address2": "Unit P",
"subLocality": "Auckland CBD",
"city": "Westerville",
"state": "OH",
"zip": "43082",
"countryCode": "US",
"countryName": "United States of America"
},
"phone": "(614) 771-8605",
"type": "Business",
"status": "active",
"createdOn": "Dec 05, 2013",
"createdBy": "Sam Bilings"
},
{
"id": 144670708364016,
"name": "Sub-reseller",
"alias": "Sub-reseller",
"status": "active",
"createdOn": "Nov 05, 2013",
"type": "Reseller",
"childCount": 1
},
{
"id": 144670708364322,
"name": "Holiday Inn",
"alias": "Holiday Inn",
"status": "active",
"createdOn": "Nov 01, 2013",
"type": "Enterprise-Location",
"childCount": 2
}
]Business
Get Child Businesses
GET
/
v1
/
business
/
child
/
all
Get Child Businesses
curl --request GET \
--url https://api.birdeye.com/resources/v1/business/child/allimport requests
url = "https://api.birdeye.com/resources/v1/business/child/all"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.birdeye.com/resources/v1/business/child/all', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.birdeye.com/resources/v1/business/child/all",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.birdeye.com/resources/v1/business/child/all"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.birdeye.com/resources/v1/business/child/all")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.birdeye.com/resources/v1/business/child/all")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body[
{
"id": 986031488,
"name": "Central Ohio Endodontics",
"alias": "Central Ohio Endodontics - Dublin, OH",
"address": {
"address1": "5152 Blazer Memorial Pkwy",
"address2": "Ste 102",
"subLocality": "Auckland CBD",
"city": "Dublin",
"state": "OH",
"zip": "43017",
"countryCode": "US",
"countryName": "United States of America"
},
"phone": "(614) 896-2801",
"type": "Business",
"status": "active",
"createdOn": "Dec 04, 2013",
"createdBy": "Sam Bilings"
},
{
"id": 768996864,
"name": "Environmental Pest Management",
"alias": "Environmental Pest Management - Westerville, OH",
"address": {
"address1": "200 Hoff Rd",
"address2": "Unit P",
"subLocality": "Auckland CBD",
"city": "Westerville",
"state": "OH",
"zip": "43082",
"countryCode": "US",
"countryName": "United States of America"
},
"phone": "(614) 771-8605",
"type": "Business",
"status": "active",
"createdOn": "Dec 05, 2013",
"createdBy": "Sam Bilings"
},
{
"id": 144670708364016,
"name": "Sub-reseller",
"alias": "Sub-reseller",
"status": "active",
"createdOn": "Nov 05, 2013",
"type": "Reseller",
"childCount": 1
},
{
"id": 144670708364322,
"name": "Holiday Inn",
"alias": "Holiday Inn",
"status": "active",
"createdOn": "Nov 01, 2013",
"type": "Enterprise-Location",
"childCount": 2
}
]
