Listar todas as Informações públicas de uma loja
curl --request GET \
--url https://api.dooki.com.br/v2/whois/{domain} \
--header 'User-Secret-Key: <api-key>' \
--header 'User-Token: <api-key>'import requests
url = "https://api.dooki.com.br/v2/whois/{domain}"
headers = {
"User-Token": "<api-key>",
"User-Secret-Key": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {'User-Token': '<api-key>', 'User-Secret-Key': '<api-key>'}
};
fetch('https://api.dooki.com.br/v2/whois/{domain}', 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.dooki.com.br/v2/whois/{domain}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"User-Secret-Key: <api-key>",
"User-Token: <api-key>"
],
]);
$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.dooki.com.br/v2/whois/{domain}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("User-Token", "<api-key>")
req.Header.Add("User-Secret-Key", "<api-key>")
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.dooki.com.br/v2/whois/{domain}")
.header("User-Token", "<api-key>")
.header("User-Secret-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.dooki.com.br/v2/whois/{domain}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["User-Token"] = '<api-key>'
request["User-Secret-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"id": 123456,
"alias": "sualoja",
"domain": "sualoja.com",
"base_url": "https://www.sualoja.com",
"logo_url": "https://images.yampi.me/assets/stores/sualoja/uploads/logo/62c5e006baf74.png",
"has_mp": true,
"suspended": false,
"theme": {
"id": 1,
"alias": "rocket",
"installation_id": "9f8b2c14-5d3a-4a6e-8f10-2c7b5e9d4a31"
},
"theme_id": 1,
"api": {
"search": "https://api.dooki.com.br/v2/sualoja/public/search"
},
"checkout": {
"base_domain": "https://sualoja.pay.yampi.com.br",
"skip_cart": true,
"person_type": "all",
"items": "<string>",
"items_json": "<string>",
"redirect_to": "<string>",
"orders": "<string>",
"store_token": "<string>",
"default_card": "<string>",
"shopper_url": "<string>"
},
"manifest": {
"name": "<string>",
"short_name": "<string>",
"start_url": "<string>",
"description": "<string>",
"lang": "<string>"
},
"meta": {
"title": "<string>",
"description": "<string>",
"icons": {
"default": "<string>"
}
},
"company": {
"person_type": "<string>",
"cnpj": "<string>",
"razao_social": "<string>",
"name": "<string>",
"cpf": "<string>",
"phone": {
"code": "<string>",
"formated_number": "<string>",
"number": "<string>"
},
"whatsapp": {
"formated_number": "<string>",
"number": "<string>",
"url": "<string>"
},
"email": "jsmith@example.com",
"address": {
"street": "<string>",
"number": "<string>",
"complement": "<string>",
"neighborhood": "<string>",
"city": "<string>",
"state": "<string>",
"zipcode": "<string>",
"full_address": "<string>"
},
"social": {
"facebook_url": "<string>",
"instagram_url": "<string>",
"youtube_url": "<string>",
"pinterest_url": "<string>",
"tiktok_url": "<string>",
"twitter_url": "<string>"
}
},
"payments": [
{
"active": true,
"alias": "<string>",
"name": "<string>",
"icon_url": "<string>",
"percent_discount": "<string>"
}
],
"payment_methods": [
{
"type": "pix",
"name": "<string>",
"discount_percent": 123,
"brands": [
"visa"
],
"installments": {
"max": 123,
"interest_free": 123,
"min_value": 123
}
}
],
"shipping": [
{
"uf": "SP",
"min": 123,
"service_name": "PAC",
"has_excluded_products": true
}
],
"pickup": [
{
"id": 123,
"local_description": "<string>",
"street": "<string>",
"number": "<string>",
"complement": "<string>",
"neighborhood": "<string>",
"city": "<string>",
"uf": "SP",
"zipcode": "01001000",
"days": {
"monday": [
[
"08:00",
"12:00"
],
[
"13:00",
"18:00"
]
]
},
"pickup_time": 123,
"pickup_time_type": "days",
"only_weekdays": true
}
],
"scripts": {
"all": [
"<string>"
]
},
"categories": [
{
"id": 123,
"featured": true,
"parent_id": 123,
"is_parent": true,
"name": "<string>",
"slug": "<string>",
"url": "<string>",
"url_path": "<string>",
"path": "<string>",
"category_cover": "<string>",
"order": 123,
"children": {
"data": [
{}
]
}
}
],
"promotion": [
{
"id": 123,
"name": "<string>",
"slug": "<string>",
"url": "<string>"
}
],
"services": {
"google": {
"analytics": "<string>",
"analytics_v4": "<string>",
"criteo": "<string>",
"tag_manager": {
"header": "<string>",
"gtm_code": "<string>"
},
"ads_pixels": [
"<string>"
]
},
"chat": "<string>"
},
"pages": [
{
"name": "<string>",
"slug": "<string>",
"path": "<string>"
}
],
"cookies_policy": [
"<string>"
],
"meta_tags": [
"<string>"
],
"cashbacks": [
"<string>"
]
}Loja
Listar todas as Informações públicas de uma loja
Retorna as Informações públicas de uma loja
GET
/
whois
/
{domain}
Listar todas as Informações públicas de uma loja
curl --request GET \
--url https://api.dooki.com.br/v2/whois/{domain} \
--header 'User-Secret-Key: <api-key>' \
--header 'User-Token: <api-key>'import requests
url = "https://api.dooki.com.br/v2/whois/{domain}"
headers = {
"User-Token": "<api-key>",
"User-Secret-Key": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {'User-Token': '<api-key>', 'User-Secret-Key': '<api-key>'}
};
fetch('https://api.dooki.com.br/v2/whois/{domain}', 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.dooki.com.br/v2/whois/{domain}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"User-Secret-Key: <api-key>",
"User-Token: <api-key>"
],
]);
$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.dooki.com.br/v2/whois/{domain}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("User-Token", "<api-key>")
req.Header.Add("User-Secret-Key", "<api-key>")
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.dooki.com.br/v2/whois/{domain}")
.header("User-Token", "<api-key>")
.header("User-Secret-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.dooki.com.br/v2/whois/{domain}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["User-Token"] = '<api-key>'
request["User-Secret-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"id": 123456,
"alias": "sualoja",
"domain": "sualoja.com",
"base_url": "https://www.sualoja.com",
"logo_url": "https://images.yampi.me/assets/stores/sualoja/uploads/logo/62c5e006baf74.png",
"has_mp": true,
"suspended": false,
"theme": {
"id": 1,
"alias": "rocket",
"installation_id": "9f8b2c14-5d3a-4a6e-8f10-2c7b5e9d4a31"
},
"theme_id": 1,
"api": {
"search": "https://api.dooki.com.br/v2/sualoja/public/search"
},
"checkout": {
"base_domain": "https://sualoja.pay.yampi.com.br",
"skip_cart": true,
"person_type": "all",
"items": "<string>",
"items_json": "<string>",
"redirect_to": "<string>",
"orders": "<string>",
"store_token": "<string>",
"default_card": "<string>",
"shopper_url": "<string>"
},
"manifest": {
"name": "<string>",
"short_name": "<string>",
"start_url": "<string>",
"description": "<string>",
"lang": "<string>"
},
"meta": {
"title": "<string>",
"description": "<string>",
"icons": {
"default": "<string>"
}
},
"company": {
"person_type": "<string>",
"cnpj": "<string>",
"razao_social": "<string>",
"name": "<string>",
"cpf": "<string>",
"phone": {
"code": "<string>",
"formated_number": "<string>",
"number": "<string>"
},
"whatsapp": {
"formated_number": "<string>",
"number": "<string>",
"url": "<string>"
},
"email": "jsmith@example.com",
"address": {
"street": "<string>",
"number": "<string>",
"complement": "<string>",
"neighborhood": "<string>",
"city": "<string>",
"state": "<string>",
"zipcode": "<string>",
"full_address": "<string>"
},
"social": {
"facebook_url": "<string>",
"instagram_url": "<string>",
"youtube_url": "<string>",
"pinterest_url": "<string>",
"tiktok_url": "<string>",
"twitter_url": "<string>"
}
},
"payments": [
{
"active": true,
"alias": "<string>",
"name": "<string>",
"icon_url": "<string>",
"percent_discount": "<string>"
}
],
"payment_methods": [
{
"type": "pix",
"name": "<string>",
"discount_percent": 123,
"brands": [
"visa"
],
"installments": {
"max": 123,
"interest_free": 123,
"min_value": 123
}
}
],
"shipping": [
{
"uf": "SP",
"min": 123,
"service_name": "PAC",
"has_excluded_products": true
}
],
"pickup": [
{
"id": 123,
"local_description": "<string>",
"street": "<string>",
"number": "<string>",
"complement": "<string>",
"neighborhood": "<string>",
"city": "<string>",
"uf": "SP",
"zipcode": "01001000",
"days": {
"monday": [
[
"08:00",
"12:00"
],
[
"13:00",
"18:00"
]
]
},
"pickup_time": 123,
"pickup_time_type": "days",
"only_weekdays": true
}
],
"scripts": {
"all": [
"<string>"
]
},
"categories": [
{
"id": 123,
"featured": true,
"parent_id": 123,
"is_parent": true,
"name": "<string>",
"slug": "<string>",
"url": "<string>",
"url_path": "<string>",
"path": "<string>",
"category_cover": "<string>",
"order": 123,
"children": {
"data": [
{}
]
}
}
],
"promotion": [
{
"id": 123,
"name": "<string>",
"slug": "<string>",
"url": "<string>"
}
],
"services": {
"google": {
"analytics": "<string>",
"analytics_v4": "<string>",
"criteo": "<string>",
"tag_manager": {
"header": "<string>",
"gtm_code": "<string>"
},
"ads_pixels": [
"<string>"
]
},
"chat": "<string>"
},
"pages": [
{
"name": "<string>",
"slug": "<string>",
"path": "<string>"
}
],
"cookies_policy": [
"<string>"
],
"meta_tags": [
"<string>"
],
"cashbacks": [
"<string>"
]
}Response
Informações públicas da Loja
Dados públicos da loja, expostos para a vitrine e o checkout.
Was this page helpful?