GET Store
curl --request GET \
--url https://api.bitski.com/v1/stores/{storeId}import requests
url = "https://api.bitski.com/v1/stores/{storeId}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.bitski.com/v1/stores/{storeId}', 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.bitski.com/v1/stores/{storeId}",
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.bitski.com/v1/stores/{storeId}"
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.bitski.com/v1/stores/{storeId}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.bitski.com/v1/stores/{storeId}")
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{
"store": {
"application": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"backgroundImageUri": null,
"description": "Curating the best bird related NFTs",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"processor": "Stripe",
"processorApiKey": "pk_test_TYooMQauvdEDq54NiTphI7jx",
"processorLogoUri": "https://cdn.bitskistatic.com/processors/stripe.svg",
"socialLinks": {},
"themeUrl": null,
"title": "Bird Store",
"username": "bird_fans"
}
}
Commerce APIs
GET Store
Get details about a storefront.
GET
/
v1
/
stores
/
{storeId}
GET Store
curl --request GET \
--url https://api.bitski.com/v1/stores/{storeId}import requests
url = "https://api.bitski.com/v1/stores/{storeId}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.bitski.com/v1/stores/{storeId}', 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.bitski.com/v1/stores/{storeId}",
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.bitski.com/v1/stores/{storeId}"
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.bitski.com/v1/stores/{storeId}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.bitski.com/v1/stores/{storeId}")
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{
"store": {
"application": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"backgroundImageUri": null,
"description": "Curating the best bird related NFTs",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"processor": "Stripe",
"processorApiKey": "pk_test_TYooMQauvdEDq54NiTphI7jx",
"processorLogoUri": "https://cdn.bitskistatic.com/processors/stripe.svg",
"socialLinks": {},
"themeUrl": null,
"title": "Bird Store",
"username": "bird_fans"
}
}
Path
string
default:"8df663d2-b7b3-48c6-bb31-ec34258c9a77"
required
The store id
Examples
Response
object
required
{
"store": {
"application": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"backgroundImageUri": null,
"description": "Curating the best bird related NFTs",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"processor": "Stripe",
"processorApiKey": "pk_test_TYooMQauvdEDq54NiTphI7jx",
"processorLogoUri": "https://cdn.bitskistatic.com/processors/stripe.svg",
"socialLinks": {},
"themeUrl": null,
"title": "Bird Store",
"username": "bird_fans"
}
}
⌘I