Return the shipping and other details of Global-e's Local Hub
curl --request POST \
--url https://{globale_api_domain}/Browsing/ActiveHubDetailsimport requests
url = "https://{globale_api_domain}/Browsing/ActiveHubDetails"
response = requests.post(url)
print(response.text)const options = {method: 'POST'};
fetch('https://{globale_api_domain}/Browsing/ActiveHubDetails', 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://{globale_api_domain}/Browsing/ActiveHubDetails",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$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://{globale_api_domain}/Browsing/ActiveHubDetails"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://{globale_api_domain}/Browsing/ActiveHubDetails")
.asString();require 'uri'
require 'net/http'
url = URI("https://{globale_api_domain}/Browsing/ActiveHubDetails")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body{
"HubDetails": {
"Address1": "<string>",
"Address2": "<string>",
"City": "<string>",
"CountryCode": "<string>",
"CountryName": "<string>",
"Email": "<string>",
"Fax": "<string>",
"HubId": 123,
"HubName": "<string>",
"Phone1": "<string>",
"Phone2": "<string>",
"StateCode": "<string>",
"StateOrProvice": "<string>",
"Zip": "<string>"
}
}Active hub details
Returns the shipping and other details of Global-e’s Local Hub to where the merchant ships orders.
POST
/
Browsing
/
ActiveHubDetails
Return the shipping and other details of Global-e's Local Hub
curl --request POST \
--url https://{globale_api_domain}/Browsing/ActiveHubDetailsimport requests
url = "https://{globale_api_domain}/Browsing/ActiveHubDetails"
response = requests.post(url)
print(response.text)const options = {method: 'POST'};
fetch('https://{globale_api_domain}/Browsing/ActiveHubDetails', 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://{globale_api_domain}/Browsing/ActiveHubDetails",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$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://{globale_api_domain}/Browsing/ActiveHubDetails"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://{globale_api_domain}/Browsing/ActiveHubDetails")
.asString();require 'uri'
require 'net/http'
url = URI("https://{globale_api_domain}/Browsing/ActiveHubDetails")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body{
"HubDetails": {
"Address1": "<string>",
"Address2": "<string>",
"City": "<string>",
"CountryCode": "<string>",
"CountryName": "<string>",
"Email": "<string>",
"Fax": "<string>",
"HubId": 123,
"HubName": "<string>",
"Phone1": "<string>",
"Phone2": "<string>",
"StateCode": "<string>",
"StateOrProvice": "<string>",
"Zip": "<string>"
}
}Returns the shipping and other details of Global-e’s Local Hub to where the merchant ships orders. The
hubId property of the HubDetails object is returned by this method and must be further provided as an argument to the SendCart method.Response
200 - application/json
Details about Global-e's hub.
Details about Global-e's hub
Show child attributes
Show child attributes
⌘I

