GET Product Search Autocomplete
{{baseUrl}}/buscaautocomplete
HEADERS

Content-Type
Accept
QUERY PARAMS

productNameContains
Examples
REQUEST

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/buscaautocomplete?productNameContains=");

struct curl_slist *headers = NULL;
headers = curl_slist_append(headers, "content-type: ");
headers = curl_slist_append(headers, "accept: ");
curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);

CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])

(client/get "{{baseUrl}}/buscaautocomplete" {:headers {:content-type ""
                                                                       :accept ""}
                                                             :query-params {:productNameContains ""}})
require "http/client"

url = "{{baseUrl}}/buscaautocomplete?productNameContains="
headers = HTTP::Headers{
  "content-type" => ""
  "accept" => ""
}

response = HTTP::Client.get url, headers: headers
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
    Method = HttpMethod.Get,
    RequestUri = new Uri("{{baseUrl}}/buscaautocomplete?productNameContains="),
    Headers =
    {
        { "accept", "" },
    },
};
using (var response = await client.SendAsync(request))
{
    response.EnsureSuccessStatusCode();
    var body = await response.Content.ReadAsStringAsync();
    Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/buscaautocomplete?productNameContains=");
var request = new RestRequest("", Method.Get);
request.AddHeader("content-type", "");
request.AddHeader("accept", "");
var response = client.Execute(request);
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "{{baseUrl}}/buscaautocomplete?productNameContains="

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("content-type", "")
	req.Header.Add("accept", "")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
GET /baseUrl/buscaautocomplete?productNameContains= HTTP/1.1
Content-Type: 
Accept: 
Host: example.com

AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/buscaautocomplete?productNameContains=")
  .setHeader("content-type", "")
  .setHeader("accept", "")
  .execute()
  .toCompletableFuture()
  .thenAccept(System.out::println)
  .join();

client.close();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("{{baseUrl}}/buscaautocomplete?productNameContains="))
    .header("content-type", "")
    .header("accept", "")
    .method("GET", HttpRequest.BodyPublishers.noBody())
    .build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("{{baseUrl}}/buscaautocomplete?productNameContains=")
  .get()
  .addHeader("content-type", "")
  .addHeader("accept", "")
  .build();

Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/buscaautocomplete?productNameContains=")
  .header("content-type", "")
  .header("accept", "")
  .asString();
const data = null;

const xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener('readystatechange', function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open('GET', '{{baseUrl}}/buscaautocomplete?productNameContains=');
xhr.setRequestHeader('content-type', '');
xhr.setRequestHeader('accept', '');

xhr.send(data);
import axios from 'axios';

const options = {
  method: 'GET',
  url: '{{baseUrl}}/buscaautocomplete',
  params: {productNameContains: ''},
  headers: {'content-type': '', accept: ''}
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const url = '{{baseUrl}}/buscaautocomplete?productNameContains=';
const options = {method: 'GET', headers: {'content-type': '', accept: ''}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
const settings = {
  async: true,
  crossDomain: true,
  url: '{{baseUrl}}/buscaautocomplete?productNameContains=',
  method: 'GET',
  headers: {
    'content-type': '',
    accept: ''
  }
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
val client = OkHttpClient()

val request = Request.Builder()
  .url("{{baseUrl}}/buscaautocomplete?productNameContains=")
  .get()
  .addHeader("content-type", "")
  .addHeader("accept", "")
  .build()

val response = client.newCall(request).execute()
const http = require('https');

const options = {
  method: 'GET',
  hostname: 'example.com',
  port: null,
  path: '/baseUrl/buscaautocomplete?productNameContains=',
  headers: {
    'content-type': '',
    accept: ''
  }
};

const req = http.request(options, function (res) {
  const chunks = [];

  res.on('data', function (chunk) {
    chunks.push(chunk);
  });

  res.on('end', function () {
    const body = Buffer.concat(chunks);
    console.log(body.toString());
  });
});

req.end();
const request = require('request');

const options = {
  method: 'GET',
  url: '{{baseUrl}}/buscaautocomplete',
  qs: {productNameContains: ''},
  headers: {'content-type': '', accept: ''}
};

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
const unirest = require('unirest');

const req = unirest('GET', '{{baseUrl}}/buscaautocomplete');

req.query({
  productNameContains: ''
});

req.headers({
  'content-type': '',
  accept: ''
});

req.end(function (res) {
  if (res.error) throw new Error(res.error);

  console.log(res.body);
});
const axios = require('axios').default;

const options = {
  method: 'GET',
  url: '{{baseUrl}}/buscaautocomplete',
  params: {productNameContains: ''},
  headers: {'content-type': '', accept: ''}
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const fetch = require('node-fetch');

const url = '{{baseUrl}}/buscaautocomplete?productNameContains=';
const options = {method: 'GET', headers: {'content-type': '', accept: ''}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
#import 

NSDictionary *headers = @{ @"content-type": @"",
                           @"accept": @"" };

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/buscaautocomplete?productNameContains="]
                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy
                                                   timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
[request setAllHTTPHeaderFields:headers];

NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
                                                if (error) {
                                                    NSLog(@"%@", error);
                                                } else {
                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
                                                    NSLog(@"%@", httpResponse);
                                                }
                                            }];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt

let uri = Uri.of_string "{{baseUrl}}/buscaautocomplete?productNameContains=" in
let headers = Header.add_list (Header.init ()) [
  ("content-type", "");
  ("accept", "");
] in

Client.call ~headers `GET uri
>>= fun (res, body_stream) ->
  (* Do stuff with the result *)
 "{{baseUrl}}/buscaautocomplete?productNameContains=",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
  CURLOPT_HTTPHEADER => [
    "accept: ",
    "content-type: "
  ],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
request('GET', '{{baseUrl}}/buscaautocomplete?productNameContains=', [
  'headers' => [
    'accept' => '',
    'content-type' => '',
  ],
]);

echo $response->getBody();
setUrl('{{baseUrl}}/buscaautocomplete');
$request->setMethod(HTTP_METH_GET);

$request->setQueryData([
  'productNameContains' => ''
]);

$request->setHeaders([
  'content-type' => '',
  'accept' => ''
]);

try {
  $response = $request->send();

  echo $response->getBody();
} catch (HttpException $ex) {
  echo $ex;
}
setRequestUrl('{{baseUrl}}/buscaautocomplete');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
  'productNameContains' => ''
]));

$request->setHeaders([
  'content-type' => '',
  'accept' => ''
]);

$client->enqueue($request)->send();
$response = $client->getResponse();

echo $response->getBody();
$headers=@{}
$headers.Add("content-type", "")
$headers.Add("accept", "")
$response = Invoke-WebRequest -Uri '{{baseUrl}}/buscaautocomplete?productNameContains=' -Method GET -Headers $headers
$headers=@{}
$headers.Add("content-type", "")
$headers.Add("accept", "")
$response = Invoke-RestMethod -Uri '{{baseUrl}}/buscaautocomplete?productNameContains=' -Method GET -Headers $headers
import http.client

conn = http.client.HTTPSConnection("example.com")

headers = {
    'content-type': "",
    'accept': ""
}

conn.request("GET", "/baseUrl/buscaautocomplete?productNameContains=", headers=headers)

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
import requests

url = "{{baseUrl}}/buscaautocomplete"

querystring = {"productNameContains":""}

headers = {
    "content-type": "",
    "accept": ""
}

response = requests.get(url, headers=headers, params=querystring)

print(response.json())
library(httr)

url <- "{{baseUrl}}/buscaautocomplete"

queryString <- list(productNameContains = "")

response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))

content(response, "text")
require 'uri'
require 'net/http'

url = URI("{{baseUrl}}/buscaautocomplete?productNameContains=")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["content-type"] = ''
request["accept"] = ''

response = http.request(request)
puts response.read_body
require 'faraday'

conn = Faraday.new(
  url: 'https://example.com',
)

response = conn.get('/baseUrl/buscaautocomplete') do |req|
  req.headers['accept'] = ''
  req.params['productNameContains'] = ''
end

puts response.status
puts response.body
use reqwest;

#[tokio::main]
pub async fn main() {
    let url = "{{baseUrl}}/buscaautocomplete";

    let querystring = [
        ("productNameContains", ""),
    ];

    let mut headers = reqwest::header::HeaderMap::new();
    headers.insert("content-type", "".parse().unwrap());
    headers.insert("accept", "".parse().unwrap());

    let client = reqwest::Client::new();
    let response = client.get(url)
        .query(&querystring)
        .headers(headers)
        .send()
        .await;

    let results = response.unwrap()
        .json::()
        .await
        .unwrap();

    dbg!(results);
}
curl --request GET \
  --url '{{baseUrl}}/buscaautocomplete?productNameContains=' \
  --header 'accept: ' \
  --header 'content-type: '
http GET '{{baseUrl}}/buscaautocomplete?productNameContains=' \
  accept:'' \
  content-type:''
wget --quiet \
  --method GET \
  --header 'content-type: ' \
  --header 'accept: ' \
  --output-document \
  - '{{baseUrl}}/buscaautocomplete?productNameContains='
import Foundation

let headers = [
  "content-type": "",
  "accept": ""
]

let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/buscaautocomplete?productNameContains=")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
RESPONSE HEADERS

Content-Type
application/json
RESPONSE BODY json

{
  "itemsReturned": [
    {
      "criteria": "£Cacilds in Coronas¢/coronas/Cacilds",
      "href": "https://merch.vtexcommercestable.com.br/coronas/Cacilds",
      "items": [],
      "name": "Cacilds in Coronas",
      "thumb": "",
      "thumbUrl": null
    },
    {
      "criteria": null,
      "href": "https://merch.vtexcommercestable.com.br/bay-max-3/p",
      "items": [
        {
          "imageUrl": "https://merch.vteximg.com.br/arquivos/ids/172754-25-25/Diablo.jpg?v=637521970448770000",
          "itemId": "5",
          "name": "Llf",
          "nameComplete": "Cacilds Llf",
          "productId": "3"
        }
      ],
      "name": "cacilds - llf",
      "thumb": "\"image-433ec3e72d7e4b94964481e843c9dd88\"",
      "thumbUrl": "https://merch.vteximg.com.br/arquivos/ids/172754-25-25/Diablo.jpg?v=637521970448770000"
    }
  ]
}
GET Get Product Search of Accessories
{{baseUrl}}/api/catalog_system/pub/products/crossselling/accessories/:productId
HEADERS

Accept
Content-Type
QUERY PARAMS

productId
Examples
REQUEST

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/api/catalog_system/pub/products/crossselling/accessories/:productId");

struct curl_slist *headers = NULL;
headers = curl_slist_append(headers, "accept: ");
headers = curl_slist_append(headers, "content-type: ");
curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);

CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])

(client/get "{{baseUrl}}/api/catalog_system/pub/products/crossselling/accessories/:productId" {:headers {:accept ""
                                                                                                                         :content-type ""}})
require "http/client"

url = "{{baseUrl}}/api/catalog_system/pub/products/crossselling/accessories/:productId"
headers = HTTP::Headers{
  "accept" => ""
  "content-type" => ""
}

response = HTTP::Client.get url, headers: headers
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
    Method = HttpMethod.Get,
    RequestUri = new Uri("{{baseUrl}}/api/catalog_system/pub/products/crossselling/accessories/:productId"),
    Headers =
    {
        { "accept", "" },
    },
};
using (var response = await client.SendAsync(request))
{
    response.EnsureSuccessStatusCode();
    var body = await response.Content.ReadAsStringAsync();
    Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/api/catalog_system/pub/products/crossselling/accessories/:productId");
var request = new RestRequest("", Method.Get);
request.AddHeader("accept", "");
request.AddHeader("content-type", "");
var response = client.Execute(request);
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "{{baseUrl}}/api/catalog_system/pub/products/crossselling/accessories/:productId"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("accept", "")
	req.Header.Add("content-type", "")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
GET /baseUrl/api/catalog_system/pub/products/crossselling/accessories/:productId HTTP/1.1
Accept: 
Content-Type: 
Host: example.com

AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/api/catalog_system/pub/products/crossselling/accessories/:productId")
  .setHeader("accept", "")
  .setHeader("content-type", "")
  .execute()
  .toCompletableFuture()
  .thenAccept(System.out::println)
  .join();

client.close();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("{{baseUrl}}/api/catalog_system/pub/products/crossselling/accessories/:productId"))
    .header("accept", "")
    .header("content-type", "")
    .method("GET", HttpRequest.BodyPublishers.noBody())
    .build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("{{baseUrl}}/api/catalog_system/pub/products/crossselling/accessories/:productId")
  .get()
  .addHeader("accept", "")
  .addHeader("content-type", "")
  .build();

Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/api/catalog_system/pub/products/crossselling/accessories/:productId")
  .header("accept", "")
  .header("content-type", "")
  .asString();
const data = null;

const xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener('readystatechange', function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open('GET', '{{baseUrl}}/api/catalog_system/pub/products/crossselling/accessories/:productId');
xhr.setRequestHeader('accept', '');
xhr.setRequestHeader('content-type', '');

xhr.send(data);
import axios from 'axios';

const options = {
  method: 'GET',
  url: '{{baseUrl}}/api/catalog_system/pub/products/crossselling/accessories/:productId',
  headers: {accept: '', 'content-type': ''}
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const url = '{{baseUrl}}/api/catalog_system/pub/products/crossselling/accessories/:productId';
const options = {method: 'GET', headers: {accept: '', 'content-type': ''}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
const settings = {
  async: true,
  crossDomain: true,
  url: '{{baseUrl}}/api/catalog_system/pub/products/crossselling/accessories/:productId',
  method: 'GET',
  headers: {
    accept: '',
    'content-type': ''
  }
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
val client = OkHttpClient()

val request = Request.Builder()
  .url("{{baseUrl}}/api/catalog_system/pub/products/crossselling/accessories/:productId")
  .get()
  .addHeader("accept", "")
  .addHeader("content-type", "")
  .build()

val response = client.newCall(request).execute()
const http = require('https');

const options = {
  method: 'GET',
  hostname: 'example.com',
  port: null,
  path: '/baseUrl/api/catalog_system/pub/products/crossselling/accessories/:productId',
  headers: {
    accept: '',
    'content-type': ''
  }
};

const req = http.request(options, function (res) {
  const chunks = [];

  res.on('data', function (chunk) {
    chunks.push(chunk);
  });

  res.on('end', function () {
    const body = Buffer.concat(chunks);
    console.log(body.toString());
  });
});

req.end();
const request = require('request');

const options = {
  method: 'GET',
  url: '{{baseUrl}}/api/catalog_system/pub/products/crossselling/accessories/:productId',
  headers: {accept: '', 'content-type': ''}
};

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
const unirest = require('unirest');

const req = unirest('GET', '{{baseUrl}}/api/catalog_system/pub/products/crossselling/accessories/:productId');

req.headers({
  accept: '',
  'content-type': ''
});

req.end(function (res) {
  if (res.error) throw new Error(res.error);

  console.log(res.body);
});
const axios = require('axios').default;

const options = {
  method: 'GET',
  url: '{{baseUrl}}/api/catalog_system/pub/products/crossselling/accessories/:productId',
  headers: {accept: '', 'content-type': ''}
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const fetch = require('node-fetch');

const url = '{{baseUrl}}/api/catalog_system/pub/products/crossselling/accessories/:productId';
const options = {method: 'GET', headers: {accept: '', 'content-type': ''}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
#import 

NSDictionary *headers = @{ @"accept": @"",
                           @"content-type": @"" };

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/api/catalog_system/pub/products/crossselling/accessories/:productId"]
                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy
                                                   timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
[request setAllHTTPHeaderFields:headers];

NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
                                                if (error) {
                                                    NSLog(@"%@", error);
                                                } else {
                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
                                                    NSLog(@"%@", httpResponse);
                                                }
                                            }];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt

let uri = Uri.of_string "{{baseUrl}}/api/catalog_system/pub/products/crossselling/accessories/:productId" in
let headers = Header.add_list (Header.init ()) [
  ("accept", "");
  ("content-type", "");
] in

Client.call ~headers `GET uri
>>= fun (res, body_stream) ->
  (* Do stuff with the result *)
 "{{baseUrl}}/api/catalog_system/pub/products/crossselling/accessories/:productId",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
  CURLOPT_HTTPHEADER => [
    "accept: ",
    "content-type: "
  ],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
request('GET', '{{baseUrl}}/api/catalog_system/pub/products/crossselling/accessories/:productId', [
  'headers' => [
    'accept' => '',
    'content-type' => '',
  ],
]);

echo $response->getBody();
setUrl('{{baseUrl}}/api/catalog_system/pub/products/crossselling/accessories/:productId');
$request->setMethod(HTTP_METH_GET);

$request->setHeaders([
  'accept' => '',
  'content-type' => ''
]);

try {
  $response = $request->send();

  echo $response->getBody();
} catch (HttpException $ex) {
  echo $ex;
}
setRequestUrl('{{baseUrl}}/api/catalog_system/pub/products/crossselling/accessories/:productId');
$request->setRequestMethod('GET');
$request->setHeaders([
  'accept' => '',
  'content-type' => ''
]);

$client->enqueue($request)->send();
$response = $client->getResponse();

echo $response->getBody();
$headers=@{}
$headers.Add("accept", "")
$headers.Add("content-type", "")
$response = Invoke-WebRequest -Uri '{{baseUrl}}/api/catalog_system/pub/products/crossselling/accessories/:productId' -Method GET -Headers $headers
$headers=@{}
$headers.Add("accept", "")
$headers.Add("content-type", "")
$response = Invoke-RestMethod -Uri '{{baseUrl}}/api/catalog_system/pub/products/crossselling/accessories/:productId' -Method GET -Headers $headers
import http.client

conn = http.client.HTTPSConnection("example.com")

headers = {
    'accept': "",
    'content-type': ""
}

conn.request("GET", "/baseUrl/api/catalog_system/pub/products/crossselling/accessories/:productId", headers=headers)

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
import requests

url = "{{baseUrl}}/api/catalog_system/pub/products/crossselling/accessories/:productId"

headers = {
    "accept": "",
    "content-type": ""
}

response = requests.get(url, headers=headers)

print(response.json())
library(httr)

url <- "{{baseUrl}}/api/catalog_system/pub/products/crossselling/accessories/:productId"

response <- VERB("GET", url, content_type("application/octet-stream"))

content(response, "text")
require 'uri'
require 'net/http'

url = URI("{{baseUrl}}/api/catalog_system/pub/products/crossselling/accessories/:productId")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["accept"] = ''
request["content-type"] = ''

response = http.request(request)
puts response.read_body
require 'faraday'

conn = Faraday.new(
  url: 'https://example.com',
)

response = conn.get('/baseUrl/api/catalog_system/pub/products/crossselling/accessories/:productId') do |req|
  req.headers['accept'] = ''
end

puts response.status
puts response.body
use reqwest;

#[tokio::main]
pub async fn main() {
    let url = "{{baseUrl}}/api/catalog_system/pub/products/crossselling/accessories/:productId";

    let mut headers = reqwest::header::HeaderMap::new();
    headers.insert("accept", "".parse().unwrap());
    headers.insert("content-type", "".parse().unwrap());

    let client = reqwest::Client::new();
    let response = client.get(url)
        .headers(headers)
        .send()
        .await;

    let results = response.unwrap()
        .json::()
        .await
        .unwrap();

    dbg!(results);
}
curl --request GET \
  --url {{baseUrl}}/api/catalog_system/pub/products/crossselling/accessories/:productId \
  --header 'accept: ' \
  --header 'content-type: '
http GET {{baseUrl}}/api/catalog_system/pub/products/crossselling/accessories/:productId \
  accept:'' \
  content-type:''
wget --quiet \
  --method GET \
  --header 'accept: ' \
  --header 'content-type: ' \
  --output-document \
  - {{baseUrl}}/api/catalog_system/pub/products/crossselling/accessories/:productId
import Foundation

let headers = [
  "accept": "",
  "content-type": ""
]

let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/api/catalog_system/pub/products/crossselling/accessories/:productId")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
GET Get Product Search of Show Together
{{baseUrl}}/api/catalog_system/pub/products/crossselling/showtogether/:productId
HEADERS

Accept
Content-Type
QUERY PARAMS

productId
Examples
REQUEST

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/api/catalog_system/pub/products/crossselling/showtogether/:productId");

struct curl_slist *headers = NULL;
headers = curl_slist_append(headers, "accept: ");
headers = curl_slist_append(headers, "content-type: ");
curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);

CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])

(client/get "{{baseUrl}}/api/catalog_system/pub/products/crossselling/showtogether/:productId" {:headers {:accept ""
                                                                                                                          :content-type ""}})
require "http/client"

url = "{{baseUrl}}/api/catalog_system/pub/products/crossselling/showtogether/:productId"
headers = HTTP::Headers{
  "accept" => ""
  "content-type" => ""
}

response = HTTP::Client.get url, headers: headers
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
    Method = HttpMethod.Get,
    RequestUri = new Uri("{{baseUrl}}/api/catalog_system/pub/products/crossselling/showtogether/:productId"),
    Headers =
    {
        { "accept", "" },
    },
};
using (var response = await client.SendAsync(request))
{
    response.EnsureSuccessStatusCode();
    var body = await response.Content.ReadAsStringAsync();
    Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/api/catalog_system/pub/products/crossselling/showtogether/:productId");
var request = new RestRequest("", Method.Get);
request.AddHeader("accept", "");
request.AddHeader("content-type", "");
var response = client.Execute(request);
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "{{baseUrl}}/api/catalog_system/pub/products/crossselling/showtogether/:productId"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("accept", "")
	req.Header.Add("content-type", "")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
GET /baseUrl/api/catalog_system/pub/products/crossselling/showtogether/:productId HTTP/1.1
Accept: 
Content-Type: 
Host: example.com

AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/api/catalog_system/pub/products/crossselling/showtogether/:productId")
  .setHeader("accept", "")
  .setHeader("content-type", "")
  .execute()
  .toCompletableFuture()
  .thenAccept(System.out::println)
  .join();

client.close();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("{{baseUrl}}/api/catalog_system/pub/products/crossselling/showtogether/:productId"))
    .header("accept", "")
    .header("content-type", "")
    .method("GET", HttpRequest.BodyPublishers.noBody())
    .build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("{{baseUrl}}/api/catalog_system/pub/products/crossselling/showtogether/:productId")
  .get()
  .addHeader("accept", "")
  .addHeader("content-type", "")
  .build();

Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/api/catalog_system/pub/products/crossselling/showtogether/:productId")
  .header("accept", "")
  .header("content-type", "")
  .asString();
const data = null;

const xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener('readystatechange', function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open('GET', '{{baseUrl}}/api/catalog_system/pub/products/crossselling/showtogether/:productId');
xhr.setRequestHeader('accept', '');
xhr.setRequestHeader('content-type', '');

xhr.send(data);
import axios from 'axios';

const options = {
  method: 'GET',
  url: '{{baseUrl}}/api/catalog_system/pub/products/crossselling/showtogether/:productId',
  headers: {accept: '', 'content-type': ''}
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const url = '{{baseUrl}}/api/catalog_system/pub/products/crossselling/showtogether/:productId';
const options = {method: 'GET', headers: {accept: '', 'content-type': ''}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
const settings = {
  async: true,
  crossDomain: true,
  url: '{{baseUrl}}/api/catalog_system/pub/products/crossselling/showtogether/:productId',
  method: 'GET',
  headers: {
    accept: '',
    'content-type': ''
  }
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
val client = OkHttpClient()

val request = Request.Builder()
  .url("{{baseUrl}}/api/catalog_system/pub/products/crossselling/showtogether/:productId")
  .get()
  .addHeader("accept", "")
  .addHeader("content-type", "")
  .build()

val response = client.newCall(request).execute()
const http = require('https');

const options = {
  method: 'GET',
  hostname: 'example.com',
  port: null,
  path: '/baseUrl/api/catalog_system/pub/products/crossselling/showtogether/:productId',
  headers: {
    accept: '',
    'content-type': ''
  }
};

const req = http.request(options, function (res) {
  const chunks = [];

  res.on('data', function (chunk) {
    chunks.push(chunk);
  });

  res.on('end', function () {
    const body = Buffer.concat(chunks);
    console.log(body.toString());
  });
});

req.end();
const request = require('request');

const options = {
  method: 'GET',
  url: '{{baseUrl}}/api/catalog_system/pub/products/crossselling/showtogether/:productId',
  headers: {accept: '', 'content-type': ''}
};

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
const unirest = require('unirest');

const req = unirest('GET', '{{baseUrl}}/api/catalog_system/pub/products/crossselling/showtogether/:productId');

req.headers({
  accept: '',
  'content-type': ''
});

req.end(function (res) {
  if (res.error) throw new Error(res.error);

  console.log(res.body);
});
const axios = require('axios').default;

const options = {
  method: 'GET',
  url: '{{baseUrl}}/api/catalog_system/pub/products/crossselling/showtogether/:productId',
  headers: {accept: '', 'content-type': ''}
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const fetch = require('node-fetch');

const url = '{{baseUrl}}/api/catalog_system/pub/products/crossselling/showtogether/:productId';
const options = {method: 'GET', headers: {accept: '', 'content-type': ''}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
#import 

NSDictionary *headers = @{ @"accept": @"",
                           @"content-type": @"" };

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/api/catalog_system/pub/products/crossselling/showtogether/:productId"]
                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy
                                                   timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
[request setAllHTTPHeaderFields:headers];

NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
                                                if (error) {
                                                    NSLog(@"%@", error);
                                                } else {
                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
                                                    NSLog(@"%@", httpResponse);
                                                }
                                            }];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt

let uri = Uri.of_string "{{baseUrl}}/api/catalog_system/pub/products/crossselling/showtogether/:productId" in
let headers = Header.add_list (Header.init ()) [
  ("accept", "");
  ("content-type", "");
] in

Client.call ~headers `GET uri
>>= fun (res, body_stream) ->
  (* Do stuff with the result *)
 "{{baseUrl}}/api/catalog_system/pub/products/crossselling/showtogether/:productId",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
  CURLOPT_HTTPHEADER => [
    "accept: ",
    "content-type: "
  ],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
request('GET', '{{baseUrl}}/api/catalog_system/pub/products/crossselling/showtogether/:productId', [
  'headers' => [
    'accept' => '',
    'content-type' => '',
  ],
]);

echo $response->getBody();
setUrl('{{baseUrl}}/api/catalog_system/pub/products/crossselling/showtogether/:productId');
$request->setMethod(HTTP_METH_GET);

$request->setHeaders([
  'accept' => '',
  'content-type' => ''
]);

try {
  $response = $request->send();

  echo $response->getBody();
} catch (HttpException $ex) {
  echo $ex;
}
setRequestUrl('{{baseUrl}}/api/catalog_system/pub/products/crossselling/showtogether/:productId');
$request->setRequestMethod('GET');
$request->setHeaders([
  'accept' => '',
  'content-type' => ''
]);

$client->enqueue($request)->send();
$response = $client->getResponse();

echo $response->getBody();
$headers=@{}
$headers.Add("accept", "")
$headers.Add("content-type", "")
$response = Invoke-WebRequest -Uri '{{baseUrl}}/api/catalog_system/pub/products/crossselling/showtogether/:productId' -Method GET -Headers $headers
$headers=@{}
$headers.Add("accept", "")
$headers.Add("content-type", "")
$response = Invoke-RestMethod -Uri '{{baseUrl}}/api/catalog_system/pub/products/crossselling/showtogether/:productId' -Method GET -Headers $headers
import http.client

conn = http.client.HTTPSConnection("example.com")

headers = {
    'accept': "",
    'content-type': ""
}

conn.request("GET", "/baseUrl/api/catalog_system/pub/products/crossselling/showtogether/:productId", headers=headers)

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
import requests

url = "{{baseUrl}}/api/catalog_system/pub/products/crossselling/showtogether/:productId"

headers = {
    "accept": "",
    "content-type": ""
}

response = requests.get(url, headers=headers)

print(response.json())
library(httr)

url <- "{{baseUrl}}/api/catalog_system/pub/products/crossselling/showtogether/:productId"

response <- VERB("GET", url, content_type("application/octet-stream"))

content(response, "text")
require 'uri'
require 'net/http'

url = URI("{{baseUrl}}/api/catalog_system/pub/products/crossselling/showtogether/:productId")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["accept"] = ''
request["content-type"] = ''

response = http.request(request)
puts response.read_body
require 'faraday'

conn = Faraday.new(
  url: 'https://example.com',
)

response = conn.get('/baseUrl/api/catalog_system/pub/products/crossselling/showtogether/:productId') do |req|
  req.headers['accept'] = ''
end

puts response.status
puts response.body
use reqwest;

#[tokio::main]
pub async fn main() {
    let url = "{{baseUrl}}/api/catalog_system/pub/products/crossselling/showtogether/:productId";

    let mut headers = reqwest::header::HeaderMap::new();
    headers.insert("accept", "".parse().unwrap());
    headers.insert("content-type", "".parse().unwrap());

    let client = reqwest::Client::new();
    let response = client.get(url)
        .headers(headers)
        .send()
        .await;

    let results = response.unwrap()
        .json::()
        .await
        .unwrap();

    dbg!(results);
}
curl --request GET \
  --url {{baseUrl}}/api/catalog_system/pub/products/crossselling/showtogether/:productId \
  --header 'accept: ' \
  --header 'content-type: '
http GET {{baseUrl}}/api/catalog_system/pub/products/crossselling/showtogether/:productId \
  accept:'' \
  content-type:''
wget --quiet \
  --method GET \
  --header 'accept: ' \
  --header 'content-type: ' \
  --output-document \
  - {{baseUrl}}/api/catalog_system/pub/products/crossselling/showtogether/:productId
import Foundation

let headers = [
  "accept": "",
  "content-type": ""
]

let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/api/catalog_system/pub/products/crossselling/showtogether/:productId")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
GET Get Product Search of Similars
{{baseUrl}}/api/catalog_system/pub/products/crossselling/similars/:productId
HEADERS

Accept
Content-Type
QUERY PARAMS

productId
Examples
REQUEST

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/api/catalog_system/pub/products/crossselling/similars/:productId");

struct curl_slist *headers = NULL;
headers = curl_slist_append(headers, "accept: ");
headers = curl_slist_append(headers, "content-type: ");
curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);

CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])

(client/get "{{baseUrl}}/api/catalog_system/pub/products/crossselling/similars/:productId" {:headers {:accept ""
                                                                                                                      :content-type ""}})
require "http/client"

url = "{{baseUrl}}/api/catalog_system/pub/products/crossselling/similars/:productId"
headers = HTTP::Headers{
  "accept" => ""
  "content-type" => ""
}

response = HTTP::Client.get url, headers: headers
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
    Method = HttpMethod.Get,
    RequestUri = new Uri("{{baseUrl}}/api/catalog_system/pub/products/crossselling/similars/:productId"),
    Headers =
    {
        { "accept", "" },
    },
};
using (var response = await client.SendAsync(request))
{
    response.EnsureSuccessStatusCode();
    var body = await response.Content.ReadAsStringAsync();
    Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/api/catalog_system/pub/products/crossselling/similars/:productId");
var request = new RestRequest("", Method.Get);
request.AddHeader("accept", "");
request.AddHeader("content-type", "");
var response = client.Execute(request);
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "{{baseUrl}}/api/catalog_system/pub/products/crossselling/similars/:productId"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("accept", "")
	req.Header.Add("content-type", "")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
GET /baseUrl/api/catalog_system/pub/products/crossselling/similars/:productId HTTP/1.1
Accept: 
Content-Type: 
Host: example.com

AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/api/catalog_system/pub/products/crossselling/similars/:productId")
  .setHeader("accept", "")
  .setHeader("content-type", "")
  .execute()
  .toCompletableFuture()
  .thenAccept(System.out::println)
  .join();

client.close();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("{{baseUrl}}/api/catalog_system/pub/products/crossselling/similars/:productId"))
    .header("accept", "")
    .header("content-type", "")
    .method("GET", HttpRequest.BodyPublishers.noBody())
    .build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("{{baseUrl}}/api/catalog_system/pub/products/crossselling/similars/:productId")
  .get()
  .addHeader("accept", "")
  .addHeader("content-type", "")
  .build();

Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/api/catalog_system/pub/products/crossselling/similars/:productId")
  .header("accept", "")
  .header("content-type", "")
  .asString();
const data = null;

const xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener('readystatechange', function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open('GET', '{{baseUrl}}/api/catalog_system/pub/products/crossselling/similars/:productId');
xhr.setRequestHeader('accept', '');
xhr.setRequestHeader('content-type', '');

xhr.send(data);
import axios from 'axios';

const options = {
  method: 'GET',
  url: '{{baseUrl}}/api/catalog_system/pub/products/crossselling/similars/:productId',
  headers: {accept: '', 'content-type': ''}
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const url = '{{baseUrl}}/api/catalog_system/pub/products/crossselling/similars/:productId';
const options = {method: 'GET', headers: {accept: '', 'content-type': ''}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
const settings = {
  async: true,
  crossDomain: true,
  url: '{{baseUrl}}/api/catalog_system/pub/products/crossselling/similars/:productId',
  method: 'GET',
  headers: {
    accept: '',
    'content-type': ''
  }
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
val client = OkHttpClient()

val request = Request.Builder()
  .url("{{baseUrl}}/api/catalog_system/pub/products/crossselling/similars/:productId")
  .get()
  .addHeader("accept", "")
  .addHeader("content-type", "")
  .build()

val response = client.newCall(request).execute()
const http = require('https');

const options = {
  method: 'GET',
  hostname: 'example.com',
  port: null,
  path: '/baseUrl/api/catalog_system/pub/products/crossselling/similars/:productId',
  headers: {
    accept: '',
    'content-type': ''
  }
};

const req = http.request(options, function (res) {
  const chunks = [];

  res.on('data', function (chunk) {
    chunks.push(chunk);
  });

  res.on('end', function () {
    const body = Buffer.concat(chunks);
    console.log(body.toString());
  });
});

req.end();
const request = require('request');

const options = {
  method: 'GET',
  url: '{{baseUrl}}/api/catalog_system/pub/products/crossselling/similars/:productId',
  headers: {accept: '', 'content-type': ''}
};

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
const unirest = require('unirest');

const req = unirest('GET', '{{baseUrl}}/api/catalog_system/pub/products/crossselling/similars/:productId');

req.headers({
  accept: '',
  'content-type': ''
});

req.end(function (res) {
  if (res.error) throw new Error(res.error);

  console.log(res.body);
});
const axios = require('axios').default;

const options = {
  method: 'GET',
  url: '{{baseUrl}}/api/catalog_system/pub/products/crossselling/similars/:productId',
  headers: {accept: '', 'content-type': ''}
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const fetch = require('node-fetch');

const url = '{{baseUrl}}/api/catalog_system/pub/products/crossselling/similars/:productId';
const options = {method: 'GET', headers: {accept: '', 'content-type': ''}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
#import 

NSDictionary *headers = @{ @"accept": @"",
                           @"content-type": @"" };

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/api/catalog_system/pub/products/crossselling/similars/:productId"]
                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy
                                                   timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
[request setAllHTTPHeaderFields:headers];

NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
                                                if (error) {
                                                    NSLog(@"%@", error);
                                                } else {
                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
                                                    NSLog(@"%@", httpResponse);
                                                }
                                            }];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt

let uri = Uri.of_string "{{baseUrl}}/api/catalog_system/pub/products/crossselling/similars/:productId" in
let headers = Header.add_list (Header.init ()) [
  ("accept", "");
  ("content-type", "");
] in

Client.call ~headers `GET uri
>>= fun (res, body_stream) ->
  (* Do stuff with the result *)
 "{{baseUrl}}/api/catalog_system/pub/products/crossselling/similars/:productId",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
  CURLOPT_HTTPHEADER => [
    "accept: ",
    "content-type: "
  ],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
request('GET', '{{baseUrl}}/api/catalog_system/pub/products/crossselling/similars/:productId', [
  'headers' => [
    'accept' => '',
    'content-type' => '',
  ],
]);

echo $response->getBody();
setUrl('{{baseUrl}}/api/catalog_system/pub/products/crossselling/similars/:productId');
$request->setMethod(HTTP_METH_GET);

$request->setHeaders([
  'accept' => '',
  'content-type' => ''
]);

try {
  $response = $request->send();

  echo $response->getBody();
} catch (HttpException $ex) {
  echo $ex;
}
setRequestUrl('{{baseUrl}}/api/catalog_system/pub/products/crossselling/similars/:productId');
$request->setRequestMethod('GET');
$request->setHeaders([
  'accept' => '',
  'content-type' => ''
]);

$client->enqueue($request)->send();
$response = $client->getResponse();

echo $response->getBody();
$headers=@{}
$headers.Add("accept", "")
$headers.Add("content-type", "")
$response = Invoke-WebRequest -Uri '{{baseUrl}}/api/catalog_system/pub/products/crossselling/similars/:productId' -Method GET -Headers $headers
$headers=@{}
$headers.Add("accept", "")
$headers.Add("content-type", "")
$response = Invoke-RestMethod -Uri '{{baseUrl}}/api/catalog_system/pub/products/crossselling/similars/:productId' -Method GET -Headers $headers
import http.client

conn = http.client.HTTPSConnection("example.com")

headers = {
    'accept': "",
    'content-type': ""
}

conn.request("GET", "/baseUrl/api/catalog_system/pub/products/crossselling/similars/:productId", headers=headers)

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
import requests

url = "{{baseUrl}}/api/catalog_system/pub/products/crossselling/similars/:productId"

headers = {
    "accept": "",
    "content-type": ""
}

response = requests.get(url, headers=headers)

print(response.json())
library(httr)

url <- "{{baseUrl}}/api/catalog_system/pub/products/crossselling/similars/:productId"

response <- VERB("GET", url, content_type("application/octet-stream"))

content(response, "text")
require 'uri'
require 'net/http'

url = URI("{{baseUrl}}/api/catalog_system/pub/products/crossselling/similars/:productId")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["accept"] = ''
request["content-type"] = ''

response = http.request(request)
puts response.read_body
require 'faraday'

conn = Faraday.new(
  url: 'https://example.com',
)

response = conn.get('/baseUrl/api/catalog_system/pub/products/crossselling/similars/:productId') do |req|
  req.headers['accept'] = ''
end

puts response.status
puts response.body
use reqwest;

#[tokio::main]
pub async fn main() {
    let url = "{{baseUrl}}/api/catalog_system/pub/products/crossselling/similars/:productId";

    let mut headers = reqwest::header::HeaderMap::new();
    headers.insert("accept", "".parse().unwrap());
    headers.insert("content-type", "".parse().unwrap());

    let client = reqwest::Client::new();
    let response = client.get(url)
        .headers(headers)
        .send()
        .await;

    let results = response.unwrap()
        .json::()
        .await
        .unwrap();

    dbg!(results);
}
curl --request GET \
  --url {{baseUrl}}/api/catalog_system/pub/products/crossselling/similars/:productId \
  --header 'accept: ' \
  --header 'content-type: '
http GET {{baseUrl}}/api/catalog_system/pub/products/crossselling/similars/:productId \
  accept:'' \
  content-type:''
wget --quiet \
  --method GET \
  --header 'accept: ' \
  --header 'content-type: ' \
  --output-document \
  - {{baseUrl}}/api/catalog_system/pub/products/crossselling/similars/:productId
import Foundation

let headers = [
  "accept": "",
  "content-type": ""
]

let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/api/catalog_system/pub/products/crossselling/similars/:productId")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
GET Get Product Search of Suggestions
{{baseUrl}}/api/catalog_system/pub/products/crossselling/suggestions/:productId
HEADERS

Accept
Content-Type
QUERY PARAMS

productId
Examples
REQUEST

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/api/catalog_system/pub/products/crossselling/suggestions/:productId");

struct curl_slist *headers = NULL;
headers = curl_slist_append(headers, "accept: ");
headers = curl_slist_append(headers, "content-type: ");
curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);

CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])

(client/get "{{baseUrl}}/api/catalog_system/pub/products/crossselling/suggestions/:productId" {:headers {:accept ""
                                                                                                                         :content-type ""}})
require "http/client"

url = "{{baseUrl}}/api/catalog_system/pub/products/crossselling/suggestions/:productId"
headers = HTTP::Headers{
  "accept" => ""
  "content-type" => ""
}

response = HTTP::Client.get url, headers: headers
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
    Method = HttpMethod.Get,
    RequestUri = new Uri("{{baseUrl}}/api/catalog_system/pub/products/crossselling/suggestions/:productId"),
    Headers =
    {
        { "accept", "" },
    },
};
using (var response = await client.SendAsync(request))
{
    response.EnsureSuccessStatusCode();
    var body = await response.Content.ReadAsStringAsync();
    Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/api/catalog_system/pub/products/crossselling/suggestions/:productId");
var request = new RestRequest("", Method.Get);
request.AddHeader("accept", "");
request.AddHeader("content-type", "");
var response = client.Execute(request);
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "{{baseUrl}}/api/catalog_system/pub/products/crossselling/suggestions/:productId"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("accept", "")
	req.Header.Add("content-type", "")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
GET /baseUrl/api/catalog_system/pub/products/crossselling/suggestions/:productId HTTP/1.1
Accept: 
Content-Type: 
Host: example.com

AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/api/catalog_system/pub/products/crossselling/suggestions/:productId")
  .setHeader("accept", "")
  .setHeader("content-type", "")
  .execute()
  .toCompletableFuture()
  .thenAccept(System.out::println)
  .join();

client.close();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("{{baseUrl}}/api/catalog_system/pub/products/crossselling/suggestions/:productId"))
    .header("accept", "")
    .header("content-type", "")
    .method("GET", HttpRequest.BodyPublishers.noBody())
    .build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("{{baseUrl}}/api/catalog_system/pub/products/crossselling/suggestions/:productId")
  .get()
  .addHeader("accept", "")
  .addHeader("content-type", "")
  .build();

Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/api/catalog_system/pub/products/crossselling/suggestions/:productId")
  .header("accept", "")
  .header("content-type", "")
  .asString();
const data = null;

const xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener('readystatechange', function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open('GET', '{{baseUrl}}/api/catalog_system/pub/products/crossselling/suggestions/:productId');
xhr.setRequestHeader('accept', '');
xhr.setRequestHeader('content-type', '');

xhr.send(data);
import axios from 'axios';

const options = {
  method: 'GET',
  url: '{{baseUrl}}/api/catalog_system/pub/products/crossselling/suggestions/:productId',
  headers: {accept: '', 'content-type': ''}
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const url = '{{baseUrl}}/api/catalog_system/pub/products/crossselling/suggestions/:productId';
const options = {method: 'GET', headers: {accept: '', 'content-type': ''}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
const settings = {
  async: true,
  crossDomain: true,
  url: '{{baseUrl}}/api/catalog_system/pub/products/crossselling/suggestions/:productId',
  method: 'GET',
  headers: {
    accept: '',
    'content-type': ''
  }
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
val client = OkHttpClient()

val request = Request.Builder()
  .url("{{baseUrl}}/api/catalog_system/pub/products/crossselling/suggestions/:productId")
  .get()
  .addHeader("accept", "")
  .addHeader("content-type", "")
  .build()

val response = client.newCall(request).execute()
const http = require('https');

const options = {
  method: 'GET',
  hostname: 'example.com',
  port: null,
  path: '/baseUrl/api/catalog_system/pub/products/crossselling/suggestions/:productId',
  headers: {
    accept: '',
    'content-type': ''
  }
};

const req = http.request(options, function (res) {
  const chunks = [];

  res.on('data', function (chunk) {
    chunks.push(chunk);
  });

  res.on('end', function () {
    const body = Buffer.concat(chunks);
    console.log(body.toString());
  });
});

req.end();
const request = require('request');

const options = {
  method: 'GET',
  url: '{{baseUrl}}/api/catalog_system/pub/products/crossselling/suggestions/:productId',
  headers: {accept: '', 'content-type': ''}
};

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
const unirest = require('unirest');

const req = unirest('GET', '{{baseUrl}}/api/catalog_system/pub/products/crossselling/suggestions/:productId');

req.headers({
  accept: '',
  'content-type': ''
});

req.end(function (res) {
  if (res.error) throw new Error(res.error);

  console.log(res.body);
});
const axios = require('axios').default;

const options = {
  method: 'GET',
  url: '{{baseUrl}}/api/catalog_system/pub/products/crossselling/suggestions/:productId',
  headers: {accept: '', 'content-type': ''}
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const fetch = require('node-fetch');

const url = '{{baseUrl}}/api/catalog_system/pub/products/crossselling/suggestions/:productId';
const options = {method: 'GET', headers: {accept: '', 'content-type': ''}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
#import 

NSDictionary *headers = @{ @"accept": @"",
                           @"content-type": @"" };

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/api/catalog_system/pub/products/crossselling/suggestions/:productId"]
                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy
                                                   timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
[request setAllHTTPHeaderFields:headers];

NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
                                                if (error) {
                                                    NSLog(@"%@", error);
                                                } else {
                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
                                                    NSLog(@"%@", httpResponse);
                                                }
                                            }];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt

let uri = Uri.of_string "{{baseUrl}}/api/catalog_system/pub/products/crossselling/suggestions/:productId" in
let headers = Header.add_list (Header.init ()) [
  ("accept", "");
  ("content-type", "");
] in

Client.call ~headers `GET uri
>>= fun (res, body_stream) ->
  (* Do stuff with the result *)
 "{{baseUrl}}/api/catalog_system/pub/products/crossselling/suggestions/:productId",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
  CURLOPT_HTTPHEADER => [
    "accept: ",
    "content-type: "
  ],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
request('GET', '{{baseUrl}}/api/catalog_system/pub/products/crossselling/suggestions/:productId', [
  'headers' => [
    'accept' => '',
    'content-type' => '',
  ],
]);

echo $response->getBody();
setUrl('{{baseUrl}}/api/catalog_system/pub/products/crossselling/suggestions/:productId');
$request->setMethod(HTTP_METH_GET);

$request->setHeaders([
  'accept' => '',
  'content-type' => ''
]);

try {
  $response = $request->send();

  echo $response->getBody();
} catch (HttpException $ex) {
  echo $ex;
}
setRequestUrl('{{baseUrl}}/api/catalog_system/pub/products/crossselling/suggestions/:productId');
$request->setRequestMethod('GET');
$request->setHeaders([
  'accept' => '',
  'content-type' => ''
]);

$client->enqueue($request)->send();
$response = $client->getResponse();

echo $response->getBody();
$headers=@{}
$headers.Add("accept", "")
$headers.Add("content-type", "")
$response = Invoke-WebRequest -Uri '{{baseUrl}}/api/catalog_system/pub/products/crossselling/suggestions/:productId' -Method GET -Headers $headers
$headers=@{}
$headers.Add("accept", "")
$headers.Add("content-type", "")
$response = Invoke-RestMethod -Uri '{{baseUrl}}/api/catalog_system/pub/products/crossselling/suggestions/:productId' -Method GET -Headers $headers
import http.client

conn = http.client.HTTPSConnection("example.com")

headers = {
    'accept': "",
    'content-type': ""
}

conn.request("GET", "/baseUrl/api/catalog_system/pub/products/crossselling/suggestions/:productId", headers=headers)

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
import requests

url = "{{baseUrl}}/api/catalog_system/pub/products/crossselling/suggestions/:productId"

headers = {
    "accept": "",
    "content-type": ""
}

response = requests.get(url, headers=headers)

print(response.json())
library(httr)

url <- "{{baseUrl}}/api/catalog_system/pub/products/crossselling/suggestions/:productId"

response <- VERB("GET", url, content_type("application/octet-stream"))

content(response, "text")
require 'uri'
require 'net/http'

url = URI("{{baseUrl}}/api/catalog_system/pub/products/crossselling/suggestions/:productId")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["accept"] = ''
request["content-type"] = ''

response = http.request(request)
puts response.read_body
require 'faraday'

conn = Faraday.new(
  url: 'https://example.com',
)

response = conn.get('/baseUrl/api/catalog_system/pub/products/crossselling/suggestions/:productId') do |req|
  req.headers['accept'] = ''
end

puts response.status
puts response.body
use reqwest;

#[tokio::main]
pub async fn main() {
    let url = "{{baseUrl}}/api/catalog_system/pub/products/crossselling/suggestions/:productId";

    let mut headers = reqwest::header::HeaderMap::new();
    headers.insert("accept", "".parse().unwrap());
    headers.insert("content-type", "".parse().unwrap());

    let client = reqwest::Client::new();
    let response = client.get(url)
        .headers(headers)
        .send()
        .await;

    let results = response.unwrap()
        .json::()
        .await
        .unwrap();

    dbg!(results);
}
curl --request GET \
  --url {{baseUrl}}/api/catalog_system/pub/products/crossselling/suggestions/:productId \
  --header 'accept: ' \
  --header 'content-type: '
http GET {{baseUrl}}/api/catalog_system/pub/products/crossselling/suggestions/:productId \
  accept:'' \
  content-type:''
wget --quiet \
  --method GET \
  --header 'accept: ' \
  --header 'content-type: ' \
  --output-document \
  - {{baseUrl}}/api/catalog_system/pub/products/crossselling/suggestions/:productId
import Foundation

let headers = [
  "accept": "",
  "content-type": ""
]

let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/api/catalog_system/pub/products/crossselling/suggestions/:productId")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
GET Get Product Search of Who Bought Also Bought
{{baseUrl}}/api/catalog_system/pub/products/crossselling/whoboughtalsobought/:productId
HEADERS

Accept
Content-Type
QUERY PARAMS

productId
Examples
REQUEST

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/api/catalog_system/pub/products/crossselling/whoboughtalsobought/:productId");

struct curl_slist *headers = NULL;
headers = curl_slist_append(headers, "accept: ");
headers = curl_slist_append(headers, "content-type: ");
curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);

CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])

(client/get "{{baseUrl}}/api/catalog_system/pub/products/crossselling/whoboughtalsobought/:productId" {:headers {:accept ""
                                                                                                                                 :content-type ""}})
require "http/client"

url = "{{baseUrl}}/api/catalog_system/pub/products/crossselling/whoboughtalsobought/:productId"
headers = HTTP::Headers{
  "accept" => ""
  "content-type" => ""
}

response = HTTP::Client.get url, headers: headers
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
    Method = HttpMethod.Get,
    RequestUri = new Uri("{{baseUrl}}/api/catalog_system/pub/products/crossselling/whoboughtalsobought/:productId"),
    Headers =
    {
        { "accept", "" },
    },
};
using (var response = await client.SendAsync(request))
{
    response.EnsureSuccessStatusCode();
    var body = await response.Content.ReadAsStringAsync();
    Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/api/catalog_system/pub/products/crossselling/whoboughtalsobought/:productId");
var request = new RestRequest("", Method.Get);
request.AddHeader("accept", "");
request.AddHeader("content-type", "");
var response = client.Execute(request);
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "{{baseUrl}}/api/catalog_system/pub/products/crossselling/whoboughtalsobought/:productId"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("accept", "")
	req.Header.Add("content-type", "")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
GET /baseUrl/api/catalog_system/pub/products/crossselling/whoboughtalsobought/:productId HTTP/1.1
Accept: 
Content-Type: 
Host: example.com

AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/api/catalog_system/pub/products/crossselling/whoboughtalsobought/:productId")
  .setHeader("accept", "")
  .setHeader("content-type", "")
  .execute()
  .toCompletableFuture()
  .thenAccept(System.out::println)
  .join();

client.close();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("{{baseUrl}}/api/catalog_system/pub/products/crossselling/whoboughtalsobought/:productId"))
    .header("accept", "")
    .header("content-type", "")
    .method("GET", HttpRequest.BodyPublishers.noBody())
    .build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("{{baseUrl}}/api/catalog_system/pub/products/crossselling/whoboughtalsobought/:productId")
  .get()
  .addHeader("accept", "")
  .addHeader("content-type", "")
  .build();

Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/api/catalog_system/pub/products/crossselling/whoboughtalsobought/:productId")
  .header("accept", "")
  .header("content-type", "")
  .asString();
const data = null;

const xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener('readystatechange', function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open('GET', '{{baseUrl}}/api/catalog_system/pub/products/crossselling/whoboughtalsobought/:productId');
xhr.setRequestHeader('accept', '');
xhr.setRequestHeader('content-type', '');

xhr.send(data);
import axios from 'axios';

const options = {
  method: 'GET',
  url: '{{baseUrl}}/api/catalog_system/pub/products/crossselling/whoboughtalsobought/:productId',
  headers: {accept: '', 'content-type': ''}
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const url = '{{baseUrl}}/api/catalog_system/pub/products/crossselling/whoboughtalsobought/:productId';
const options = {method: 'GET', headers: {accept: '', 'content-type': ''}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
const settings = {
  async: true,
  crossDomain: true,
  url: '{{baseUrl}}/api/catalog_system/pub/products/crossselling/whoboughtalsobought/:productId',
  method: 'GET',
  headers: {
    accept: '',
    'content-type': ''
  }
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
val client = OkHttpClient()

val request = Request.Builder()
  .url("{{baseUrl}}/api/catalog_system/pub/products/crossselling/whoboughtalsobought/:productId")
  .get()
  .addHeader("accept", "")
  .addHeader("content-type", "")
  .build()

val response = client.newCall(request).execute()
const http = require('https');

const options = {
  method: 'GET',
  hostname: 'example.com',
  port: null,
  path: '/baseUrl/api/catalog_system/pub/products/crossselling/whoboughtalsobought/:productId',
  headers: {
    accept: '',
    'content-type': ''
  }
};

const req = http.request(options, function (res) {
  const chunks = [];

  res.on('data', function (chunk) {
    chunks.push(chunk);
  });

  res.on('end', function () {
    const body = Buffer.concat(chunks);
    console.log(body.toString());
  });
});

req.end();
const request = require('request');

const options = {
  method: 'GET',
  url: '{{baseUrl}}/api/catalog_system/pub/products/crossselling/whoboughtalsobought/:productId',
  headers: {accept: '', 'content-type': ''}
};

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
const unirest = require('unirest');

const req = unirest('GET', '{{baseUrl}}/api/catalog_system/pub/products/crossselling/whoboughtalsobought/:productId');

req.headers({
  accept: '',
  'content-type': ''
});

req.end(function (res) {
  if (res.error) throw new Error(res.error);

  console.log(res.body);
});
const axios = require('axios').default;

const options = {
  method: 'GET',
  url: '{{baseUrl}}/api/catalog_system/pub/products/crossselling/whoboughtalsobought/:productId',
  headers: {accept: '', 'content-type': ''}
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const fetch = require('node-fetch');

const url = '{{baseUrl}}/api/catalog_system/pub/products/crossselling/whoboughtalsobought/:productId';
const options = {method: 'GET', headers: {accept: '', 'content-type': ''}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
#import 

NSDictionary *headers = @{ @"accept": @"",
                           @"content-type": @"" };

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/api/catalog_system/pub/products/crossselling/whoboughtalsobought/:productId"]
                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy
                                                   timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
[request setAllHTTPHeaderFields:headers];

NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
                                                if (error) {
                                                    NSLog(@"%@", error);
                                                } else {
                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
                                                    NSLog(@"%@", httpResponse);
                                                }
                                            }];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt

let uri = Uri.of_string "{{baseUrl}}/api/catalog_system/pub/products/crossselling/whoboughtalsobought/:productId" in
let headers = Header.add_list (Header.init ()) [
  ("accept", "");
  ("content-type", "");
] in

Client.call ~headers `GET uri
>>= fun (res, body_stream) ->
  (* Do stuff with the result *)
 "{{baseUrl}}/api/catalog_system/pub/products/crossselling/whoboughtalsobought/:productId",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
  CURLOPT_HTTPHEADER => [
    "accept: ",
    "content-type: "
  ],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
request('GET', '{{baseUrl}}/api/catalog_system/pub/products/crossselling/whoboughtalsobought/:productId', [
  'headers' => [
    'accept' => '',
    'content-type' => '',
  ],
]);

echo $response->getBody();
setUrl('{{baseUrl}}/api/catalog_system/pub/products/crossselling/whoboughtalsobought/:productId');
$request->setMethod(HTTP_METH_GET);

$request->setHeaders([
  'accept' => '',
  'content-type' => ''
]);

try {
  $response = $request->send();

  echo $response->getBody();
} catch (HttpException $ex) {
  echo $ex;
}
setRequestUrl('{{baseUrl}}/api/catalog_system/pub/products/crossselling/whoboughtalsobought/:productId');
$request->setRequestMethod('GET');
$request->setHeaders([
  'accept' => '',
  'content-type' => ''
]);

$client->enqueue($request)->send();
$response = $client->getResponse();

echo $response->getBody();
$headers=@{}
$headers.Add("accept", "")
$headers.Add("content-type", "")
$response = Invoke-WebRequest -Uri '{{baseUrl}}/api/catalog_system/pub/products/crossselling/whoboughtalsobought/:productId' -Method GET -Headers $headers
$headers=@{}
$headers.Add("accept", "")
$headers.Add("content-type", "")
$response = Invoke-RestMethod -Uri '{{baseUrl}}/api/catalog_system/pub/products/crossselling/whoboughtalsobought/:productId' -Method GET -Headers $headers
import http.client

conn = http.client.HTTPSConnection("example.com")

headers = {
    'accept': "",
    'content-type': ""
}

conn.request("GET", "/baseUrl/api/catalog_system/pub/products/crossselling/whoboughtalsobought/:productId", headers=headers)

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
import requests

url = "{{baseUrl}}/api/catalog_system/pub/products/crossselling/whoboughtalsobought/:productId"

headers = {
    "accept": "",
    "content-type": ""
}

response = requests.get(url, headers=headers)

print(response.json())
library(httr)

url <- "{{baseUrl}}/api/catalog_system/pub/products/crossselling/whoboughtalsobought/:productId"

response <- VERB("GET", url, content_type("application/octet-stream"))

content(response, "text")
require 'uri'
require 'net/http'

url = URI("{{baseUrl}}/api/catalog_system/pub/products/crossselling/whoboughtalsobought/:productId")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["accept"] = ''
request["content-type"] = ''

response = http.request(request)
puts response.read_body
require 'faraday'

conn = Faraday.new(
  url: 'https://example.com',
)

response = conn.get('/baseUrl/api/catalog_system/pub/products/crossselling/whoboughtalsobought/:productId') do |req|
  req.headers['accept'] = ''
end

puts response.status
puts response.body
use reqwest;

#[tokio::main]
pub async fn main() {
    let url = "{{baseUrl}}/api/catalog_system/pub/products/crossselling/whoboughtalsobought/:productId";

    let mut headers = reqwest::header::HeaderMap::new();
    headers.insert("accept", "".parse().unwrap());
    headers.insert("content-type", "".parse().unwrap());

    let client = reqwest::Client::new();
    let response = client.get(url)
        .headers(headers)
        .send()
        .await;

    let results = response.unwrap()
        .json::()
        .await
        .unwrap();

    dbg!(results);
}
curl --request GET \
  --url {{baseUrl}}/api/catalog_system/pub/products/crossselling/whoboughtalsobought/:productId \
  --header 'accept: ' \
  --header 'content-type: '
http GET {{baseUrl}}/api/catalog_system/pub/products/crossselling/whoboughtalsobought/:productId \
  accept:'' \
  content-type:''
wget --quiet \
  --method GET \
  --header 'accept: ' \
  --header 'content-type: ' \
  --output-document \
  - {{baseUrl}}/api/catalog_system/pub/products/crossselling/whoboughtalsobought/:productId
import Foundation

let headers = [
  "accept": "",
  "content-type": ""
]

let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/api/catalog_system/pub/products/crossselling/whoboughtalsobought/:productId")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
RESPONSE HEADERS

Content-Type
application/json
RESPONSE BODY json

[
  {
    "Alcool": [
      "Percentual"
    ],
    "Ale": [
      "1"
    ],
    "Percentual": [
      "4,9"
    ],
    "Percentuals": [
      "4,9"
    ],
    "Teste da Api2": [
      "Teste de Api",
      "Ale"
    ],
    "Teste de Api": [
      "a"
    ],
    "Total": [
      "Percentuals",
      "Percentual"
    ],
    "allSpecifications": [
      "Percentuals",
      "Percentual",
      "Teste de Api",
      "Ale"
    ],
    "allSpecificationsGroups": [
      "Total",
      "Teste da Api2"
    ],
    "brand": "Hoegaarden",
    "brandId": 2000004,
    "brandImageUrl": "https://merch.vteximg.com.br/arquivos/ids/155532/hoegardden-logo.jpg",
    "categories": [
      "/Beers Beers Mesmo/"
    ],
    "categoriesIds": [
      "/1/"
    ],
    "categoryId": "1",
    "clusterHighlights": {
      "138": "teste2"
    },
    "description": "",
    "items": [
      {
        "Videos": [],
        "complementName": "",
        "ean": "",
        "estimatedDateArrival": null,
        "images": [
          {
            "imageId": "155489",
            "imageLabel": "",
            "imageLastModified": "2020-10-07T12:49:27.5800000Z",
            "imageTag": "\"hoegaarden-kit\"",
            "imageText": "hoegaarden-kit",
            "imageUrl": "https://merch.vteximg.com.br/arquivos/ids/155489/99B14097-BFEA-4C0E-899E-35C95A2E1509_4_5005_c.jpg?v=637376717675800000"
          }
        ],
        "isKit": true,
        "itemId": "310118469",
        "kitItems": [
          {
            "amount": 6,
            "itemId": "310118466"
          }
        ],
        "measurementUnit": "un",
        "modalType": null,
        "name": "Kit com 6",
        "nameComplete": "Kit de Hoegaarden Kit com 6",
        "referenceId": [
          {
            "Key": "RefId",
            "Value": "000806"
          }
        ],
        "sellers": [
          {
            "addToCartLink": "https://merch.vtexcommercestable.com.br/checkout/cart/add?sku=310118469&qty=1&seller=1&sc=1&price=4200&cv=95EF7E5476DF276E679167A399FE3103_&sc=1",
            "commertialOffer": {
              "AvailableQuantity": 16,
              "BuyTogether": [],
              "CacheVersionUsedToCallCheckout": "95EF7E5476DF276E679167A399FE3103_",
              "DeliverySlaSamples": [
                {
                  "DeliverySlaPerTypes": [],
                  "Region": null
                }
              ],
              "DeliverySlaSamplesPerRegion": {
                "0": {
                  "DeliverySlaPerTypes": [],
                  "Region": null
                }
              },
              "DiscountHighLight": [],
              "GetInfoErrorMessage": null,
              "GiftSkuIds": [],
              "Installments": [
                {
                  "InterestRate": 0,
                  "Name": "Visa à vista",
                  "NumberOfInstallments": 1,
                  "PaymentSystemGroupName": "creditCardPaymentGroup",
                  "PaymentSystemName": "Visa",
                  "TotalValuePlusInterestRate": 42,
                  "Value": 42
                },
                {
                  "InterestRate": 0,
                  "Name": "Visa 2 vezes sem juros",
                  "NumberOfInstallments": 2,
                  "PaymentSystemGroupName": "creditCardPaymentGroup",
                  "PaymentSystemName": "Visa",
                  "TotalValuePlusInterestRate": 42,
                  "Value": 21
                },
                {
                  "InterestRate": 0,
                  "Name": "Visa 3 vezes sem juros",
                  "NumberOfInstallments": 3,
                  "PaymentSystemGroupName": "creditCardPaymentGroup",
                  "PaymentSystemName": "Visa",
                  "TotalValuePlusInterestRate": 42,
                  "Value": 14
                },
                {
                  "InterestRate": 0,
                  "Name": "Visa 4 vezes sem juros",
                  "NumberOfInstallments": 4,
                  "PaymentSystemGroupName": "creditCardPaymentGroup",
                  "PaymentSystemName": "Visa",
                  "TotalValuePlusInterestRate": 42,
                  "Value": 10.5
                },
                {
                  "InterestRate": 0,
                  "Name": "Promissory à vista",
                  "NumberOfInstallments": 1,
                  "PaymentSystemGroupName": "promissoryPaymentGroup",
                  "PaymentSystemName": "Promissory",
                  "TotalValuePlusInterestRate": 42,
                  "Value": 42
                }
              ],
              "IsAvailable": true,
              "ItemMetadataAttachment": [],
              "ListPrice": 42,
              "PaymentOptions": {
                "availableAccounts": [],
                "availableTokens": [],
                "giftCardMessages": [],
                "giftCards": [],
                "installmentOptions": [
                  {
                    "bin": null,
                    "installments": [
                      {
                        "count": 1,
                        "hasInterestRate": false,
                        "interestRate": 0,
                        "sellerMerchantInstallments": [
                          {
                            "count": 1,
                            "hasInterestRate": false,
                            "id": "MERCH",
                            "interestRate": 0,
                            "total": 4200,
                            "value": 4200
                          }
                        ],
                        "total": 4200,
                        "value": 4200
                      },
                      {
                        "count": 2,
                        "hasInterestRate": false,
                        "interestRate": 0,
                        "sellerMerchantInstallments": [
                          {
                            "count": 2,
                            "hasInterestRate": false,
                            "id": "MERCH",
                            "interestRate": 0,
                            "total": 4200,
                            "value": 2100
                          }
                        ],
                        "total": 4200,
                        "value": 2100
                      },
                      {
                        "count": 3,
                        "hasInterestRate": false,
                        "interestRate": 0,
                        "sellerMerchantInstallments": [
                          {
                            "count": 3,
                            "hasInterestRate": false,
                            "id": "MERCH",
                            "interestRate": 0,
                            "total": 4200,
                            "value": 1400
                          }
                        ],
                        "total": 4200,
                        "value": 1400
                      },
                      {
                        "count": 4,
                        "hasInterestRate": false,
                        "interestRate": 0,
                        "sellerMerchantInstallments": [
                          {
                            "count": 4,
                            "hasInterestRate": false,
                            "id": "MERCH",
                            "interestRate": 0,
                            "total": 4200,
                            "value": 1050
                          }
                        ],
                        "total": 4200,
                        "value": 1050
                      }
                    ],
                    "paymentGroupName": "creditCardPaymentGroup",
                    "paymentName": "Visa",
                    "paymentSystem": "2",
                    "value": 4200
                  },
                  {
                    "bin": null,
                    "installments": [
                      {
                        "count": 1,
                        "hasInterestRate": false,
                        "interestRate": 0,
                        "sellerMerchantInstallments": [
                          {
                            "count": 1,
                            "hasInterestRate": false,
                            "id": "MERCH",
                            "interestRate": 0,
                            "total": 4200,
                            "value": 4200
                          }
                        ],
                        "total": 4200,
                        "value": 4200
                      }
                    ],
                    "paymentGroupName": "promissoryPaymentGroup",
                    "paymentName": "Promissory",
                    "paymentSystem": "17",
                    "value": 4200
                  }
                ],
                "paymentSystems": [
                  {
                    "availablePayments": null,
                    "description": null,
                    "dueDate": "2021-07-01T18:43:00.0264384Z",
                    "groupName": "promissoryPaymentGroup",
                    "id": 17,
                    "isCustom": false,
                    "name": "Promissory",
                    "requiresAuthentication": false,
                    "requiresDocument": false,
                    "stringId": "17",
                    "template": "promissoryPaymentGroup-template",
                    "validator": null
                  },
                  {
                    "availablePayments": null,
                    "description": null,
                    "dueDate": "2021-07-01T18:43:00.0264384Z",
                    "groupName": "creditCardPaymentGroup",
                    "id": 2,
                    "isCustom": false,
                    "name": "Visa",
                    "requiresAuthentication": false,
                    "requiresDocument": false,
                    "stringId": "2",
                    "template": "creditCardPaymentGroup-template",
                    "validator": null
                  }
                ],
                "payments": []
              },
              "Price": 42,
              "PriceValidUntil": "4000-01-01T03:00:00Z",
              "PriceWithoutDiscount": 42,
              "RewardValue": 0,
              "SaleChannel": 0,
              "Tax": 0,
              "Teasers": []
            },
            "sellerDefault": true,
            "sellerId": "1",
            "sellerName": "COMPANHIA BRASILEIRA DE TECNOLOGIA PARA E-COMMERCE"
          }
        ],
        "unitMultiplier": 1
      }
    ],
    "link": "https://merch.vtexcommercestable.com.br/kit-6-cerveja-hoegaarden/p",
    "linkText": "kit-6-cerveja-hoegaarden",
    "metaTagDescription": "",
    "productClusters": {
      "138": "teste2",
      "143": "NaoPesquisavel",
      "146": "colecaotestesubcategoria",
      "161": "merch_import_test1"
    },
    "productId": "35",
    "productName": "Kit de Hoegaarden",
    "productReference": "000806",
    "productReferenceCode": null,
    "productTitle": "",
    "releaseDate": "2020-10-07T00:00:00",
    "searchableClusters": {
      "138": "teste2"
    }
  }
]
GET Get Product Search of Who Saw Also Bought
{{baseUrl}}/api/catalog_system/pub/products/crossselling/whosawalsobought/:productId
HEADERS

Accept
Content-Type
QUERY PARAMS

productId
Examples
REQUEST

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/api/catalog_system/pub/products/crossselling/whosawalsobought/:productId");

struct curl_slist *headers = NULL;
headers = curl_slist_append(headers, "accept: ");
headers = curl_slist_append(headers, "content-type: ");
curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);

CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])

(client/get "{{baseUrl}}/api/catalog_system/pub/products/crossselling/whosawalsobought/:productId" {:headers {:accept ""
                                                                                                                              :content-type ""}})
require "http/client"

url = "{{baseUrl}}/api/catalog_system/pub/products/crossselling/whosawalsobought/:productId"
headers = HTTP::Headers{
  "accept" => ""
  "content-type" => ""
}

response = HTTP::Client.get url, headers: headers
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
    Method = HttpMethod.Get,
    RequestUri = new Uri("{{baseUrl}}/api/catalog_system/pub/products/crossselling/whosawalsobought/:productId"),
    Headers =
    {
        { "accept", "" },
    },
};
using (var response = await client.SendAsync(request))
{
    response.EnsureSuccessStatusCode();
    var body = await response.Content.ReadAsStringAsync();
    Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/api/catalog_system/pub/products/crossselling/whosawalsobought/:productId");
var request = new RestRequest("", Method.Get);
request.AddHeader("accept", "");
request.AddHeader("content-type", "");
var response = client.Execute(request);
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "{{baseUrl}}/api/catalog_system/pub/products/crossselling/whosawalsobought/:productId"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("accept", "")
	req.Header.Add("content-type", "")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
GET /baseUrl/api/catalog_system/pub/products/crossselling/whosawalsobought/:productId HTTP/1.1
Accept: 
Content-Type: 
Host: example.com

AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/api/catalog_system/pub/products/crossselling/whosawalsobought/:productId")
  .setHeader("accept", "")
  .setHeader("content-type", "")
  .execute()
  .toCompletableFuture()
  .thenAccept(System.out::println)
  .join();

client.close();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("{{baseUrl}}/api/catalog_system/pub/products/crossselling/whosawalsobought/:productId"))
    .header("accept", "")
    .header("content-type", "")
    .method("GET", HttpRequest.BodyPublishers.noBody())
    .build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("{{baseUrl}}/api/catalog_system/pub/products/crossselling/whosawalsobought/:productId")
  .get()
  .addHeader("accept", "")
  .addHeader("content-type", "")
  .build();

Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/api/catalog_system/pub/products/crossselling/whosawalsobought/:productId")
  .header("accept", "")
  .header("content-type", "")
  .asString();
const data = null;

const xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener('readystatechange', function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open('GET', '{{baseUrl}}/api/catalog_system/pub/products/crossselling/whosawalsobought/:productId');
xhr.setRequestHeader('accept', '');
xhr.setRequestHeader('content-type', '');

xhr.send(data);
import axios from 'axios';

const options = {
  method: 'GET',
  url: '{{baseUrl}}/api/catalog_system/pub/products/crossselling/whosawalsobought/:productId',
  headers: {accept: '', 'content-type': ''}
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const url = '{{baseUrl}}/api/catalog_system/pub/products/crossselling/whosawalsobought/:productId';
const options = {method: 'GET', headers: {accept: '', 'content-type': ''}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
const settings = {
  async: true,
  crossDomain: true,
  url: '{{baseUrl}}/api/catalog_system/pub/products/crossselling/whosawalsobought/:productId',
  method: 'GET',
  headers: {
    accept: '',
    'content-type': ''
  }
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
val client = OkHttpClient()

val request = Request.Builder()
  .url("{{baseUrl}}/api/catalog_system/pub/products/crossselling/whosawalsobought/:productId")
  .get()
  .addHeader("accept", "")
  .addHeader("content-type", "")
  .build()

val response = client.newCall(request).execute()
const http = require('https');

const options = {
  method: 'GET',
  hostname: 'example.com',
  port: null,
  path: '/baseUrl/api/catalog_system/pub/products/crossselling/whosawalsobought/:productId',
  headers: {
    accept: '',
    'content-type': ''
  }
};

const req = http.request(options, function (res) {
  const chunks = [];

  res.on('data', function (chunk) {
    chunks.push(chunk);
  });

  res.on('end', function () {
    const body = Buffer.concat(chunks);
    console.log(body.toString());
  });
});

req.end();
const request = require('request');

const options = {
  method: 'GET',
  url: '{{baseUrl}}/api/catalog_system/pub/products/crossselling/whosawalsobought/:productId',
  headers: {accept: '', 'content-type': ''}
};

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
const unirest = require('unirest');

const req = unirest('GET', '{{baseUrl}}/api/catalog_system/pub/products/crossselling/whosawalsobought/:productId');

req.headers({
  accept: '',
  'content-type': ''
});

req.end(function (res) {
  if (res.error) throw new Error(res.error);

  console.log(res.body);
});
const axios = require('axios').default;

const options = {
  method: 'GET',
  url: '{{baseUrl}}/api/catalog_system/pub/products/crossselling/whosawalsobought/:productId',
  headers: {accept: '', 'content-type': ''}
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const fetch = require('node-fetch');

const url = '{{baseUrl}}/api/catalog_system/pub/products/crossselling/whosawalsobought/:productId';
const options = {method: 'GET', headers: {accept: '', 'content-type': ''}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
#import 

NSDictionary *headers = @{ @"accept": @"",
                           @"content-type": @"" };

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/api/catalog_system/pub/products/crossselling/whosawalsobought/:productId"]
                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy
                                                   timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
[request setAllHTTPHeaderFields:headers];

NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
                                                if (error) {
                                                    NSLog(@"%@", error);
                                                } else {
                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
                                                    NSLog(@"%@", httpResponse);
                                                }
                                            }];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt

let uri = Uri.of_string "{{baseUrl}}/api/catalog_system/pub/products/crossselling/whosawalsobought/:productId" in
let headers = Header.add_list (Header.init ()) [
  ("accept", "");
  ("content-type", "");
] in

Client.call ~headers `GET uri
>>= fun (res, body_stream) ->
  (* Do stuff with the result *)
 "{{baseUrl}}/api/catalog_system/pub/products/crossselling/whosawalsobought/:productId",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
  CURLOPT_HTTPHEADER => [
    "accept: ",
    "content-type: "
  ],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
request('GET', '{{baseUrl}}/api/catalog_system/pub/products/crossselling/whosawalsobought/:productId', [
  'headers' => [
    'accept' => '',
    'content-type' => '',
  ],
]);

echo $response->getBody();
setUrl('{{baseUrl}}/api/catalog_system/pub/products/crossselling/whosawalsobought/:productId');
$request->setMethod(HTTP_METH_GET);

$request->setHeaders([
  'accept' => '',
  'content-type' => ''
]);

try {
  $response = $request->send();

  echo $response->getBody();
} catch (HttpException $ex) {
  echo $ex;
}
setRequestUrl('{{baseUrl}}/api/catalog_system/pub/products/crossselling/whosawalsobought/:productId');
$request->setRequestMethod('GET');
$request->setHeaders([
  'accept' => '',
  'content-type' => ''
]);

$client->enqueue($request)->send();
$response = $client->getResponse();

echo $response->getBody();
$headers=@{}
$headers.Add("accept", "")
$headers.Add("content-type", "")
$response = Invoke-WebRequest -Uri '{{baseUrl}}/api/catalog_system/pub/products/crossselling/whosawalsobought/:productId' -Method GET -Headers $headers
$headers=@{}
$headers.Add("accept", "")
$headers.Add("content-type", "")
$response = Invoke-RestMethod -Uri '{{baseUrl}}/api/catalog_system/pub/products/crossselling/whosawalsobought/:productId' -Method GET -Headers $headers
import http.client

conn = http.client.HTTPSConnection("example.com")

headers = {
    'accept': "",
    'content-type': ""
}

conn.request("GET", "/baseUrl/api/catalog_system/pub/products/crossselling/whosawalsobought/:productId", headers=headers)

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
import requests

url = "{{baseUrl}}/api/catalog_system/pub/products/crossselling/whosawalsobought/:productId"

headers = {
    "accept": "",
    "content-type": ""
}

response = requests.get(url, headers=headers)

print(response.json())
library(httr)

url <- "{{baseUrl}}/api/catalog_system/pub/products/crossselling/whosawalsobought/:productId"

response <- VERB("GET", url, content_type("application/octet-stream"))

content(response, "text")
require 'uri'
require 'net/http'

url = URI("{{baseUrl}}/api/catalog_system/pub/products/crossselling/whosawalsobought/:productId")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["accept"] = ''
request["content-type"] = ''

response = http.request(request)
puts response.read_body
require 'faraday'

conn = Faraday.new(
  url: 'https://example.com',
)

response = conn.get('/baseUrl/api/catalog_system/pub/products/crossselling/whosawalsobought/:productId') do |req|
  req.headers['accept'] = ''
end

puts response.status
puts response.body
use reqwest;

#[tokio::main]
pub async fn main() {
    let url = "{{baseUrl}}/api/catalog_system/pub/products/crossselling/whosawalsobought/:productId";

    let mut headers = reqwest::header::HeaderMap::new();
    headers.insert("accept", "".parse().unwrap());
    headers.insert("content-type", "".parse().unwrap());

    let client = reqwest::Client::new();
    let response = client.get(url)
        .headers(headers)
        .send()
        .await;

    let results = response.unwrap()
        .json::()
        .await
        .unwrap();

    dbg!(results);
}
curl --request GET \
  --url {{baseUrl}}/api/catalog_system/pub/products/crossselling/whosawalsobought/:productId \
  --header 'accept: ' \
  --header 'content-type: '
http GET {{baseUrl}}/api/catalog_system/pub/products/crossselling/whosawalsobought/:productId \
  accept:'' \
  content-type:''
wget --quiet \
  --method GET \
  --header 'accept: ' \
  --header 'content-type: ' \
  --output-document \
  - {{baseUrl}}/api/catalog_system/pub/products/crossselling/whosawalsobought/:productId
import Foundation

let headers = [
  "accept": "",
  "content-type": ""
]

let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/api/catalog_system/pub/products/crossselling/whosawalsobought/:productId")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
RESPONSE HEADERS

Content-Type
application/json
RESPONSE BODY json

[
  {
    "Alcool": [
      "Percentual"
    ],
    "Ale": [
      "1"
    ],
    "Percentual": [
      "4,9"
    ],
    "Percentuals": [
      "4,9"
    ],
    "Teste da Api2": [
      "Teste de Api",
      "Ale"
    ],
    "Teste de Api": [
      "a"
    ],
    "Total": [
      "Percentuals",
      "Percentual"
    ],
    "allSpecifications": [
      "Percentuals",
      "Percentual",
      "Teste de Api",
      "Ale"
    ],
    "allSpecificationsGroups": [
      "Total",
      "Teste da Api2"
    ],
    "brand": "Hoegaarden",
    "brandId": 2000004,
    "brandImageUrl": "https://merch.vteximg.com.br/arquivos/ids/155532/hoegardden-logo.jpg",
    "categories": [
      "/Beers Beers Mesmo/"
    ],
    "categoriesIds": [
      "/1/"
    ],
    "categoryId": "1",
    "clusterHighlights": {
      "138": "teste2"
    },
    "description": "",
    "items": [
      {
        "Videos": [],
        "complementName": "",
        "ean": "",
        "estimatedDateArrival": null,
        "images": [
          {
            "imageId": "155489",
            "imageLabel": "",
            "imageLastModified": "2020-10-07T12:49:27.5800000Z",
            "imageTag": "\"hoegaarden-kit\"",
            "imageText": "hoegaarden-kit",
            "imageUrl": "https://merch.vteximg.com.br/arquivos/ids/155489/99B14097-BFEA-4C0E-899E-35C95A2E1509_4_5005_c.jpg?v=637376717675800000"
          }
        ],
        "isKit": true,
        "itemId": "310118469",
        "kitItems": [
          {
            "amount": 6,
            "itemId": "310118466"
          }
        ],
        "measurementUnit": "un",
        "modalType": null,
        "name": "Kit com 6",
        "nameComplete": "Kit de Hoegaarden Kit com 6",
        "referenceId": [
          {
            "Key": "RefId",
            "Value": "000806"
          }
        ],
        "sellers": [
          {
            "addToCartLink": "https://merch.vtexcommercestable.com.br/checkout/cart/add?sku=310118469&qty=1&seller=1&sc=1&price=4200&cv=95EF7E5476DF276E679167A399FE3103_&sc=1",
            "commertialOffer": {
              "AvailableQuantity": 16,
              "BuyTogether": [],
              "CacheVersionUsedToCallCheckout": "95EF7E5476DF276E679167A399FE3103_",
              "DeliverySlaSamples": [
                {
                  "DeliverySlaPerTypes": [],
                  "Region": null
                }
              ],
              "DeliverySlaSamplesPerRegion": {
                "0": {
                  "DeliverySlaPerTypes": [],
                  "Region": null
                }
              },
              "DiscountHighLight": [],
              "GetInfoErrorMessage": null,
              "GiftSkuIds": [],
              "Installments": [
                {
                  "InterestRate": 0,
                  "Name": "Visa à vista",
                  "NumberOfInstallments": 1,
                  "PaymentSystemGroupName": "creditCardPaymentGroup",
                  "PaymentSystemName": "Visa",
                  "TotalValuePlusInterestRate": 42,
                  "Value": 42
                },
                {
                  "InterestRate": 0,
                  "Name": "Visa 2 vezes sem juros",
                  "NumberOfInstallments": 2,
                  "PaymentSystemGroupName": "creditCardPaymentGroup",
                  "PaymentSystemName": "Visa",
                  "TotalValuePlusInterestRate": 42,
                  "Value": 21
                },
                {
                  "InterestRate": 0,
                  "Name": "Visa 3 vezes sem juros",
                  "NumberOfInstallments": 3,
                  "PaymentSystemGroupName": "creditCardPaymentGroup",
                  "PaymentSystemName": "Visa",
                  "TotalValuePlusInterestRate": 42,
                  "Value": 14
                },
                {
                  "InterestRate": 0,
                  "Name": "Visa 4 vezes sem juros",
                  "NumberOfInstallments": 4,
                  "PaymentSystemGroupName": "creditCardPaymentGroup",
                  "PaymentSystemName": "Visa",
                  "TotalValuePlusInterestRate": 42,
                  "Value": 10.5
                },
                {
                  "InterestRate": 0,
                  "Name": "Promissory à vista",
                  "NumberOfInstallments": 1,
                  "PaymentSystemGroupName": "promissoryPaymentGroup",
                  "PaymentSystemName": "Promissory",
                  "TotalValuePlusInterestRate": 42,
                  "Value": 42
                }
              ],
              "IsAvailable": true,
              "ItemMetadataAttachment": [],
              "ListPrice": 42,
              "PaymentOptions": {
                "availableAccounts": [],
                "availableTokens": [],
                "giftCardMessages": [],
                "giftCards": [],
                "installmentOptions": [
                  {
                    "bin": null,
                    "installments": [
                      {
                        "count": 1,
                        "hasInterestRate": false,
                        "interestRate": 0,
                        "sellerMerchantInstallments": [
                          {
                            "count": 1,
                            "hasInterestRate": false,
                            "id": "MERCH",
                            "interestRate": 0,
                            "total": 4200,
                            "value": 4200
                          }
                        ],
                        "total": 4200,
                        "value": 4200
                      },
                      {
                        "count": 2,
                        "hasInterestRate": false,
                        "interestRate": 0,
                        "sellerMerchantInstallments": [
                          {
                            "count": 2,
                            "hasInterestRate": false,
                            "id": "MERCH",
                            "interestRate": 0,
                            "total": 4200,
                            "value": 2100
                          }
                        ],
                        "total": 4200,
                        "value": 2100
                      },
                      {
                        "count": 3,
                        "hasInterestRate": false,
                        "interestRate": 0,
                        "sellerMerchantInstallments": [
                          {
                            "count": 3,
                            "hasInterestRate": false,
                            "id": "MERCH",
                            "interestRate": 0,
                            "total": 4200,
                            "value": 1400
                          }
                        ],
                        "total": 4200,
                        "value": 1400
                      },
                      {
                        "count": 4,
                        "hasInterestRate": false,
                        "interestRate": 0,
                        "sellerMerchantInstallments": [
                          {
                            "count": 4,
                            "hasInterestRate": false,
                            "id": "MERCH",
                            "interestRate": 0,
                            "total": 4200,
                            "value": 1050
                          }
                        ],
                        "total": 4200,
                        "value": 1050
                      }
                    ],
                    "paymentGroupName": "creditCardPaymentGroup",
                    "paymentName": "Visa",
                    "paymentSystem": "2",
                    "value": 4200
                  },
                  {
                    "bin": null,
                    "installments": [
                      {
                        "count": 1,
                        "hasInterestRate": false,
                        "interestRate": 0,
                        "sellerMerchantInstallments": [
                          {
                            "count": 1,
                            "hasInterestRate": false,
                            "id": "MERCH",
                            "interestRate": 0,
                            "total": 4200,
                            "value": 4200
                          }
                        ],
                        "total": 4200,
                        "value": 4200
                      }
                    ],
                    "paymentGroupName": "promissoryPaymentGroup",
                    "paymentName": "Promissory",
                    "paymentSystem": "17",
                    "value": 4200
                  }
                ],
                "paymentSystems": [
                  {
                    "availablePayments": null,
                    "description": null,
                    "dueDate": "2021-07-01T18:43:00.0264384Z",
                    "groupName": "promissoryPaymentGroup",
                    "id": 17,
                    "isCustom": false,
                    "name": "Promissory",
                    "requiresAuthentication": false,
                    "requiresDocument": false,
                    "stringId": "17",
                    "template": "promissoryPaymentGroup-template",
                    "validator": null
                  },
                  {
                    "availablePayments": null,
                    "description": null,
                    "dueDate": "2021-07-01T18:43:00.0264384Z",
                    "groupName": "creditCardPaymentGroup",
                    "id": 2,
                    "isCustom": false,
                    "name": "Visa",
                    "requiresAuthentication": false,
                    "requiresDocument": false,
                    "stringId": "2",
                    "template": "creditCardPaymentGroup-template",
                    "validator": null
                  }
                ],
                "payments": []
              },
              "Price": 42,
              "PriceValidUntil": "4000-01-01T03:00:00Z",
              "PriceWithoutDiscount": 42,
              "RewardValue": 0,
              "SaleChannel": 0,
              "Tax": 0,
              "Teasers": []
            },
            "sellerDefault": true,
            "sellerId": "1",
            "sellerName": "COMPANHIA BRASILEIRA DE TECNOLOGIA PARA E-COMMERCE"
          }
        ],
        "unitMultiplier": 1
      }
    ],
    "link": "https://merch.vtexcommercestable.com.br/kit-6-cerveja-hoegaarden/p",
    "linkText": "kit-6-cerveja-hoegaarden",
    "metaTagDescription": "",
    "productClusters": {
      "138": "teste2",
      "143": "NaoPesquisavel",
      "146": "colecaotestesubcategoria",
      "161": "merch_import_test1"
    },
    "productId": "35",
    "productName": "Kit de Hoegaarden",
    "productReference": "000806",
    "productReferenceCode": null,
    "productTitle": "",
    "releaseDate": "2020-10-07T00:00:00",
    "searchableClusters": {
      "138": "teste2"
    }
  }
]
GET Get Product Search of Who Saw Also Saw
{{baseUrl}}/api/catalog_system/pub/products/crossselling/whosawalsosaw/:productId
HEADERS

Accept
Content-Type
QUERY PARAMS

productId
Examples
REQUEST

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/api/catalog_system/pub/products/crossselling/whosawalsosaw/:productId");

struct curl_slist *headers = NULL;
headers = curl_slist_append(headers, "accept: ");
headers = curl_slist_append(headers, "content-type: ");
curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);

CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])

(client/get "{{baseUrl}}/api/catalog_system/pub/products/crossselling/whosawalsosaw/:productId" {:headers {:accept ""
                                                                                                                           :content-type ""}})
require "http/client"

url = "{{baseUrl}}/api/catalog_system/pub/products/crossselling/whosawalsosaw/:productId"
headers = HTTP::Headers{
  "accept" => ""
  "content-type" => ""
}

response = HTTP::Client.get url, headers: headers
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
    Method = HttpMethod.Get,
    RequestUri = new Uri("{{baseUrl}}/api/catalog_system/pub/products/crossselling/whosawalsosaw/:productId"),
    Headers =
    {
        { "accept", "" },
    },
};
using (var response = await client.SendAsync(request))
{
    response.EnsureSuccessStatusCode();
    var body = await response.Content.ReadAsStringAsync();
    Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/api/catalog_system/pub/products/crossselling/whosawalsosaw/:productId");
var request = new RestRequest("", Method.Get);
request.AddHeader("accept", "");
request.AddHeader("content-type", "");
var response = client.Execute(request);
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "{{baseUrl}}/api/catalog_system/pub/products/crossselling/whosawalsosaw/:productId"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("accept", "")
	req.Header.Add("content-type", "")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
GET /baseUrl/api/catalog_system/pub/products/crossselling/whosawalsosaw/:productId HTTP/1.1
Accept: 
Content-Type: 
Host: example.com

AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/api/catalog_system/pub/products/crossselling/whosawalsosaw/:productId")
  .setHeader("accept", "")
  .setHeader("content-type", "")
  .execute()
  .toCompletableFuture()
  .thenAccept(System.out::println)
  .join();

client.close();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("{{baseUrl}}/api/catalog_system/pub/products/crossselling/whosawalsosaw/:productId"))
    .header("accept", "")
    .header("content-type", "")
    .method("GET", HttpRequest.BodyPublishers.noBody())
    .build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("{{baseUrl}}/api/catalog_system/pub/products/crossselling/whosawalsosaw/:productId")
  .get()
  .addHeader("accept", "")
  .addHeader("content-type", "")
  .build();

Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/api/catalog_system/pub/products/crossselling/whosawalsosaw/:productId")
  .header("accept", "")
  .header("content-type", "")
  .asString();
const data = null;

const xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener('readystatechange', function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open('GET', '{{baseUrl}}/api/catalog_system/pub/products/crossselling/whosawalsosaw/:productId');
xhr.setRequestHeader('accept', '');
xhr.setRequestHeader('content-type', '');

xhr.send(data);
import axios from 'axios';

const options = {
  method: 'GET',
  url: '{{baseUrl}}/api/catalog_system/pub/products/crossselling/whosawalsosaw/:productId',
  headers: {accept: '', 'content-type': ''}
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const url = '{{baseUrl}}/api/catalog_system/pub/products/crossselling/whosawalsosaw/:productId';
const options = {method: 'GET', headers: {accept: '', 'content-type': ''}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
const settings = {
  async: true,
  crossDomain: true,
  url: '{{baseUrl}}/api/catalog_system/pub/products/crossselling/whosawalsosaw/:productId',
  method: 'GET',
  headers: {
    accept: '',
    'content-type': ''
  }
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
val client = OkHttpClient()

val request = Request.Builder()
  .url("{{baseUrl}}/api/catalog_system/pub/products/crossselling/whosawalsosaw/:productId")
  .get()
  .addHeader("accept", "")
  .addHeader("content-type", "")
  .build()

val response = client.newCall(request).execute()
const http = require('https');

const options = {
  method: 'GET',
  hostname: 'example.com',
  port: null,
  path: '/baseUrl/api/catalog_system/pub/products/crossselling/whosawalsosaw/:productId',
  headers: {
    accept: '',
    'content-type': ''
  }
};

const req = http.request(options, function (res) {
  const chunks = [];

  res.on('data', function (chunk) {
    chunks.push(chunk);
  });

  res.on('end', function () {
    const body = Buffer.concat(chunks);
    console.log(body.toString());
  });
});

req.end();
const request = require('request');

const options = {
  method: 'GET',
  url: '{{baseUrl}}/api/catalog_system/pub/products/crossselling/whosawalsosaw/:productId',
  headers: {accept: '', 'content-type': ''}
};

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
const unirest = require('unirest');

const req = unirest('GET', '{{baseUrl}}/api/catalog_system/pub/products/crossselling/whosawalsosaw/:productId');

req.headers({
  accept: '',
  'content-type': ''
});

req.end(function (res) {
  if (res.error) throw new Error(res.error);

  console.log(res.body);
});
const axios = require('axios').default;

const options = {
  method: 'GET',
  url: '{{baseUrl}}/api/catalog_system/pub/products/crossselling/whosawalsosaw/:productId',
  headers: {accept: '', 'content-type': ''}
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const fetch = require('node-fetch');

const url = '{{baseUrl}}/api/catalog_system/pub/products/crossselling/whosawalsosaw/:productId';
const options = {method: 'GET', headers: {accept: '', 'content-type': ''}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
#import 

NSDictionary *headers = @{ @"accept": @"",
                           @"content-type": @"" };

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/api/catalog_system/pub/products/crossselling/whosawalsosaw/:productId"]
                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy
                                                   timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
[request setAllHTTPHeaderFields:headers];

NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
                                                if (error) {
                                                    NSLog(@"%@", error);
                                                } else {
                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
                                                    NSLog(@"%@", httpResponse);
                                                }
                                            }];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt

let uri = Uri.of_string "{{baseUrl}}/api/catalog_system/pub/products/crossselling/whosawalsosaw/:productId" in
let headers = Header.add_list (Header.init ()) [
  ("accept", "");
  ("content-type", "");
] in

Client.call ~headers `GET uri
>>= fun (res, body_stream) ->
  (* Do stuff with the result *)
 "{{baseUrl}}/api/catalog_system/pub/products/crossselling/whosawalsosaw/:productId",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
  CURLOPT_HTTPHEADER => [
    "accept: ",
    "content-type: "
  ],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
request('GET', '{{baseUrl}}/api/catalog_system/pub/products/crossselling/whosawalsosaw/:productId', [
  'headers' => [
    'accept' => '',
    'content-type' => '',
  ],
]);

echo $response->getBody();
setUrl('{{baseUrl}}/api/catalog_system/pub/products/crossselling/whosawalsosaw/:productId');
$request->setMethod(HTTP_METH_GET);

$request->setHeaders([
  'accept' => '',
  'content-type' => ''
]);

try {
  $response = $request->send();

  echo $response->getBody();
} catch (HttpException $ex) {
  echo $ex;
}
setRequestUrl('{{baseUrl}}/api/catalog_system/pub/products/crossselling/whosawalsosaw/:productId');
$request->setRequestMethod('GET');
$request->setHeaders([
  'accept' => '',
  'content-type' => ''
]);

$client->enqueue($request)->send();
$response = $client->getResponse();

echo $response->getBody();
$headers=@{}
$headers.Add("accept", "")
$headers.Add("content-type", "")
$response = Invoke-WebRequest -Uri '{{baseUrl}}/api/catalog_system/pub/products/crossselling/whosawalsosaw/:productId' -Method GET -Headers $headers
$headers=@{}
$headers.Add("accept", "")
$headers.Add("content-type", "")
$response = Invoke-RestMethod -Uri '{{baseUrl}}/api/catalog_system/pub/products/crossselling/whosawalsosaw/:productId' -Method GET -Headers $headers
import http.client

conn = http.client.HTTPSConnection("example.com")

headers = {
    'accept': "",
    'content-type': ""
}

conn.request("GET", "/baseUrl/api/catalog_system/pub/products/crossselling/whosawalsosaw/:productId", headers=headers)

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
import requests

url = "{{baseUrl}}/api/catalog_system/pub/products/crossselling/whosawalsosaw/:productId"

headers = {
    "accept": "",
    "content-type": ""
}

response = requests.get(url, headers=headers)

print(response.json())
library(httr)

url <- "{{baseUrl}}/api/catalog_system/pub/products/crossselling/whosawalsosaw/:productId"

response <- VERB("GET", url, content_type("application/octet-stream"))

content(response, "text")
require 'uri'
require 'net/http'

url = URI("{{baseUrl}}/api/catalog_system/pub/products/crossselling/whosawalsosaw/:productId")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["accept"] = ''
request["content-type"] = ''

response = http.request(request)
puts response.read_body
require 'faraday'

conn = Faraday.new(
  url: 'https://example.com',
)

response = conn.get('/baseUrl/api/catalog_system/pub/products/crossselling/whosawalsosaw/:productId') do |req|
  req.headers['accept'] = ''
end

puts response.status
puts response.body
use reqwest;

#[tokio::main]
pub async fn main() {
    let url = "{{baseUrl}}/api/catalog_system/pub/products/crossselling/whosawalsosaw/:productId";

    let mut headers = reqwest::header::HeaderMap::new();
    headers.insert("accept", "".parse().unwrap());
    headers.insert("content-type", "".parse().unwrap());

    let client = reqwest::Client::new();
    let response = client.get(url)
        .headers(headers)
        .send()
        .await;

    let results = response.unwrap()
        .json::()
        .await
        .unwrap();

    dbg!(results);
}
curl --request GET \
  --url {{baseUrl}}/api/catalog_system/pub/products/crossselling/whosawalsosaw/:productId \
  --header 'accept: ' \
  --header 'content-type: '
http GET {{baseUrl}}/api/catalog_system/pub/products/crossselling/whosawalsosaw/:productId \
  accept:'' \
  content-type:''
wget --quiet \
  --method GET \
  --header 'accept: ' \
  --header 'content-type: ' \
  --output-document \
  - {{baseUrl}}/api/catalog_system/pub/products/crossselling/whosawalsosaw/:productId
import Foundation

let headers = [
  "accept": "",
  "content-type": ""
]

let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/api/catalog_system/pub/products/crossselling/whosawalsosaw/:productId")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
RESPONSE HEADERS

Content-Type
application/json
RESPONSE BODY json

[
  {
    "Alcool": [
      "Percentual"
    ],
    "Ale": [
      "1"
    ],
    "Percentual": [
      "4,9"
    ],
    "Percentuals": [
      "4,9"
    ],
    "Teste da Api2": [
      "Teste de Api",
      "Ale"
    ],
    "Teste de Api": [
      "a"
    ],
    "Total": [
      "Percentuals",
      "Percentual"
    ],
    "allSpecifications": [
      "Percentuals",
      "Percentual",
      "Teste de Api",
      "Ale"
    ],
    "allSpecificationsGroups": [
      "Total",
      "Teste da Api2"
    ],
    "brand": "Hoegaarden",
    "brandId": 2000004,
    "brandImageUrl": "https://merch.vteximg.com.br/arquivos/ids/155532/hoegardden-logo.jpg",
    "categories": [
      "/Beers Beers Mesmo/"
    ],
    "categoriesIds": [
      "/1/"
    ],
    "categoryId": "1",
    "clusterHighlights": {
      "138": "teste2"
    },
    "description": "",
    "items": [
      {
        "Videos": [],
        "complementName": "",
        "ean": "",
        "estimatedDateArrival": null,
        "images": [
          {
            "imageId": "155489",
            "imageLabel": "",
            "imageLastModified": "2020-10-07T12:49:27.5800000Z",
            "imageTag": "\"hoegaarden-kit\"",
            "imageText": "hoegaarden-kit",
            "imageUrl": "https://merch.vteximg.com.br/arquivos/ids/155489/99B14097-BFEA-4C0E-899E-35C95A2E1509_4_5005_c.jpg?v=637376717675800000"
          }
        ],
        "isKit": true,
        "itemId": "310118469",
        "kitItems": [
          {
            "amount": 6,
            "itemId": "310118466"
          }
        ],
        "measurementUnit": "un",
        "modalType": null,
        "name": "Kit com 6",
        "nameComplete": "Kit de Hoegaarden Kit com 6",
        "referenceId": [
          {
            "Key": "RefId",
            "Value": "000806"
          }
        ],
        "sellers": [
          {
            "addToCartLink": "https://merch.vtexcommercestable.com.br/checkout/cart/add?sku=310118469&qty=1&seller=1&sc=1&price=4200&cv=95EF7E5476DF276E679167A399FE3103_&sc=1",
            "commertialOffer": {
              "AvailableQuantity": 16,
              "BuyTogether": [],
              "CacheVersionUsedToCallCheckout": "95EF7E5476DF276E679167A399FE3103_",
              "DeliverySlaSamples": [
                {
                  "DeliverySlaPerTypes": [],
                  "Region": null
                }
              ],
              "DeliverySlaSamplesPerRegion": {
                "0": {
                  "DeliverySlaPerTypes": [],
                  "Region": null
                }
              },
              "DiscountHighLight": [],
              "GetInfoErrorMessage": null,
              "GiftSkuIds": [],
              "Installments": [
                {
                  "InterestRate": 0,
                  "Name": "Visa à vista",
                  "NumberOfInstallments": 1,
                  "PaymentSystemGroupName": "creditCardPaymentGroup",
                  "PaymentSystemName": "Visa",
                  "TotalValuePlusInterestRate": 42,
                  "Value": 42
                },
                {
                  "InterestRate": 0,
                  "Name": "Visa 2 vezes sem juros",
                  "NumberOfInstallments": 2,
                  "PaymentSystemGroupName": "creditCardPaymentGroup",
                  "PaymentSystemName": "Visa",
                  "TotalValuePlusInterestRate": 42,
                  "Value": 21
                },
                {
                  "InterestRate": 0,
                  "Name": "Visa 3 vezes sem juros",
                  "NumberOfInstallments": 3,
                  "PaymentSystemGroupName": "creditCardPaymentGroup",
                  "PaymentSystemName": "Visa",
                  "TotalValuePlusInterestRate": 42,
                  "Value": 14
                },
                {
                  "InterestRate": 0,
                  "Name": "Visa 4 vezes sem juros",
                  "NumberOfInstallments": 4,
                  "PaymentSystemGroupName": "creditCardPaymentGroup",
                  "PaymentSystemName": "Visa",
                  "TotalValuePlusInterestRate": 42,
                  "Value": 10.5
                },
                {
                  "InterestRate": 0,
                  "Name": "Promissory à vista",
                  "NumberOfInstallments": 1,
                  "PaymentSystemGroupName": "promissoryPaymentGroup",
                  "PaymentSystemName": "Promissory",
                  "TotalValuePlusInterestRate": 42,
                  "Value": 42
                }
              ],
              "IsAvailable": true,
              "ItemMetadataAttachment": [],
              "ListPrice": 42,
              "PaymentOptions": {
                "availableAccounts": [],
                "availableTokens": [],
                "giftCardMessages": [],
                "giftCards": [],
                "installmentOptions": [
                  {
                    "bin": null,
                    "installments": [
                      {
                        "count": 1,
                        "hasInterestRate": false,
                        "interestRate": 0,
                        "sellerMerchantInstallments": [
                          {
                            "count": 1,
                            "hasInterestRate": false,
                            "id": "MERCH",
                            "interestRate": 0,
                            "total": 4200,
                            "value": 4200
                          }
                        ],
                        "total": 4200,
                        "value": 4200
                      },
                      {
                        "count": 2,
                        "hasInterestRate": false,
                        "interestRate": 0,
                        "sellerMerchantInstallments": [
                          {
                            "count": 2,
                            "hasInterestRate": false,
                            "id": "MERCH",
                            "interestRate": 0,
                            "total": 4200,
                            "value": 2100
                          }
                        ],
                        "total": 4200,
                        "value": 2100
                      },
                      {
                        "count": 3,
                        "hasInterestRate": false,
                        "interestRate": 0,
                        "sellerMerchantInstallments": [
                          {
                            "count": 3,
                            "hasInterestRate": false,
                            "id": "MERCH",
                            "interestRate": 0,
                            "total": 4200,
                            "value": 1400
                          }
                        ],
                        "total": 4200,
                        "value": 1400
                      },
                      {
                        "count": 4,
                        "hasInterestRate": false,
                        "interestRate": 0,
                        "sellerMerchantInstallments": [
                          {
                            "count": 4,
                            "hasInterestRate": false,
                            "id": "MERCH",
                            "interestRate": 0,
                            "total": 4200,
                            "value": 1050
                          }
                        ],
                        "total": 4200,
                        "value": 1050
                      }
                    ],
                    "paymentGroupName": "creditCardPaymentGroup",
                    "paymentName": "Visa",
                    "paymentSystem": "2",
                    "value": 4200
                  },
                  {
                    "bin": null,
                    "installments": [
                      {
                        "count": 1,
                        "hasInterestRate": false,
                        "interestRate": 0,
                        "sellerMerchantInstallments": [
                          {
                            "count": 1,
                            "hasInterestRate": false,
                            "id": "MERCH",
                            "interestRate": 0,
                            "total": 4200,
                            "value": 4200
                          }
                        ],
                        "total": 4200,
                        "value": 4200
                      }
                    ],
                    "paymentGroupName": "promissoryPaymentGroup",
                    "paymentName": "Promissory",
                    "paymentSystem": "17",
                    "value": 4200
                  }
                ],
                "paymentSystems": [
                  {
                    "availablePayments": null,
                    "description": null,
                    "dueDate": "2021-07-01T18:43:00.0264384Z",
                    "groupName": "promissoryPaymentGroup",
                    "id": 17,
                    "isCustom": false,
                    "name": "Promissory",
                    "requiresAuthentication": false,
                    "requiresDocument": false,
                    "stringId": "17",
                    "template": "promissoryPaymentGroup-template",
                    "validator": null
                  },
                  {
                    "availablePayments": null,
                    "description": null,
                    "dueDate": "2021-07-01T18:43:00.0264384Z",
                    "groupName": "creditCardPaymentGroup",
                    "id": 2,
                    "isCustom": false,
                    "name": "Visa",
                    "requiresAuthentication": false,
                    "requiresDocument": false,
                    "stringId": "2",
                    "template": "creditCardPaymentGroup-template",
                    "validator": null
                  }
                ],
                "payments": []
              },
              "Price": 42,
              "PriceValidUntil": "4000-01-01T03:00:00Z",
              "PriceWithoutDiscount": 42,
              "RewardValue": 0,
              "SaleChannel": 0,
              "Tax": 0,
              "Teasers": []
            },
            "sellerDefault": true,
            "sellerId": "1",
            "sellerName": "COMPANHIA BRASILEIRA DE TECNOLOGIA PARA E-COMMERCE"
          }
        ],
        "unitMultiplier": 1
      }
    ],
    "link": "https://merch.vtexcommercestable.com.br/kit-6-cerveja-hoegaarden/p",
    "linkText": "kit-6-cerveja-hoegaarden",
    "metaTagDescription": "",
    "productClusters": {
      "138": "teste2",
      "143": "NaoPesquisavel",
      "146": "colecaotestesubcategoria",
      "161": "merch_import_test1"
    },
    "productId": "35",
    "productName": "Kit de Hoegaarden",
    "productReference": "000806",
    "productReferenceCode": null,
    "productTitle": "",
    "releaseDate": "2020-10-07T00:00:00",
    "searchableClusters": {
      "138": "teste2"
    }
  }
]
GET Get Category Facets
{{baseUrl}}/api/catalog_system/pub/facets/category/:categoryId
HEADERS

Accept
Content-Type
QUERY PARAMS

categoryId
Examples
REQUEST

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/api/catalog_system/pub/facets/category/:categoryId");

struct curl_slist *headers = NULL;
headers = curl_slist_append(headers, "accept: ");
headers = curl_slist_append(headers, "content-type: ");
curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);

CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])

(client/get "{{baseUrl}}/api/catalog_system/pub/facets/category/:categoryId" {:headers {:accept ""
                                                                                                        :content-type ""}})
require "http/client"

url = "{{baseUrl}}/api/catalog_system/pub/facets/category/:categoryId"
headers = HTTP::Headers{
  "accept" => ""
  "content-type" => ""
}

response = HTTP::Client.get url, headers: headers
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
    Method = HttpMethod.Get,
    RequestUri = new Uri("{{baseUrl}}/api/catalog_system/pub/facets/category/:categoryId"),
    Headers =
    {
        { "accept", "" },
    },
};
using (var response = await client.SendAsync(request))
{
    response.EnsureSuccessStatusCode();
    var body = await response.Content.ReadAsStringAsync();
    Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/api/catalog_system/pub/facets/category/:categoryId");
var request = new RestRequest("", Method.Get);
request.AddHeader("accept", "");
request.AddHeader("content-type", "");
var response = client.Execute(request);
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "{{baseUrl}}/api/catalog_system/pub/facets/category/:categoryId"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("accept", "")
	req.Header.Add("content-type", "")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
GET /baseUrl/api/catalog_system/pub/facets/category/:categoryId HTTP/1.1
Accept: 
Content-Type: 
Host: example.com

AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/api/catalog_system/pub/facets/category/:categoryId")
  .setHeader("accept", "")
  .setHeader("content-type", "")
  .execute()
  .toCompletableFuture()
  .thenAccept(System.out::println)
  .join();

client.close();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("{{baseUrl}}/api/catalog_system/pub/facets/category/:categoryId"))
    .header("accept", "")
    .header("content-type", "")
    .method("GET", HttpRequest.BodyPublishers.noBody())
    .build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("{{baseUrl}}/api/catalog_system/pub/facets/category/:categoryId")
  .get()
  .addHeader("accept", "")
  .addHeader("content-type", "")
  .build();

Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/api/catalog_system/pub/facets/category/:categoryId")
  .header("accept", "")
  .header("content-type", "")
  .asString();
const data = null;

const xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener('readystatechange', function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open('GET', '{{baseUrl}}/api/catalog_system/pub/facets/category/:categoryId');
xhr.setRequestHeader('accept', '');
xhr.setRequestHeader('content-type', '');

xhr.send(data);
import axios from 'axios';

const options = {
  method: 'GET',
  url: '{{baseUrl}}/api/catalog_system/pub/facets/category/:categoryId',
  headers: {accept: '', 'content-type': ''}
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const url = '{{baseUrl}}/api/catalog_system/pub/facets/category/:categoryId';
const options = {method: 'GET', headers: {accept: '', 'content-type': ''}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
const settings = {
  async: true,
  crossDomain: true,
  url: '{{baseUrl}}/api/catalog_system/pub/facets/category/:categoryId',
  method: 'GET',
  headers: {
    accept: '',
    'content-type': ''
  }
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
val client = OkHttpClient()

val request = Request.Builder()
  .url("{{baseUrl}}/api/catalog_system/pub/facets/category/:categoryId")
  .get()
  .addHeader("accept", "")
  .addHeader("content-type", "")
  .build()

val response = client.newCall(request).execute()
const http = require('https');

const options = {
  method: 'GET',
  hostname: 'example.com',
  port: null,
  path: '/baseUrl/api/catalog_system/pub/facets/category/:categoryId',
  headers: {
    accept: '',
    'content-type': ''
  }
};

const req = http.request(options, function (res) {
  const chunks = [];

  res.on('data', function (chunk) {
    chunks.push(chunk);
  });

  res.on('end', function () {
    const body = Buffer.concat(chunks);
    console.log(body.toString());
  });
});

req.end();
const request = require('request');

const options = {
  method: 'GET',
  url: '{{baseUrl}}/api/catalog_system/pub/facets/category/:categoryId',
  headers: {accept: '', 'content-type': ''}
};

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
const unirest = require('unirest');

const req = unirest('GET', '{{baseUrl}}/api/catalog_system/pub/facets/category/:categoryId');

req.headers({
  accept: '',
  'content-type': ''
});

req.end(function (res) {
  if (res.error) throw new Error(res.error);

  console.log(res.body);
});
const axios = require('axios').default;

const options = {
  method: 'GET',
  url: '{{baseUrl}}/api/catalog_system/pub/facets/category/:categoryId',
  headers: {accept: '', 'content-type': ''}
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const fetch = require('node-fetch');

const url = '{{baseUrl}}/api/catalog_system/pub/facets/category/:categoryId';
const options = {method: 'GET', headers: {accept: '', 'content-type': ''}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
#import 

NSDictionary *headers = @{ @"accept": @"",
                           @"content-type": @"" };

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/api/catalog_system/pub/facets/category/:categoryId"]
                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy
                                                   timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
[request setAllHTTPHeaderFields:headers];

NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
                                                if (error) {
                                                    NSLog(@"%@", error);
                                                } else {
                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
                                                    NSLog(@"%@", httpResponse);
                                                }
                                            }];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt

let uri = Uri.of_string "{{baseUrl}}/api/catalog_system/pub/facets/category/:categoryId" in
let headers = Header.add_list (Header.init ()) [
  ("accept", "");
  ("content-type", "");
] in

Client.call ~headers `GET uri
>>= fun (res, body_stream) ->
  (* Do stuff with the result *)
 "{{baseUrl}}/api/catalog_system/pub/facets/category/:categoryId",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
  CURLOPT_HTTPHEADER => [
    "accept: ",
    "content-type: "
  ],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
request('GET', '{{baseUrl}}/api/catalog_system/pub/facets/category/:categoryId', [
  'headers' => [
    'accept' => '',
    'content-type' => '',
  ],
]);

echo $response->getBody();
setUrl('{{baseUrl}}/api/catalog_system/pub/facets/category/:categoryId');
$request->setMethod(HTTP_METH_GET);

$request->setHeaders([
  'accept' => '',
  'content-type' => ''
]);

try {
  $response = $request->send();

  echo $response->getBody();
} catch (HttpException $ex) {
  echo $ex;
}
setRequestUrl('{{baseUrl}}/api/catalog_system/pub/facets/category/:categoryId');
$request->setRequestMethod('GET');
$request->setHeaders([
  'accept' => '',
  'content-type' => ''
]);

$client->enqueue($request)->send();
$response = $client->getResponse();

echo $response->getBody();
$headers=@{}
$headers.Add("accept", "")
$headers.Add("content-type", "")
$response = Invoke-WebRequest -Uri '{{baseUrl}}/api/catalog_system/pub/facets/category/:categoryId' -Method GET -Headers $headers
$headers=@{}
$headers.Add("accept", "")
$headers.Add("content-type", "")
$response = Invoke-RestMethod -Uri '{{baseUrl}}/api/catalog_system/pub/facets/category/:categoryId' -Method GET -Headers $headers
import http.client

conn = http.client.HTTPSConnection("example.com")

headers = {
    'accept': "",
    'content-type': ""
}

conn.request("GET", "/baseUrl/api/catalog_system/pub/facets/category/:categoryId", headers=headers)

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
import requests

url = "{{baseUrl}}/api/catalog_system/pub/facets/category/:categoryId"

headers = {
    "accept": "",
    "content-type": ""
}

response = requests.get(url, headers=headers)

print(response.json())
library(httr)

url <- "{{baseUrl}}/api/catalog_system/pub/facets/category/:categoryId"

response <- VERB("GET", url, content_type("application/octet-stream"))

content(response, "text")
require 'uri'
require 'net/http'

url = URI("{{baseUrl}}/api/catalog_system/pub/facets/category/:categoryId")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["accept"] = ''
request["content-type"] = ''

response = http.request(request)
puts response.read_body
require 'faraday'

conn = Faraday.new(
  url: 'https://example.com',
)

response = conn.get('/baseUrl/api/catalog_system/pub/facets/category/:categoryId') do |req|
  req.headers['accept'] = ''
end

puts response.status
puts response.body
use reqwest;

#[tokio::main]
pub async fn main() {
    let url = "{{baseUrl}}/api/catalog_system/pub/facets/category/:categoryId";

    let mut headers = reqwest::header::HeaderMap::new();
    headers.insert("accept", "".parse().unwrap());
    headers.insert("content-type", "".parse().unwrap());

    let client = reqwest::Client::new();
    let response = client.get(url)
        .headers(headers)
        .send()
        .await;

    let results = response.unwrap()
        .json::()
        .await
        .unwrap();

    dbg!(results);
}
curl --request GET \
  --url {{baseUrl}}/api/catalog_system/pub/facets/category/:categoryId \
  --header 'accept: ' \
  --header 'content-type: '
http GET {{baseUrl}}/api/catalog_system/pub/facets/category/:categoryId \
  accept:'' \
  content-type:''
wget --quiet \
  --method GET \
  --header 'accept: ' \
  --header 'content-type: ' \
  --output-document \
  - {{baseUrl}}/api/catalog_system/pub/facets/category/:categoryId
import Foundation

let headers = [
  "accept": "",
  "content-type": ""
]

let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/api/catalog_system/pub/facets/category/:categoryId")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
RESPONSE HEADERS

Content-Type
application/json
RESPONSE BODY json

[
  {
    "Id": 45,
    "Name": "Tamanho Global"
  },
  {
    "Id": 25,
    "Name": "Percentuals"
  }
]
GET Search by Store Facets
{{baseUrl}}/api/catalog_system/pub/facets/search/:term
HEADERS

Accept
Content-Type
QUERY PARAMS

map
term
Examples
REQUEST

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/api/catalog_system/pub/facets/search/:term?map=");

struct curl_slist *headers = NULL;
headers = curl_slist_append(headers, "accept: ");
headers = curl_slist_append(headers, "content-type: ");
curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);

CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])

(client/get "{{baseUrl}}/api/catalog_system/pub/facets/search/:term" {:headers {:accept ""
                                                                                                :content-type ""}
                                                                                      :query-params {:map ""}})
require "http/client"

url = "{{baseUrl}}/api/catalog_system/pub/facets/search/:term?map="
headers = HTTP::Headers{
  "accept" => ""
  "content-type" => ""
}

response = HTTP::Client.get url, headers: headers
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
    Method = HttpMethod.Get,
    RequestUri = new Uri("{{baseUrl}}/api/catalog_system/pub/facets/search/:term?map="),
    Headers =
    {
        { "accept", "" },
    },
};
using (var response = await client.SendAsync(request))
{
    response.EnsureSuccessStatusCode();
    var body = await response.Content.ReadAsStringAsync();
    Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/api/catalog_system/pub/facets/search/:term?map=");
var request = new RestRequest("", Method.Get);
request.AddHeader("accept", "");
request.AddHeader("content-type", "");
var response = client.Execute(request);
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "{{baseUrl}}/api/catalog_system/pub/facets/search/:term?map="

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("accept", "")
	req.Header.Add("content-type", "")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
GET /baseUrl/api/catalog_system/pub/facets/search/:term?map= HTTP/1.1
Accept: 
Content-Type: 
Host: example.com

AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/api/catalog_system/pub/facets/search/:term?map=")
  .setHeader("accept", "")
  .setHeader("content-type", "")
  .execute()
  .toCompletableFuture()
  .thenAccept(System.out::println)
  .join();

client.close();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("{{baseUrl}}/api/catalog_system/pub/facets/search/:term?map="))
    .header("accept", "")
    .header("content-type", "")
    .method("GET", HttpRequest.BodyPublishers.noBody())
    .build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("{{baseUrl}}/api/catalog_system/pub/facets/search/:term?map=")
  .get()
  .addHeader("accept", "")
  .addHeader("content-type", "")
  .build();

Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/api/catalog_system/pub/facets/search/:term?map=")
  .header("accept", "")
  .header("content-type", "")
  .asString();
const data = null;

const xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener('readystatechange', function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open('GET', '{{baseUrl}}/api/catalog_system/pub/facets/search/:term?map=');
xhr.setRequestHeader('accept', '');
xhr.setRequestHeader('content-type', '');

xhr.send(data);
import axios from 'axios';

const options = {
  method: 'GET',
  url: '{{baseUrl}}/api/catalog_system/pub/facets/search/:term',
  params: {map: ''},
  headers: {accept: '', 'content-type': ''}
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const url = '{{baseUrl}}/api/catalog_system/pub/facets/search/:term?map=';
const options = {method: 'GET', headers: {accept: '', 'content-type': ''}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
const settings = {
  async: true,
  crossDomain: true,
  url: '{{baseUrl}}/api/catalog_system/pub/facets/search/:term?map=',
  method: 'GET',
  headers: {
    accept: '',
    'content-type': ''
  }
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
val client = OkHttpClient()

val request = Request.Builder()
  .url("{{baseUrl}}/api/catalog_system/pub/facets/search/:term?map=")
  .get()
  .addHeader("accept", "")
  .addHeader("content-type", "")
  .build()

val response = client.newCall(request).execute()
const http = require('https');

const options = {
  method: 'GET',
  hostname: 'example.com',
  port: null,
  path: '/baseUrl/api/catalog_system/pub/facets/search/:term?map=',
  headers: {
    accept: '',
    'content-type': ''
  }
};

const req = http.request(options, function (res) {
  const chunks = [];

  res.on('data', function (chunk) {
    chunks.push(chunk);
  });

  res.on('end', function () {
    const body = Buffer.concat(chunks);
    console.log(body.toString());
  });
});

req.end();
const request = require('request');

const options = {
  method: 'GET',
  url: '{{baseUrl}}/api/catalog_system/pub/facets/search/:term',
  qs: {map: ''},
  headers: {accept: '', 'content-type': ''}
};

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
const unirest = require('unirest');

const req = unirest('GET', '{{baseUrl}}/api/catalog_system/pub/facets/search/:term');

req.query({
  map: ''
});

req.headers({
  accept: '',
  'content-type': ''
});

req.end(function (res) {
  if (res.error) throw new Error(res.error);

  console.log(res.body);
});
const axios = require('axios').default;

const options = {
  method: 'GET',
  url: '{{baseUrl}}/api/catalog_system/pub/facets/search/:term',
  params: {map: ''},
  headers: {accept: '', 'content-type': ''}
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const fetch = require('node-fetch');

const url = '{{baseUrl}}/api/catalog_system/pub/facets/search/:term?map=';
const options = {method: 'GET', headers: {accept: '', 'content-type': ''}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
#import 

NSDictionary *headers = @{ @"accept": @"",
                           @"content-type": @"" };

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/api/catalog_system/pub/facets/search/:term?map="]
                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy
                                                   timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
[request setAllHTTPHeaderFields:headers];

NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
                                                if (error) {
                                                    NSLog(@"%@", error);
                                                } else {
                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
                                                    NSLog(@"%@", httpResponse);
                                                }
                                            }];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt

let uri = Uri.of_string "{{baseUrl}}/api/catalog_system/pub/facets/search/:term?map=" in
let headers = Header.add_list (Header.init ()) [
  ("accept", "");
  ("content-type", "");
] in

Client.call ~headers `GET uri
>>= fun (res, body_stream) ->
  (* Do stuff with the result *)
 "{{baseUrl}}/api/catalog_system/pub/facets/search/:term?map=",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
  CURLOPT_HTTPHEADER => [
    "accept: ",
    "content-type: "
  ],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
request('GET', '{{baseUrl}}/api/catalog_system/pub/facets/search/:term?map=', [
  'headers' => [
    'accept' => '',
    'content-type' => '',
  ],
]);

echo $response->getBody();
setUrl('{{baseUrl}}/api/catalog_system/pub/facets/search/:term');
$request->setMethod(HTTP_METH_GET);

$request->setQueryData([
  'map' => ''
]);

$request->setHeaders([
  'accept' => '',
  'content-type' => ''
]);

try {
  $response = $request->send();

  echo $response->getBody();
} catch (HttpException $ex) {
  echo $ex;
}
setRequestUrl('{{baseUrl}}/api/catalog_system/pub/facets/search/:term');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
  'map' => ''
]));

$request->setHeaders([
  'accept' => '',
  'content-type' => ''
]);

$client->enqueue($request)->send();
$response = $client->getResponse();

echo $response->getBody();
$headers=@{}
$headers.Add("accept", "")
$headers.Add("content-type", "")
$response = Invoke-WebRequest -Uri '{{baseUrl}}/api/catalog_system/pub/facets/search/:term?map=' -Method GET -Headers $headers
$headers=@{}
$headers.Add("accept", "")
$headers.Add("content-type", "")
$response = Invoke-RestMethod -Uri '{{baseUrl}}/api/catalog_system/pub/facets/search/:term?map=' -Method GET -Headers $headers
import http.client

conn = http.client.HTTPSConnection("example.com")

headers = {
    'accept': "",
    'content-type': ""
}

conn.request("GET", "/baseUrl/api/catalog_system/pub/facets/search/:term?map=", headers=headers)

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
import requests

url = "{{baseUrl}}/api/catalog_system/pub/facets/search/:term"

querystring = {"map":""}

headers = {
    "accept": "",
    "content-type": ""
}

response = requests.get(url, headers=headers, params=querystring)

print(response.json())
library(httr)

url <- "{{baseUrl}}/api/catalog_system/pub/facets/search/:term"

queryString <- list(map = "")

response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))

content(response, "text")
require 'uri'
require 'net/http'

url = URI("{{baseUrl}}/api/catalog_system/pub/facets/search/:term?map=")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["accept"] = ''
request["content-type"] = ''

response = http.request(request)
puts response.read_body
require 'faraday'

conn = Faraday.new(
  url: 'https://example.com',
)

response = conn.get('/baseUrl/api/catalog_system/pub/facets/search/:term') do |req|
  req.headers['accept'] = ''
  req.params['map'] = ''
end

puts response.status
puts response.body
use reqwest;

#[tokio::main]
pub async fn main() {
    let url = "{{baseUrl}}/api/catalog_system/pub/facets/search/:term";

    let querystring = [
        ("map", ""),
    ];

    let mut headers = reqwest::header::HeaderMap::new();
    headers.insert("accept", "".parse().unwrap());
    headers.insert("content-type", "".parse().unwrap());

    let client = reqwest::Client::new();
    let response = client.get(url)
        .query(&querystring)
        .headers(headers)
        .send()
        .await;

    let results = response.unwrap()
        .json::()
        .await
        .unwrap();

    dbg!(results);
}
curl --request GET \
  --url '{{baseUrl}}/api/catalog_system/pub/facets/search/:term?map=' \
  --header 'accept: ' \
  --header 'content-type: '
http GET '{{baseUrl}}/api/catalog_system/pub/facets/search/:term?map=' \
  accept:'' \
  content-type:''
wget --quiet \
  --method GET \
  --header 'accept: ' \
  --header 'content-type: ' \
  --output-document \
  - '{{baseUrl}}/api/catalog_system/pub/facets/search/:term?map='
import Foundation

let headers = [
  "accept": "",
  "content-type": ""
]

let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/api/catalog_system/pub/facets/search/:term?map=")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
RESPONSE HEADERS

Content-Type
application/json
RESPONSE BODY json

{
  "Brands": [
    {
      "Link": "/1/1234600/1/Merch-XP?map=c,c,b,b",
      "LinkEncoded": "/1/1234600/1/Merch-XP?map=c,c,b,b",
      "Map": "b",
      "Name": "Merch XP",
      "Position": null,
      "Quantity": 2,
      "Value": "Merch-XP"
    },
    {
      "Link": "/1/1234600/1/Ze?map=c,c,b,b",
      "LinkEncoded": "/1/1234600/1/Ze?map=c,c,b,b",
      "Map": "b",
      "Name": "Zé",
      "Position": null,
      "Quantity": 2,
      "Value": "Ze"
    },
    {
      "Link": "/1/1234600/1/Odin?map=c,c,b,b",
      "LinkEncoded": "/1/1234600/1/Odin?map=c,c,b,b",
      "Map": "b",
      "Name": "Odin",
      "Position": null,
      "Quantity": 1,
      "Value": "Odin"
    },
    {
      "Link": "/1/1234600/1/Hoegaarden?map=c,c,b,b",
      "LinkEncoded": "/1/1234600/1/Hoegaarden?map=c,c,b,b",
      "Map": "b",
      "Name": "Hoegaarden",
      "Position": null,
      "Quantity": 2,
      "Value": "Hoegaarden"
    },
    {
      "Link": "/1/1234600/1/Teste-marcas?map=c,c,b,b",
      "LinkEncoded": "/1/1234600/1/Teste-marcas?map=c,c,b,b",
      "Map": "b",
      "Name": "Teste marcas",
      "Position": null,
      "Quantity": 1,
      "Value": "Teste-marcas"
    },
    {
      "Link": "/1/1234600/1/Bitmap-Bureau?map=c,c,b,b",
      "LinkEncoded": "/1/1234600/1/Bitmap-Bureau?map=c,c,b,b",
      "Map": "b",
      "Name": "Bitmap Bureau",
      "Position": null,
      "Quantity": 1,
      "Value": "Bitmap-Bureau"
    },
    {
      "Link": "/1/1234600/1/Sega?map=c,c,b,b",
      "LinkEncoded": "/1/1234600/1/Sega?map=c,c,b,b",
      "Map": "b",
      "Name": "Sega",
      "Position": null,
      "Quantity": 1,
      "Value": "Sega"
    },
    {
      "Link": "/1/1234600/1/Technogym?map=c,c,b,b",
      "LinkEncoded": "/1/1234600/1/Technogym?map=c,c,b,b",
      "Map": "b",
      "Name": "Technogym",
      "Position": null,
      "Quantity": 3,
      "Value": "Technogym"
    },
    {
      "Link": "/1/1234600/1/Aptany?map=c,c,b,b",
      "LinkEncoded": "/1/1234600/1/Aptany?map=c,c,b,b",
      "Map": "b",
      "Name": "Aptany",
      "Position": null,
      "Quantity": 3,
      "Value": "Aptany"
    },
    {
      "Link": "/1/1234600/1/Tectoy?map=c,c,b,b",
      "LinkEncoded": "/1/1234600/1/Tectoy?map=c,c,b,b",
      "Map": "b",
      "Name": "Tectoy",
      "Position": null,
      "Quantity": 1,
      "Value": "Tectoy"
    }
  ],
  "CategoriesTrees": [
    {
      "Children": [
        {
          "Children": [],
          "Id": 2,
          "Link": "/Beers-Beers-Mesmo/Lager-Beers/1?map=c,c,b",
          "LinkEncoded": "/Beers-Beers-Mesmo/Lager-Beers/1?map=c,c,b",
          "Map": "c",
          "Name": "Lager Beers",
          "Position": null,
          "Quantity": 1,
          "Value": "Lager-Beers"
        }
      ],
      "Id": 1,
      "Link": "/Beers-Beers-Mesmo/1?map=c,b",
      "LinkEncoded": "/Beers-Beers-Mesmo/1?map=c,b",
      "Map": "c",
      "Name": "Beers Beers Mesmo",
      "Position": null,
      "Quantity": 4,
      "Value": "Beers-Beers-Mesmo"
    },
    {
      "Children": [],
      "Id": 1234571,
      "Link": "/Jogos/1?map=c,b",
      "LinkEncoded": "/Jogos/1?map=c,b",
      "Map": "c",
      "Name": "Jogos",
      "Position": null,
      "Quantity": 2,
      "Value": "Jogos"
    },
    {
      "Children": [],
      "Id": 1234579,
      "Link": "/189/1?map=c,b",
      "LinkEncoded": "/189/1?map=c,b",
      "Map": "c",
      "Name": "189",
      "Position": null,
      "Quantity": 3,
      "Value": "189"
    },
    {
      "Children": [],
      "Id": 1234587,
      "Link": "/Tests/1?map=c,b",
      "LinkEncoded": "/Tests/1?map=c,b",
      "Map": "c",
      "Name": "Tests",
      "Position": null,
      "Quantity": 1,
      "Value": "Tests"
    },
    {
      "Children": [
        {
          "Children": [],
          "Id": 1234596,
          "Link": "/Accessories/Foam-rollers/1?map=c,c,b",
          "LinkEncoded": "/Accessories/Foam-rollers/1?map=c,c,b",
          "Map": "c",
          "Name": "Foam rollers",
          "Position": null,
          "Quantity": 1,
          "Value": "Foam-rollers"
        }
      ],
      "Id": 1234595,
      "Link": "/Accessories/1?map=c,b",
      "LinkEncoded": "/Accessories/1?map=c,b",
      "Map": "c",
      "Name": "Accessories",
      "Position": null,
      "Quantity": 1,
      "Value": "Accessories"
    },
    {
      "Children": [
        {
          "Children": [],
          "Id": 1234598,
          "Link": "/Bars/Training-Bars/1?map=c,c,b",
          "LinkEncoded": "/Bars/Training-Bars/1?map=c,c,b",
          "Map": "c",
          "Name": "Training Bars",
          "Position": null,
          "Quantity": 1,
          "Value": "Training-Bars"
        },
        {
          "Children": [],
          "Id": 1234599,
          "Link": "/Bars/Curl-Bars/1?map=c,c,b",
          "LinkEncoded": "/Bars/Curl-Bars/1?map=c,c,b",
          "Map": "c",
          "Name": "Curl Bars",
          "Position": null,
          "Quantity": 1,
          "Value": "Curl-Bars"
        }
      ],
      "Id": 1234597,
      "Link": "/Bars/1?map=c,b",
      "LinkEncoded": "/Bars/1?map=c,b",
      "Map": "c",
      "Name": "Bars",
      "Position": null,
      "Quantity": 2,
      "Value": "Bars"
    },
    {
      "Children": [
        {
          "Children": [],
          "Id": 13,
          "Link": "/Coronas/nao-tem-limite-/1?map=c,c,b",
          "LinkEncoded": "/Coronas/nao-tem-limite-/1?map=c,c,b",
          "Map": "c",
          "Name": "não tem limite!",
          "Position": null,
          "Quantity": 1,
          "Value": "nao-tem-limite-"
        }
      ],
      "Id": 15,
      "Link": "/Coronas/1?map=c,b",
      "LinkEncoded": "/Coronas/1?map=c,b",
      "Map": "c",
      "Name": "Coronas",
      "Position": null,
      "Quantity": 1,
      "Value": "Coronas"
    },
    {
      "Children": [],
      "Id": 4,
      "Link": "/Merch-Integration-Category-||/1?map=c,b",
      "LinkEncoded": "/Merch-Integration-Category-%7C%7C/1?map=c,b",
      "Map": "c",
      "Name": "Merch Integration Category ||",
      "Position": null,
      "Quantity": 4,
      "Value": "Merch-Integration-Category-||"
    }
  ],
  "Departments": [
    {
      "Link": "/Beers-Beers-Mesmo/1?map=c,b",
      "LinkEncoded": "/Beers-Beers-Mesmo/1?map=c,b",
      "Map": "c",
      "Name": "Beers Beers Mesmo",
      "Position": null,
      "Quantity": 2,
      "Value": "Beers-Beers-Mesmo"
    },
    {
      "Link": "/Merch-Integration-Category-||/1?map=c,b",
      "LinkEncoded": "/Merch-Integration-Category-%7C%7C/1?map=c,b",
      "Map": "c",
      "Name": "Merch Integration Category ||",
      "Position": null,
      "Quantity": 2,
      "Value": "Merch-Integration-Category-||"
    },
    {
      "Link": "/Jogos/1?map=c,b",
      "LinkEncoded": "/Jogos/1?map=c,b",
      "Map": "c",
      "Name": "Jogos",
      "Position": null,
      "Quantity": 1,
      "Value": "Jogos"
    },
    {
      "Link": "/189/1?map=c,b",
      "LinkEncoded": "/189/1?map=c,b",
      "Map": "c",
      "Name": "189",
      "Position": null,
      "Quantity": 3,
      "Value": "189"
    },
    {
      "Link": "/Tests/1?map=c,b",
      "LinkEncoded": "/Tests/1?map=c,b",
      "Map": "c",
      "Name": "Tests",
      "Position": null,
      "Quantity": 1,
      "Value": "Tests"
    },
    {
      "Link": "/Accessories/1?map=c,b",
      "LinkEncoded": "/Accessories/1?map=c,b",
      "Map": "c",
      "Name": "Accessories",
      "Position": null,
      "Quantity": 1,
      "Value": "Accessories"
    },
    {
      "Link": "/Bars/1?map=c,b",
      "LinkEncoded": "/Bars/1?map=c,b",
      "Map": "c",
      "Name": "Bars",
      "Position": null,
      "Quantity": 2,
      "Value": "Bars"
    },
    {
      "Link": "/Categoria-Teste-Timeout/1?map=c,b",
      "LinkEncoded": "/Categoria-Teste-Timeout/1?map=c,b",
      "Map": "c",
      "Name": "Categoria Teste Timeout",
      "Position": null,
      "Quantity": 5,
      "Value": "Categoria-Teste-Timeout"
    }
  ],
  "PriceRanges": [],
  "SpecificationFilters": {},
  "Summary": {
    "Brands": {
      "DisplayedItems": 10,
      "TotalItems": 10
    },
    "CategoriesTrees": {
      "DisplayedItems": 13,
      "TotalItems": 13
    },
    "Departments": {
      "DisplayedItems": 8,
      "TotalItems": 8
    },
    "PriceRanges": {
      "DisplayedItems": 0,
      "TotalItems": 0
    },
    "SpecificationFilters": {}
  }
}
GET Search Product offers
{{baseUrl}}/api/catalog_system/pub/products/offers/:productId
HEADERS

Accept
Content-Type
QUERY PARAMS

productId
Examples
REQUEST

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/api/catalog_system/pub/products/offers/:productId");

struct curl_slist *headers = NULL;
headers = curl_slist_append(headers, "accept: ");
headers = curl_slist_append(headers, "content-type: ");
curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);

CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])

(client/get "{{baseUrl}}/api/catalog_system/pub/products/offers/:productId" {:headers {:accept ""
                                                                                                       :content-type ""}})
require "http/client"

url = "{{baseUrl}}/api/catalog_system/pub/products/offers/:productId"
headers = HTTP::Headers{
  "accept" => ""
  "content-type" => ""
}

response = HTTP::Client.get url, headers: headers
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
    Method = HttpMethod.Get,
    RequestUri = new Uri("{{baseUrl}}/api/catalog_system/pub/products/offers/:productId"),
    Headers =
    {
        { "accept", "" },
    },
};
using (var response = await client.SendAsync(request))
{
    response.EnsureSuccessStatusCode();
    var body = await response.Content.ReadAsStringAsync();
    Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/api/catalog_system/pub/products/offers/:productId");
var request = new RestRequest("", Method.Get);
request.AddHeader("accept", "");
request.AddHeader("content-type", "");
var response = client.Execute(request);
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "{{baseUrl}}/api/catalog_system/pub/products/offers/:productId"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("accept", "")
	req.Header.Add("content-type", "")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
GET /baseUrl/api/catalog_system/pub/products/offers/:productId HTTP/1.1
Accept: 
Content-Type: 
Host: example.com

AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/api/catalog_system/pub/products/offers/:productId")
  .setHeader("accept", "")
  .setHeader("content-type", "")
  .execute()
  .toCompletableFuture()
  .thenAccept(System.out::println)
  .join();

client.close();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("{{baseUrl}}/api/catalog_system/pub/products/offers/:productId"))
    .header("accept", "")
    .header("content-type", "")
    .method("GET", HttpRequest.BodyPublishers.noBody())
    .build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("{{baseUrl}}/api/catalog_system/pub/products/offers/:productId")
  .get()
  .addHeader("accept", "")
  .addHeader("content-type", "")
  .build();

Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/api/catalog_system/pub/products/offers/:productId")
  .header("accept", "")
  .header("content-type", "")
  .asString();
const data = null;

const xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener('readystatechange', function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open('GET', '{{baseUrl}}/api/catalog_system/pub/products/offers/:productId');
xhr.setRequestHeader('accept', '');
xhr.setRequestHeader('content-type', '');

xhr.send(data);
import axios from 'axios';

const options = {
  method: 'GET',
  url: '{{baseUrl}}/api/catalog_system/pub/products/offers/:productId',
  headers: {accept: '', 'content-type': ''}
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const url = '{{baseUrl}}/api/catalog_system/pub/products/offers/:productId';
const options = {method: 'GET', headers: {accept: '', 'content-type': ''}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
const settings = {
  async: true,
  crossDomain: true,
  url: '{{baseUrl}}/api/catalog_system/pub/products/offers/:productId',
  method: 'GET',
  headers: {
    accept: '',
    'content-type': ''
  }
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
val client = OkHttpClient()

val request = Request.Builder()
  .url("{{baseUrl}}/api/catalog_system/pub/products/offers/:productId")
  .get()
  .addHeader("accept", "")
  .addHeader("content-type", "")
  .build()

val response = client.newCall(request).execute()
const http = require('https');

const options = {
  method: 'GET',
  hostname: 'example.com',
  port: null,
  path: '/baseUrl/api/catalog_system/pub/products/offers/:productId',
  headers: {
    accept: '',
    'content-type': ''
  }
};

const req = http.request(options, function (res) {
  const chunks = [];

  res.on('data', function (chunk) {
    chunks.push(chunk);
  });

  res.on('end', function () {
    const body = Buffer.concat(chunks);
    console.log(body.toString());
  });
});

req.end();
const request = require('request');

const options = {
  method: 'GET',
  url: '{{baseUrl}}/api/catalog_system/pub/products/offers/:productId',
  headers: {accept: '', 'content-type': ''}
};

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
const unirest = require('unirest');

const req = unirest('GET', '{{baseUrl}}/api/catalog_system/pub/products/offers/:productId');

req.headers({
  accept: '',
  'content-type': ''
});

req.end(function (res) {
  if (res.error) throw new Error(res.error);

  console.log(res.body);
});
const axios = require('axios').default;

const options = {
  method: 'GET',
  url: '{{baseUrl}}/api/catalog_system/pub/products/offers/:productId',
  headers: {accept: '', 'content-type': ''}
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const fetch = require('node-fetch');

const url = '{{baseUrl}}/api/catalog_system/pub/products/offers/:productId';
const options = {method: 'GET', headers: {accept: '', 'content-type': ''}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
#import 

NSDictionary *headers = @{ @"accept": @"",
                           @"content-type": @"" };

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/api/catalog_system/pub/products/offers/:productId"]
                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy
                                                   timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
[request setAllHTTPHeaderFields:headers];

NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
                                                if (error) {
                                                    NSLog(@"%@", error);
                                                } else {
                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
                                                    NSLog(@"%@", httpResponse);
                                                }
                                            }];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt

let uri = Uri.of_string "{{baseUrl}}/api/catalog_system/pub/products/offers/:productId" in
let headers = Header.add_list (Header.init ()) [
  ("accept", "");
  ("content-type", "");
] in

Client.call ~headers `GET uri
>>= fun (res, body_stream) ->
  (* Do stuff with the result *)
 "{{baseUrl}}/api/catalog_system/pub/products/offers/:productId",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
  CURLOPT_HTTPHEADER => [
    "accept: ",
    "content-type: "
  ],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
request('GET', '{{baseUrl}}/api/catalog_system/pub/products/offers/:productId', [
  'headers' => [
    'accept' => '',
    'content-type' => '',
  ],
]);

echo $response->getBody();
setUrl('{{baseUrl}}/api/catalog_system/pub/products/offers/:productId');
$request->setMethod(HTTP_METH_GET);

$request->setHeaders([
  'accept' => '',
  'content-type' => ''
]);

try {
  $response = $request->send();

  echo $response->getBody();
} catch (HttpException $ex) {
  echo $ex;
}
setRequestUrl('{{baseUrl}}/api/catalog_system/pub/products/offers/:productId');
$request->setRequestMethod('GET');
$request->setHeaders([
  'accept' => '',
  'content-type' => ''
]);

$client->enqueue($request)->send();
$response = $client->getResponse();

echo $response->getBody();
$headers=@{}
$headers.Add("accept", "")
$headers.Add("content-type", "")
$response = Invoke-WebRequest -Uri '{{baseUrl}}/api/catalog_system/pub/products/offers/:productId' -Method GET -Headers $headers
$headers=@{}
$headers.Add("accept", "")
$headers.Add("content-type", "")
$response = Invoke-RestMethod -Uri '{{baseUrl}}/api/catalog_system/pub/products/offers/:productId' -Method GET -Headers $headers
import http.client

conn = http.client.HTTPSConnection("example.com")

headers = {
    'accept': "",
    'content-type': ""
}

conn.request("GET", "/baseUrl/api/catalog_system/pub/products/offers/:productId", headers=headers)

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
import requests

url = "{{baseUrl}}/api/catalog_system/pub/products/offers/:productId"

headers = {
    "accept": "",
    "content-type": ""
}

response = requests.get(url, headers=headers)

print(response.json())
library(httr)

url <- "{{baseUrl}}/api/catalog_system/pub/products/offers/:productId"

response <- VERB("GET", url, content_type("application/octet-stream"))

content(response, "text")
require 'uri'
require 'net/http'

url = URI("{{baseUrl}}/api/catalog_system/pub/products/offers/:productId")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["accept"] = ''
request["content-type"] = ''

response = http.request(request)
puts response.read_body
require 'faraday'

conn = Faraday.new(
  url: 'https://example.com',
)

response = conn.get('/baseUrl/api/catalog_system/pub/products/offers/:productId') do |req|
  req.headers['accept'] = ''
end

puts response.status
puts response.body
use reqwest;

#[tokio::main]
pub async fn main() {
    let url = "{{baseUrl}}/api/catalog_system/pub/products/offers/:productId";

    let mut headers = reqwest::header::HeaderMap::new();
    headers.insert("accept", "".parse().unwrap());
    headers.insert("content-type", "".parse().unwrap());

    let client = reqwest::Client::new();
    let response = client.get(url)
        .headers(headers)
        .send()
        .await;

    let results = response.unwrap()
        .json::()
        .await
        .unwrap();

    dbg!(results);
}
curl --request GET \
  --url {{baseUrl}}/api/catalog_system/pub/products/offers/:productId \
  --header 'accept: ' \
  --header 'content-type: '
http GET {{baseUrl}}/api/catalog_system/pub/products/offers/:productId \
  accept:'' \
  content-type:''
wget --quiet \
  --method GET \
  --header 'accept: ' \
  --header 'content-type: ' \
  --output-document \
  - {{baseUrl}}/api/catalog_system/pub/products/offers/:productId
import Foundation

let headers = [
  "accept": "",
  "content-type": ""
]

let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/api/catalog_system/pub/products/offers/:productId")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
RESPONSE HEADERS

Content-Type
application/json
RESPONSE BODY json

[
  {
    "EanId": "272727",
    "IsActive": true,
    "LastModified": "2021-07-06T19:13:45.831483",
    "MainImage": {
      "ImageId": "172754",
      "ImageLabel": null,
      "ImagePath": "~/arquivos/ids/172754-#width#-#height#/Diablo.jpg",
      "ImageTag": "\"\"",
      "ImageText": null,
      "IsMain": true,
      "IsZoomSize": false,
      "LastModified": "2021-03-24T15:37:24.877"
    },
    "Name": "Llf",
    "NameComplete": "Cacilds Llf",
    "Offers": [
      {
        "AvailableSalesChannels": null,
        "OffersPerSalesChannel": [
          {
            "AvailableQuantity": 0,
            "IsAvailable": false,
            "ListPrice": 200,
            "Price": 200,
            "PriceWithoutDiscount": 200,
            "SaleChannel": 1
          },
          {
            "AvailableQuantity": 0,
            "IsAvailable": false,
            "ListPrice": 200,
            "Price": 200,
            "PriceWithoutDiscount": 200,
            "SaleChannel": 2
          }
        ],
        "SellerId": "1",
        "SellerSkuId": "5"
      }
    ],
    "ProductId": "3",
    "RefId": "BIGHEROBML",
    "SkuId": "5"
  }
]
GET Search SKU offers
{{baseUrl}}/api/catalog_system/pub/products/offers/:productId/sku/:skuId
HEADERS

Accept
Content-Type
QUERY PARAMS

productId
skuId
Examples
REQUEST

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/api/catalog_system/pub/products/offers/:productId/sku/:skuId");

struct curl_slist *headers = NULL;
headers = curl_slist_append(headers, "accept: ");
headers = curl_slist_append(headers, "content-type: ");
curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);

CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])

(client/get "{{baseUrl}}/api/catalog_system/pub/products/offers/:productId/sku/:skuId" {:headers {:accept ""
                                                                                                                  :content-type ""}})
require "http/client"

url = "{{baseUrl}}/api/catalog_system/pub/products/offers/:productId/sku/:skuId"
headers = HTTP::Headers{
  "accept" => ""
  "content-type" => ""
}

response = HTTP::Client.get url, headers: headers
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
    Method = HttpMethod.Get,
    RequestUri = new Uri("{{baseUrl}}/api/catalog_system/pub/products/offers/:productId/sku/:skuId"),
    Headers =
    {
        { "accept", "" },
    },
};
using (var response = await client.SendAsync(request))
{
    response.EnsureSuccessStatusCode();
    var body = await response.Content.ReadAsStringAsync();
    Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/api/catalog_system/pub/products/offers/:productId/sku/:skuId");
var request = new RestRequest("", Method.Get);
request.AddHeader("accept", "");
request.AddHeader("content-type", "");
var response = client.Execute(request);
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "{{baseUrl}}/api/catalog_system/pub/products/offers/:productId/sku/:skuId"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("accept", "")
	req.Header.Add("content-type", "")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
GET /baseUrl/api/catalog_system/pub/products/offers/:productId/sku/:skuId HTTP/1.1
Accept: 
Content-Type: 
Host: example.com

AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/api/catalog_system/pub/products/offers/:productId/sku/:skuId")
  .setHeader("accept", "")
  .setHeader("content-type", "")
  .execute()
  .toCompletableFuture()
  .thenAccept(System.out::println)
  .join();

client.close();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("{{baseUrl}}/api/catalog_system/pub/products/offers/:productId/sku/:skuId"))
    .header("accept", "")
    .header("content-type", "")
    .method("GET", HttpRequest.BodyPublishers.noBody())
    .build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("{{baseUrl}}/api/catalog_system/pub/products/offers/:productId/sku/:skuId")
  .get()
  .addHeader("accept", "")
  .addHeader("content-type", "")
  .build();

Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/api/catalog_system/pub/products/offers/:productId/sku/:skuId")
  .header("accept", "")
  .header("content-type", "")
  .asString();
const data = null;

const xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener('readystatechange', function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open('GET', '{{baseUrl}}/api/catalog_system/pub/products/offers/:productId/sku/:skuId');
xhr.setRequestHeader('accept', '');
xhr.setRequestHeader('content-type', '');

xhr.send(data);
import axios from 'axios';

const options = {
  method: 'GET',
  url: '{{baseUrl}}/api/catalog_system/pub/products/offers/:productId/sku/:skuId',
  headers: {accept: '', 'content-type': ''}
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const url = '{{baseUrl}}/api/catalog_system/pub/products/offers/:productId/sku/:skuId';
const options = {method: 'GET', headers: {accept: '', 'content-type': ''}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
const settings = {
  async: true,
  crossDomain: true,
  url: '{{baseUrl}}/api/catalog_system/pub/products/offers/:productId/sku/:skuId',
  method: 'GET',
  headers: {
    accept: '',
    'content-type': ''
  }
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
val client = OkHttpClient()

val request = Request.Builder()
  .url("{{baseUrl}}/api/catalog_system/pub/products/offers/:productId/sku/:skuId")
  .get()
  .addHeader("accept", "")
  .addHeader("content-type", "")
  .build()

val response = client.newCall(request).execute()
const http = require('https');

const options = {
  method: 'GET',
  hostname: 'example.com',
  port: null,
  path: '/baseUrl/api/catalog_system/pub/products/offers/:productId/sku/:skuId',
  headers: {
    accept: '',
    'content-type': ''
  }
};

const req = http.request(options, function (res) {
  const chunks = [];

  res.on('data', function (chunk) {
    chunks.push(chunk);
  });

  res.on('end', function () {
    const body = Buffer.concat(chunks);
    console.log(body.toString());
  });
});

req.end();
const request = require('request');

const options = {
  method: 'GET',
  url: '{{baseUrl}}/api/catalog_system/pub/products/offers/:productId/sku/:skuId',
  headers: {accept: '', 'content-type': ''}
};

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
const unirest = require('unirest');

const req = unirest('GET', '{{baseUrl}}/api/catalog_system/pub/products/offers/:productId/sku/:skuId');

req.headers({
  accept: '',
  'content-type': ''
});

req.end(function (res) {
  if (res.error) throw new Error(res.error);

  console.log(res.body);
});
const axios = require('axios').default;

const options = {
  method: 'GET',
  url: '{{baseUrl}}/api/catalog_system/pub/products/offers/:productId/sku/:skuId',
  headers: {accept: '', 'content-type': ''}
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const fetch = require('node-fetch');

const url = '{{baseUrl}}/api/catalog_system/pub/products/offers/:productId/sku/:skuId';
const options = {method: 'GET', headers: {accept: '', 'content-type': ''}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
#import 

NSDictionary *headers = @{ @"accept": @"",
                           @"content-type": @"" };

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/api/catalog_system/pub/products/offers/:productId/sku/:skuId"]
                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy
                                                   timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
[request setAllHTTPHeaderFields:headers];

NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
                                                if (error) {
                                                    NSLog(@"%@", error);
                                                } else {
                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
                                                    NSLog(@"%@", httpResponse);
                                                }
                                            }];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt

let uri = Uri.of_string "{{baseUrl}}/api/catalog_system/pub/products/offers/:productId/sku/:skuId" in
let headers = Header.add_list (Header.init ()) [
  ("accept", "");
  ("content-type", "");
] in

Client.call ~headers `GET uri
>>= fun (res, body_stream) ->
  (* Do stuff with the result *)
 "{{baseUrl}}/api/catalog_system/pub/products/offers/:productId/sku/:skuId",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
  CURLOPT_HTTPHEADER => [
    "accept: ",
    "content-type: "
  ],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
request('GET', '{{baseUrl}}/api/catalog_system/pub/products/offers/:productId/sku/:skuId', [
  'headers' => [
    'accept' => '',
    'content-type' => '',
  ],
]);

echo $response->getBody();
setUrl('{{baseUrl}}/api/catalog_system/pub/products/offers/:productId/sku/:skuId');
$request->setMethod(HTTP_METH_GET);

$request->setHeaders([
  'accept' => '',
  'content-type' => ''
]);

try {
  $response = $request->send();

  echo $response->getBody();
} catch (HttpException $ex) {
  echo $ex;
}
setRequestUrl('{{baseUrl}}/api/catalog_system/pub/products/offers/:productId/sku/:skuId');
$request->setRequestMethod('GET');
$request->setHeaders([
  'accept' => '',
  'content-type' => ''
]);

$client->enqueue($request)->send();
$response = $client->getResponse();

echo $response->getBody();
$headers=@{}
$headers.Add("accept", "")
$headers.Add("content-type", "")
$response = Invoke-WebRequest -Uri '{{baseUrl}}/api/catalog_system/pub/products/offers/:productId/sku/:skuId' -Method GET -Headers $headers
$headers=@{}
$headers.Add("accept", "")
$headers.Add("content-type", "")
$response = Invoke-RestMethod -Uri '{{baseUrl}}/api/catalog_system/pub/products/offers/:productId/sku/:skuId' -Method GET -Headers $headers
import http.client

conn = http.client.HTTPSConnection("example.com")

headers = {
    'accept': "",
    'content-type': ""
}

conn.request("GET", "/baseUrl/api/catalog_system/pub/products/offers/:productId/sku/:skuId", headers=headers)

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
import requests

url = "{{baseUrl}}/api/catalog_system/pub/products/offers/:productId/sku/:skuId"

headers = {
    "accept": "",
    "content-type": ""
}

response = requests.get(url, headers=headers)

print(response.json())
library(httr)

url <- "{{baseUrl}}/api/catalog_system/pub/products/offers/:productId/sku/:skuId"

response <- VERB("GET", url, content_type("application/octet-stream"))

content(response, "text")
require 'uri'
require 'net/http'

url = URI("{{baseUrl}}/api/catalog_system/pub/products/offers/:productId/sku/:skuId")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["accept"] = ''
request["content-type"] = ''

response = http.request(request)
puts response.read_body
require 'faraday'

conn = Faraday.new(
  url: 'https://example.com',
)

response = conn.get('/baseUrl/api/catalog_system/pub/products/offers/:productId/sku/:skuId') do |req|
  req.headers['accept'] = ''
end

puts response.status
puts response.body
use reqwest;

#[tokio::main]
pub async fn main() {
    let url = "{{baseUrl}}/api/catalog_system/pub/products/offers/:productId/sku/:skuId";

    let mut headers = reqwest::header::HeaderMap::new();
    headers.insert("accept", "".parse().unwrap());
    headers.insert("content-type", "".parse().unwrap());

    let client = reqwest::Client::new();
    let response = client.get(url)
        .headers(headers)
        .send()
        .await;

    let results = response.unwrap()
        .json::()
        .await
        .unwrap();

    dbg!(results);
}
curl --request GET \
  --url {{baseUrl}}/api/catalog_system/pub/products/offers/:productId/sku/:skuId \
  --header 'accept: ' \
  --header 'content-type: '
http GET {{baseUrl}}/api/catalog_system/pub/products/offers/:productId/sku/:skuId \
  accept:'' \
  content-type:''
wget --quiet \
  --method GET \
  --header 'accept: ' \
  --header 'content-type: ' \
  --output-document \
  - {{baseUrl}}/api/catalog_system/pub/products/offers/:productId/sku/:skuId
import Foundation

let headers = [
  "accept": "",
  "content-type": ""
]

let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/api/catalog_system/pub/products/offers/:productId/sku/:skuId")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
RESPONSE HEADERS

Content-Type
application/json
RESPONSE BODY json

[
  {
    "EanId": "272727",
    "IsActive": true,
    "LastModified": "2021-07-06T19:13:45.831483",
    "MainImage": {
      "ImageId": "172754",
      "ImageLabel": null,
      "ImagePath": "~/arquivos/ids/172754-#width#-#height#/Diablo.jpg",
      "ImageTag": "\"\"",
      "ImageText": null,
      "IsMain": true,
      "IsZoomSize": false,
      "LastModified": "2021-03-24T15:37:24.877"
    },
    "Name": "Llf",
    "NameComplete": "Cacilds Llf",
    "Offers": [
      {
        "AvailableSalesChannels": null,
        "OffersPerSalesChannel": [
          {
            "AvailableQuantity": 0,
            "IsAvailable": false,
            "ListPrice": 200,
            "Price": 200,
            "PriceWithoutDiscount": 200,
            "SaleChannel": 1
          },
          {
            "AvailableQuantity": 0,
            "IsAvailable": false,
            "ListPrice": 200,
            "Price": 200,
            "PriceWithoutDiscount": 200,
            "SaleChannel": 2
          }
        ],
        "SellerId": "1",
        "SellerSkuId": "5"
      }
    ],
    "ProductId": "3",
    "RefId": "BIGHEROBML",
    "SkuId": "5"
  }
]
GET Search Product by Product URL
{{baseUrl}}/api/catalog_system/pub/products/search/:product-text-link/p
HEADERS

Accept
Content-Type
QUERY PARAMS

product-text-link
Examples
REQUEST

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/api/catalog_system/pub/products/search/:product-text-link/p");

struct curl_slist *headers = NULL;
headers = curl_slist_append(headers, "accept: ");
headers = curl_slist_append(headers, "content-type: ");
curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);

CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])

(client/get "{{baseUrl}}/api/catalog_system/pub/products/search/:product-text-link/p" {:headers {:accept ""
                                                                                                                 :content-type ""}})
require "http/client"

url = "{{baseUrl}}/api/catalog_system/pub/products/search/:product-text-link/p"
headers = HTTP::Headers{
  "accept" => ""
  "content-type" => ""
}

response = HTTP::Client.get url, headers: headers
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
    Method = HttpMethod.Get,
    RequestUri = new Uri("{{baseUrl}}/api/catalog_system/pub/products/search/:product-text-link/p"),
    Headers =
    {
        { "accept", "" },
    },
};
using (var response = await client.SendAsync(request))
{
    response.EnsureSuccessStatusCode();
    var body = await response.Content.ReadAsStringAsync();
    Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/api/catalog_system/pub/products/search/:product-text-link/p");
var request = new RestRequest("", Method.Get);
request.AddHeader("accept", "");
request.AddHeader("content-type", "");
var response = client.Execute(request);
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "{{baseUrl}}/api/catalog_system/pub/products/search/:product-text-link/p"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("accept", "")
	req.Header.Add("content-type", "")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
GET /baseUrl/api/catalog_system/pub/products/search/:product-text-link/p HTTP/1.1
Accept: 
Content-Type: 
Host: example.com

AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/api/catalog_system/pub/products/search/:product-text-link/p")
  .setHeader("accept", "")
  .setHeader("content-type", "")
  .execute()
  .toCompletableFuture()
  .thenAccept(System.out::println)
  .join();

client.close();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("{{baseUrl}}/api/catalog_system/pub/products/search/:product-text-link/p"))
    .header("accept", "")
    .header("content-type", "")
    .method("GET", HttpRequest.BodyPublishers.noBody())
    .build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("{{baseUrl}}/api/catalog_system/pub/products/search/:product-text-link/p")
  .get()
  .addHeader("accept", "")
  .addHeader("content-type", "")
  .build();

Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/api/catalog_system/pub/products/search/:product-text-link/p")
  .header("accept", "")
  .header("content-type", "")
  .asString();
const data = null;

const xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener('readystatechange', function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open('GET', '{{baseUrl}}/api/catalog_system/pub/products/search/:product-text-link/p');
xhr.setRequestHeader('accept', '');
xhr.setRequestHeader('content-type', '');

xhr.send(data);
import axios from 'axios';

const options = {
  method: 'GET',
  url: '{{baseUrl}}/api/catalog_system/pub/products/search/:product-text-link/p',
  headers: {accept: '', 'content-type': ''}
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const url = '{{baseUrl}}/api/catalog_system/pub/products/search/:product-text-link/p';
const options = {method: 'GET', headers: {accept: '', 'content-type': ''}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
const settings = {
  async: true,
  crossDomain: true,
  url: '{{baseUrl}}/api/catalog_system/pub/products/search/:product-text-link/p',
  method: 'GET',
  headers: {
    accept: '',
    'content-type': ''
  }
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
val client = OkHttpClient()

val request = Request.Builder()
  .url("{{baseUrl}}/api/catalog_system/pub/products/search/:product-text-link/p")
  .get()
  .addHeader("accept", "")
  .addHeader("content-type", "")
  .build()

val response = client.newCall(request).execute()
const http = require('https');

const options = {
  method: 'GET',
  hostname: 'example.com',
  port: null,
  path: '/baseUrl/api/catalog_system/pub/products/search/:product-text-link/p',
  headers: {
    accept: '',
    'content-type': ''
  }
};

const req = http.request(options, function (res) {
  const chunks = [];

  res.on('data', function (chunk) {
    chunks.push(chunk);
  });

  res.on('end', function () {
    const body = Buffer.concat(chunks);
    console.log(body.toString());
  });
});

req.end();
const request = require('request');

const options = {
  method: 'GET',
  url: '{{baseUrl}}/api/catalog_system/pub/products/search/:product-text-link/p',
  headers: {accept: '', 'content-type': ''}
};

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
const unirest = require('unirest');

const req = unirest('GET', '{{baseUrl}}/api/catalog_system/pub/products/search/:product-text-link/p');

req.headers({
  accept: '',
  'content-type': ''
});

req.end(function (res) {
  if (res.error) throw new Error(res.error);

  console.log(res.body);
});
const axios = require('axios').default;

const options = {
  method: 'GET',
  url: '{{baseUrl}}/api/catalog_system/pub/products/search/:product-text-link/p',
  headers: {accept: '', 'content-type': ''}
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const fetch = require('node-fetch');

const url = '{{baseUrl}}/api/catalog_system/pub/products/search/:product-text-link/p';
const options = {method: 'GET', headers: {accept: '', 'content-type': ''}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
#import 

NSDictionary *headers = @{ @"accept": @"",
                           @"content-type": @"" };

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/api/catalog_system/pub/products/search/:product-text-link/p"]
                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy
                                                   timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
[request setAllHTTPHeaderFields:headers];

NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
                                                if (error) {
                                                    NSLog(@"%@", error);
                                                } else {
                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
                                                    NSLog(@"%@", httpResponse);
                                                }
                                            }];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt

let uri = Uri.of_string "{{baseUrl}}/api/catalog_system/pub/products/search/:product-text-link/p" in
let headers = Header.add_list (Header.init ()) [
  ("accept", "");
  ("content-type", "");
] in

Client.call ~headers `GET uri
>>= fun (res, body_stream) ->
  (* Do stuff with the result *)
 "{{baseUrl}}/api/catalog_system/pub/products/search/:product-text-link/p",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
  CURLOPT_HTTPHEADER => [
    "accept: ",
    "content-type: "
  ],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
request('GET', '{{baseUrl}}/api/catalog_system/pub/products/search/:product-text-link/p', [
  'headers' => [
    'accept' => '',
    'content-type' => '',
  ],
]);

echo $response->getBody();
setUrl('{{baseUrl}}/api/catalog_system/pub/products/search/:product-text-link/p');
$request->setMethod(HTTP_METH_GET);

$request->setHeaders([
  'accept' => '',
  'content-type' => ''
]);

try {
  $response = $request->send();

  echo $response->getBody();
} catch (HttpException $ex) {
  echo $ex;
}
setRequestUrl('{{baseUrl}}/api/catalog_system/pub/products/search/:product-text-link/p');
$request->setRequestMethod('GET');
$request->setHeaders([
  'accept' => '',
  'content-type' => ''
]);

$client->enqueue($request)->send();
$response = $client->getResponse();

echo $response->getBody();
$headers=@{}
$headers.Add("accept", "")
$headers.Add("content-type", "")
$response = Invoke-WebRequest -Uri '{{baseUrl}}/api/catalog_system/pub/products/search/:product-text-link/p' -Method GET -Headers $headers
$headers=@{}
$headers.Add("accept", "")
$headers.Add("content-type", "")
$response = Invoke-RestMethod -Uri '{{baseUrl}}/api/catalog_system/pub/products/search/:product-text-link/p' -Method GET -Headers $headers
import http.client

conn = http.client.HTTPSConnection("example.com")

headers = {
    'accept': "",
    'content-type': ""
}

conn.request("GET", "/baseUrl/api/catalog_system/pub/products/search/:product-text-link/p", headers=headers)

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
import requests

url = "{{baseUrl}}/api/catalog_system/pub/products/search/:product-text-link/p"

headers = {
    "accept": "",
    "content-type": ""
}

response = requests.get(url, headers=headers)

print(response.json())
library(httr)

url <- "{{baseUrl}}/api/catalog_system/pub/products/search/:product-text-link/p"

response <- VERB("GET", url, content_type("application/octet-stream"))

content(response, "text")
require 'uri'
require 'net/http'

url = URI("{{baseUrl}}/api/catalog_system/pub/products/search/:product-text-link/p")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["accept"] = ''
request["content-type"] = ''

response = http.request(request)
puts response.read_body
require 'faraday'

conn = Faraday.new(
  url: 'https://example.com',
)

response = conn.get('/baseUrl/api/catalog_system/pub/products/search/:product-text-link/p') do |req|
  req.headers['accept'] = ''
end

puts response.status
puts response.body
use reqwest;

#[tokio::main]
pub async fn main() {
    let url = "{{baseUrl}}/api/catalog_system/pub/products/search/:product-text-link/p";

    let mut headers = reqwest::header::HeaderMap::new();
    headers.insert("accept", "".parse().unwrap());
    headers.insert("content-type", "".parse().unwrap());

    let client = reqwest::Client::new();
    let response = client.get(url)
        .headers(headers)
        .send()
        .await;

    let results = response.unwrap()
        .json::()
        .await
        .unwrap();

    dbg!(results);
}
curl --request GET \
  --url {{baseUrl}}/api/catalog_system/pub/products/search/:product-text-link/p \
  --header 'accept: ' \
  --header 'content-type: '
http GET {{baseUrl}}/api/catalog_system/pub/products/search/:product-text-link/p \
  accept:'' \
  content-type:''
wget --quiet \
  --method GET \
  --header 'accept: ' \
  --header 'content-type: ' \
  --output-document \
  - {{baseUrl}}/api/catalog_system/pub/products/search/:product-text-link/p
import Foundation

let headers = [
  "accept": "",
  "content-type": ""
]

let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/api/catalog_system/pub/products/search/:product-text-link/p")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
RESPONSE HEADERS

Content-Type
application/json
RESPONSE BODY json

[
  {
    "Alcool": [
      "Percentual"
    ],
    "Ale": [
      "1"
    ],
    "Percentual": [
      "4,9"
    ],
    "Percentuals": [
      "4,9"
    ],
    "Teste da Api2": [
      "Teste de Api",
      "Ale"
    ],
    "Teste de Api": [
      "a"
    ],
    "Total": [
      "Percentuals",
      "Percentual"
    ],
    "allSpecifications": [
      "Percentuals",
      "Percentual",
      "Teste de Api",
      "Ale"
    ],
    "allSpecificationsGroups": [
      "Total",
      "Teste da Api2"
    ],
    "brand": "Hoegaarden",
    "brandId": 2000004,
    "brandImageUrl": "https://merch.vteximg.com.br/arquivos/ids/155532/hoegardden-logo.jpg",
    "categories": [
      "/Beers Beers Mesmo/"
    ],
    "categoriesIds": [
      "/1/"
    ],
    "categoryId": "1",
    "clusterHighlights": {
      "138": "teste2"
    },
    "description": "",
    "items": [
      {
        "Videos": [],
        "complementName": "",
        "ean": "",
        "estimatedDateArrival": null,
        "images": [
          {
            "imageId": "155489",
            "imageLabel": "",
            "imageLastModified": "2020-10-07T12:49:27.5800000Z",
            "imageTag": "\"hoegaarden-kit\"",
            "imageText": "hoegaarden-kit",
            "imageUrl": "https://merch.vteximg.com.br/arquivos/ids/155489/99B14097-BFEA-4C0E-899E-35C95A2E1509_4_5005_c.jpg?v=637376717675800000"
          }
        ],
        "isKit": true,
        "itemId": "310118469",
        "kitItems": [
          {
            "amount": 6,
            "itemId": "310118466"
          }
        ],
        "measurementUnit": "un",
        "modalType": null,
        "name": "Kit com 6",
        "nameComplete": "Kit de Hoegaarden Kit com 6",
        "referenceId": [
          {
            "Key": "RefId",
            "Value": "000806"
          }
        ],
        "sellers": [
          {
            "addToCartLink": "https://merch.vtexcommercestable.com.br/checkout/cart/add?sku=310118469&qty=1&seller=1&sc=1&price=4200&cv=95EF7E5476DF276E679167A399FE3103_&sc=1",
            "commertialOffer": {
              "AvailableQuantity": 16,
              "BuyTogether": [],
              "CacheVersionUsedToCallCheckout": "95EF7E5476DF276E679167A399FE3103_",
              "DeliverySlaSamples": [
                {
                  "DeliverySlaPerTypes": [],
                  "Region": null
                }
              ],
              "DeliverySlaSamplesPerRegion": {
                "0": {
                  "DeliverySlaPerTypes": [],
                  "Region": null
                }
              },
              "DiscountHighLight": [],
              "GetInfoErrorMessage": null,
              "GiftSkuIds": [],
              "Installments": [
                {
                  "InterestRate": 0,
                  "Name": "Visa à vista",
                  "NumberOfInstallments": 1,
                  "PaymentSystemGroupName": "creditCardPaymentGroup",
                  "PaymentSystemName": "Visa",
                  "TotalValuePlusInterestRate": 42,
                  "Value": 42
                },
                {
                  "InterestRate": 0,
                  "Name": "Visa 2 vezes sem juros",
                  "NumberOfInstallments": 2,
                  "PaymentSystemGroupName": "creditCardPaymentGroup",
                  "PaymentSystemName": "Visa",
                  "TotalValuePlusInterestRate": 42,
                  "Value": 21
                },
                {
                  "InterestRate": 0,
                  "Name": "Visa 3 vezes sem juros",
                  "NumberOfInstallments": 3,
                  "PaymentSystemGroupName": "creditCardPaymentGroup",
                  "PaymentSystemName": "Visa",
                  "TotalValuePlusInterestRate": 42,
                  "Value": 14
                },
                {
                  "InterestRate": 0,
                  "Name": "Visa 4 vezes sem juros",
                  "NumberOfInstallments": 4,
                  "PaymentSystemGroupName": "creditCardPaymentGroup",
                  "PaymentSystemName": "Visa",
                  "TotalValuePlusInterestRate": 42,
                  "Value": 10.5
                },
                {
                  "InterestRate": 0,
                  "Name": "Promissory à vista",
                  "NumberOfInstallments": 1,
                  "PaymentSystemGroupName": "promissoryPaymentGroup",
                  "PaymentSystemName": "Promissory",
                  "TotalValuePlusInterestRate": 42,
                  "Value": 42
                }
              ],
              "IsAvailable": true,
              "ItemMetadataAttachment": [],
              "ListPrice": 42,
              "PaymentOptions": {
                "availableAccounts": [],
                "availableTokens": [],
                "giftCardMessages": [],
                "giftCards": [],
                "installmentOptions": [
                  {
                    "bin": null,
                    "installments": [
                      {
                        "count": 1,
                        "hasInterestRate": false,
                        "interestRate": 0,
                        "sellerMerchantInstallments": [
                          {
                            "count": 1,
                            "hasInterestRate": false,
                            "id": "MERCH",
                            "interestRate": 0,
                            "total": 4200,
                            "value": 4200
                          }
                        ],
                        "total": 4200,
                        "value": 4200
                      },
                      {
                        "count": 2,
                        "hasInterestRate": false,
                        "interestRate": 0,
                        "sellerMerchantInstallments": [
                          {
                            "count": 2,
                            "hasInterestRate": false,
                            "id": "MERCH",
                            "interestRate": 0,
                            "total": 4200,
                            "value": 2100
                          }
                        ],
                        "total": 4200,
                        "value": 2100
                      },
                      {
                        "count": 3,
                        "hasInterestRate": false,
                        "interestRate": 0,
                        "sellerMerchantInstallments": [
                          {
                            "count": 3,
                            "hasInterestRate": false,
                            "id": "MERCH",
                            "interestRate": 0,
                            "total": 4200,
                            "value": 1400
                          }
                        ],
                        "total": 4200,
                        "value": 1400
                      },
                      {
                        "count": 4,
                        "hasInterestRate": false,
                        "interestRate": 0,
                        "sellerMerchantInstallments": [
                          {
                            "count": 4,
                            "hasInterestRate": false,
                            "id": "MERCH",
                            "interestRate": 0,
                            "total": 4200,
                            "value": 1050
                          }
                        ],
                        "total": 4200,
                        "value": 1050
                      }
                    ],
                    "paymentGroupName": "creditCardPaymentGroup",
                    "paymentName": "Visa",
                    "paymentSystem": "2",
                    "value": 4200
                  },
                  {
                    "bin": null,
                    "installments": [
                      {
                        "count": 1,
                        "hasInterestRate": false,
                        "interestRate": 0,
                        "sellerMerchantInstallments": [
                          {
                            "count": 1,
                            "hasInterestRate": false,
                            "id": "MERCH",
                            "interestRate": 0,
                            "total": 4200,
                            "value": 4200
                          }
                        ],
                        "total": 4200,
                        "value": 4200
                      }
                    ],
                    "paymentGroupName": "promissoryPaymentGroup",
                    "paymentName": "Promissory",
                    "paymentSystem": "17",
                    "value": 4200
                  }
                ],
                "paymentSystems": [
                  {
                    "availablePayments": null,
                    "description": null,
                    "dueDate": "2021-07-01T18:43:00.0264384Z",
                    "groupName": "promissoryPaymentGroup",
                    "id": 17,
                    "isCustom": false,
                    "name": "Promissory",
                    "requiresAuthentication": false,
                    "requiresDocument": false,
                    "stringId": "17",
                    "template": "promissoryPaymentGroup-template",
                    "validator": null
                  },
                  {
                    "availablePayments": null,
                    "description": null,
                    "dueDate": "2021-07-01T18:43:00.0264384Z",
                    "groupName": "creditCardPaymentGroup",
                    "id": 2,
                    "isCustom": false,
                    "name": "Visa",
                    "requiresAuthentication": false,
                    "requiresDocument": false,
                    "stringId": "2",
                    "template": "creditCardPaymentGroup-template",
                    "validator": null
                  }
                ],
                "payments": []
              },
              "Price": 42,
              "PriceValidUntil": "4000-01-01T03:00:00Z",
              "PriceWithoutDiscount": 42,
              "RewardValue": 0,
              "SaleChannel": 0,
              "Tax": 0,
              "Teasers": []
            },
            "sellerDefault": true,
            "sellerId": "1",
            "sellerName": "COMPANHIA BRASILEIRA DE TECNOLOGIA PARA E-COMMERCE"
          }
        ],
        "unitMultiplier": 1
      }
    ],
    "link": "https://merch.vtexcommercestable.com.br/kit-6-cerveja-hoegaarden/p",
    "linkText": "kit-6-cerveja-hoegaarden",
    "metaTagDescription": "",
    "productClusters": {
      "138": "teste2",
      "143": "NaoPesquisavel",
      "146": "colecaotestesubcategoria",
      "161": "merch_import_test1"
    },
    "productId": "35",
    "productName": "Kit de Hoegaarden",
    "productReference": "000806",
    "productReferenceCode": null,
    "productTitle": "",
    "releaseDate": "2020-10-07T00:00:00",
    "searchableClusters": {
      "138": "teste2"
    }
  }
]
GET Search for Products with Filter, Order and Pagination
{{baseUrl}}/api/catalog_system/pub/products/search
HEADERS

Accept
Content-Type
Examples
REQUEST

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/api/catalog_system/pub/products/search");

struct curl_slist *headers = NULL;
headers = curl_slist_append(headers, "accept: ");
headers = curl_slist_append(headers, "content-type: ");
curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);

CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])

(client/get "{{baseUrl}}/api/catalog_system/pub/products/search" {:headers {:accept ""
                                                                                            :content-type ""}})
require "http/client"

url = "{{baseUrl}}/api/catalog_system/pub/products/search"
headers = HTTP::Headers{
  "accept" => ""
  "content-type" => ""
}

response = HTTP::Client.get url, headers: headers
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
    Method = HttpMethod.Get,
    RequestUri = new Uri("{{baseUrl}}/api/catalog_system/pub/products/search"),
    Headers =
    {
        { "accept", "" },
    },
};
using (var response = await client.SendAsync(request))
{
    response.EnsureSuccessStatusCode();
    var body = await response.Content.ReadAsStringAsync();
    Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/api/catalog_system/pub/products/search");
var request = new RestRequest("", Method.Get);
request.AddHeader("accept", "");
request.AddHeader("content-type", "");
var response = client.Execute(request);
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "{{baseUrl}}/api/catalog_system/pub/products/search"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("accept", "")
	req.Header.Add("content-type", "")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
GET /baseUrl/api/catalog_system/pub/products/search HTTP/1.1
Accept: 
Content-Type: 
Host: example.com

AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/api/catalog_system/pub/products/search")
  .setHeader("accept", "")
  .setHeader("content-type", "")
  .execute()
  .toCompletableFuture()
  .thenAccept(System.out::println)
  .join();

client.close();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("{{baseUrl}}/api/catalog_system/pub/products/search"))
    .header("accept", "")
    .header("content-type", "")
    .method("GET", HttpRequest.BodyPublishers.noBody())
    .build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("{{baseUrl}}/api/catalog_system/pub/products/search")
  .get()
  .addHeader("accept", "")
  .addHeader("content-type", "")
  .build();

Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/api/catalog_system/pub/products/search")
  .header("accept", "")
  .header("content-type", "")
  .asString();
const data = null;

const xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener('readystatechange', function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open('GET', '{{baseUrl}}/api/catalog_system/pub/products/search');
xhr.setRequestHeader('accept', '');
xhr.setRequestHeader('content-type', '');

xhr.send(data);
import axios from 'axios';

const options = {
  method: 'GET',
  url: '{{baseUrl}}/api/catalog_system/pub/products/search',
  headers: {accept: '', 'content-type': ''}
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const url = '{{baseUrl}}/api/catalog_system/pub/products/search';
const options = {method: 'GET', headers: {accept: '', 'content-type': ''}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
const settings = {
  async: true,
  crossDomain: true,
  url: '{{baseUrl}}/api/catalog_system/pub/products/search',
  method: 'GET',
  headers: {
    accept: '',
    'content-type': ''
  }
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
val client = OkHttpClient()

val request = Request.Builder()
  .url("{{baseUrl}}/api/catalog_system/pub/products/search")
  .get()
  .addHeader("accept", "")
  .addHeader("content-type", "")
  .build()

val response = client.newCall(request).execute()
const http = require('https');

const options = {
  method: 'GET',
  hostname: 'example.com',
  port: null,
  path: '/baseUrl/api/catalog_system/pub/products/search',
  headers: {
    accept: '',
    'content-type': ''
  }
};

const req = http.request(options, function (res) {
  const chunks = [];

  res.on('data', function (chunk) {
    chunks.push(chunk);
  });

  res.on('end', function () {
    const body = Buffer.concat(chunks);
    console.log(body.toString());
  });
});

req.end();
const request = require('request');

const options = {
  method: 'GET',
  url: '{{baseUrl}}/api/catalog_system/pub/products/search',
  headers: {accept: '', 'content-type': ''}
};

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
const unirest = require('unirest');

const req = unirest('GET', '{{baseUrl}}/api/catalog_system/pub/products/search');

req.headers({
  accept: '',
  'content-type': ''
});

req.end(function (res) {
  if (res.error) throw new Error(res.error);

  console.log(res.body);
});
const axios = require('axios').default;

const options = {
  method: 'GET',
  url: '{{baseUrl}}/api/catalog_system/pub/products/search',
  headers: {accept: '', 'content-type': ''}
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const fetch = require('node-fetch');

const url = '{{baseUrl}}/api/catalog_system/pub/products/search';
const options = {method: 'GET', headers: {accept: '', 'content-type': ''}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
#import 

NSDictionary *headers = @{ @"accept": @"",
                           @"content-type": @"" };

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/api/catalog_system/pub/products/search"]
                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy
                                                   timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
[request setAllHTTPHeaderFields:headers];

NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
                                                if (error) {
                                                    NSLog(@"%@", error);
                                                } else {
                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
                                                    NSLog(@"%@", httpResponse);
                                                }
                                            }];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt

let uri = Uri.of_string "{{baseUrl}}/api/catalog_system/pub/products/search" in
let headers = Header.add_list (Header.init ()) [
  ("accept", "");
  ("content-type", "");
] in

Client.call ~headers `GET uri
>>= fun (res, body_stream) ->
  (* Do stuff with the result *)
 "{{baseUrl}}/api/catalog_system/pub/products/search",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
  CURLOPT_HTTPHEADER => [
    "accept: ",
    "content-type: "
  ],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
request('GET', '{{baseUrl}}/api/catalog_system/pub/products/search', [
  'headers' => [
    'accept' => '',
    'content-type' => '',
  ],
]);

echo $response->getBody();
setUrl('{{baseUrl}}/api/catalog_system/pub/products/search');
$request->setMethod(HTTP_METH_GET);

$request->setHeaders([
  'accept' => '',
  'content-type' => ''
]);

try {
  $response = $request->send();

  echo $response->getBody();
} catch (HttpException $ex) {
  echo $ex;
}
setRequestUrl('{{baseUrl}}/api/catalog_system/pub/products/search');
$request->setRequestMethod('GET');
$request->setHeaders([
  'accept' => '',
  'content-type' => ''
]);

$client->enqueue($request)->send();
$response = $client->getResponse();

echo $response->getBody();
$headers=@{}
$headers.Add("accept", "")
$headers.Add("content-type", "")
$response = Invoke-WebRequest -Uri '{{baseUrl}}/api/catalog_system/pub/products/search' -Method GET -Headers $headers
$headers=@{}
$headers.Add("accept", "")
$headers.Add("content-type", "")
$response = Invoke-RestMethod -Uri '{{baseUrl}}/api/catalog_system/pub/products/search' -Method GET -Headers $headers
import http.client

conn = http.client.HTTPSConnection("example.com")

headers = {
    'accept': "",
    'content-type': ""
}

conn.request("GET", "/baseUrl/api/catalog_system/pub/products/search", headers=headers)

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
import requests

url = "{{baseUrl}}/api/catalog_system/pub/products/search"

headers = {
    "accept": "",
    "content-type": ""
}

response = requests.get(url, headers=headers)

print(response.json())
library(httr)

url <- "{{baseUrl}}/api/catalog_system/pub/products/search"

response <- VERB("GET", url, content_type("application/octet-stream"))

content(response, "text")
require 'uri'
require 'net/http'

url = URI("{{baseUrl}}/api/catalog_system/pub/products/search")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["accept"] = ''
request["content-type"] = ''

response = http.request(request)
puts response.read_body
require 'faraday'

conn = Faraday.new(
  url: 'https://example.com',
)

response = conn.get('/baseUrl/api/catalog_system/pub/products/search') do |req|
  req.headers['accept'] = ''
end

puts response.status
puts response.body
use reqwest;

#[tokio::main]
pub async fn main() {
    let url = "{{baseUrl}}/api/catalog_system/pub/products/search";

    let mut headers = reqwest::header::HeaderMap::new();
    headers.insert("accept", "".parse().unwrap());
    headers.insert("content-type", "".parse().unwrap());

    let client = reqwest::Client::new();
    let response = client.get(url)
        .headers(headers)
        .send()
        .await;

    let results = response.unwrap()
        .json::()
        .await
        .unwrap();

    dbg!(results);
}
curl --request GET \
  --url {{baseUrl}}/api/catalog_system/pub/products/search \
  --header 'accept: ' \
  --header 'content-type: '
http GET {{baseUrl}}/api/catalog_system/pub/products/search \
  accept:'' \
  content-type:''
wget --quiet \
  --method GET \
  --header 'accept: ' \
  --header 'content-type: ' \
  --output-document \
  - {{baseUrl}}/api/catalog_system/pub/products/search
import Foundation

let headers = [
  "accept": "",
  "content-type": ""
]

let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/api/catalog_system/pub/products/search")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
RESPONSE HEADERS

Content-Type
application/json
RESPONSE BODY json

[
  {
    "Alcool": [
      "Percentual"
    ],
    "Ale": [
      "1"
    ],
    "Percentual": [
      "4,9"
    ],
    "Percentuals": [
      "4,9"
    ],
    "Teste da Api2": [
      "Teste de Api",
      "Ale"
    ],
    "Teste de Api": [
      "a"
    ],
    "Total": [
      "Percentuals",
      "Percentual"
    ],
    "allSpecifications": [
      "Percentuals",
      "Percentual",
      "Teste de Api",
      "Ale"
    ],
    "allSpecificationsGroups": [
      "Total",
      "Teste da Api2"
    ],
    "brand": "Hoegaarden",
    "brandId": 2000004,
    "brandImageUrl": "https://merch.vteximg.com.br/arquivos/ids/155532/hoegardden-logo.jpg",
    "categories": [
      "/Beers Beers Mesmo/"
    ],
    "categoriesIds": [
      "/1/"
    ],
    "categoryId": "1",
    "clusterHighlights": {
      "138": "teste2"
    },
    "description": "",
    "items": [
      {
        "Videos": [],
        "complementName": "",
        "ean": "",
        "estimatedDateArrival": null,
        "images": [
          {
            "imageId": "155489",
            "imageLabel": "",
            "imageLastModified": "2020-10-07T12:49:27.5800000Z",
            "imageTag": "\"hoegaarden-kit\"",
            "imageText": "hoegaarden-kit",
            "imageUrl": "https://merch.vteximg.com.br/arquivos/ids/155489/99B14097-BFEA-4C0E-899E-35C95A2E1509_4_5005_c.jpg?v=637376717675800000"
          }
        ],
        "isKit": true,
        "itemId": "310118469",
        "kitItems": [
          {
            "amount": 6,
            "itemId": "310118466"
          }
        ],
        "measurementUnit": "un",
        "modalType": null,
        "name": "Kit com 6",
        "nameComplete": "Kit de Hoegaarden Kit com 6",
        "referenceId": [
          {
            "Key": "RefId",
            "Value": "000806"
          }
        ],
        "sellers": [
          {
            "addToCartLink": "https://merch.vtexcommercestable.com.br/checkout/cart/add?sku=310118469&qty=1&seller=1&sc=1&price=4200&cv=95EF7E5476DF276E679167A399FE3103_&sc=1",
            "commertialOffer": {
              "AvailableQuantity": 16,
              "BuyTogether": [],
              "CacheVersionUsedToCallCheckout": "95EF7E5476DF276E679167A399FE3103_",
              "DeliverySlaSamples": [
                {
                  "DeliverySlaPerTypes": [],
                  "Region": null
                }
              ],
              "DeliverySlaSamplesPerRegion": {
                "0": {
                  "DeliverySlaPerTypes": [],
                  "Region": null
                }
              },
              "DiscountHighLight": [],
              "GetInfoErrorMessage": null,
              "GiftSkuIds": [],
              "Installments": [
                {
                  "InterestRate": 0,
                  "Name": "Visa à vista",
                  "NumberOfInstallments": 1,
                  "PaymentSystemGroupName": "creditCardPaymentGroup",
                  "PaymentSystemName": "Visa",
                  "TotalValuePlusInterestRate": 42,
                  "Value": 42
                },
                {
                  "InterestRate": 0,
                  "Name": "Visa 2 vezes sem juros",
                  "NumberOfInstallments": 2,
                  "PaymentSystemGroupName": "creditCardPaymentGroup",
                  "PaymentSystemName": "Visa",
                  "TotalValuePlusInterestRate": 42,
                  "Value": 21
                },
                {
                  "InterestRate": 0,
                  "Name": "Visa 3 vezes sem juros",
                  "NumberOfInstallments": 3,
                  "PaymentSystemGroupName": "creditCardPaymentGroup",
                  "PaymentSystemName": "Visa",
                  "TotalValuePlusInterestRate": 42,
                  "Value": 14
                },
                {
                  "InterestRate": 0,
                  "Name": "Visa 4 vezes sem juros",
                  "NumberOfInstallments": 4,
                  "PaymentSystemGroupName": "creditCardPaymentGroup",
                  "PaymentSystemName": "Visa",
                  "TotalValuePlusInterestRate": 42,
                  "Value": 10.5
                },
                {
                  "InterestRate": 0,
                  "Name": "Promissory à vista",
                  "NumberOfInstallments": 1,
                  "PaymentSystemGroupName": "promissoryPaymentGroup",
                  "PaymentSystemName": "Promissory",
                  "TotalValuePlusInterestRate": 42,
                  "Value": 42
                }
              ],
              "IsAvailable": true,
              "ItemMetadataAttachment": [],
              "ListPrice": 42,
              "PaymentOptions": {
                "availableAccounts": [],
                "availableTokens": [],
                "giftCardMessages": [],
                "giftCards": [],
                "installmentOptions": [
                  {
                    "bin": null,
                    "installments": [
                      {
                        "count": 1,
                        "hasInterestRate": false,
                        "interestRate": 0,
                        "sellerMerchantInstallments": [
                          {
                            "count": 1,
                            "hasInterestRate": false,
                            "id": "MERCH",
                            "interestRate": 0,
                            "total": 4200,
                            "value": 4200
                          }
                        ],
                        "total": 4200,
                        "value": 4200
                      },
                      {
                        "count": 2,
                        "hasInterestRate": false,
                        "interestRate": 0,
                        "sellerMerchantInstallments": [
                          {
                            "count": 2,
                            "hasInterestRate": false,
                            "id": "MERCH",
                            "interestRate": 0,
                            "total": 4200,
                            "value": 2100
                          }
                        ],
                        "total": 4200,
                        "value": 2100
                      },
                      {
                        "count": 3,
                        "hasInterestRate": false,
                        "interestRate": 0,
                        "sellerMerchantInstallments": [
                          {
                            "count": 3,
                            "hasInterestRate": false,
                            "id": "MERCH",
                            "interestRate": 0,
                            "total": 4200,
                            "value": 1400
                          }
                        ],
                        "total": 4200,
                        "value": 1400
                      },
                      {
                        "count": 4,
                        "hasInterestRate": false,
                        "interestRate": 0,
                        "sellerMerchantInstallments": [
                          {
                            "count": 4,
                            "hasInterestRate": false,
                            "id": "MERCH",
                            "interestRate": 0,
                            "total": 4200,
                            "value": 1050
                          }
                        ],
                        "total": 4200,
                        "value": 1050
                      }
                    ],
                    "paymentGroupName": "creditCardPaymentGroup",
                    "paymentName": "Visa",
                    "paymentSystem": "2",
                    "value": 4200
                  },
                  {
                    "bin": null,
                    "installments": [
                      {
                        "count": 1,
                        "hasInterestRate": false,
                        "interestRate": 0,
                        "sellerMerchantInstallments": [
                          {
                            "count": 1,
                            "hasInterestRate": false,
                            "id": "MERCH",
                            "interestRate": 0,
                            "total": 4200,
                            "value": 4200
                          }
                        ],
                        "total": 4200,
                        "value": 4200
                      }
                    ],
                    "paymentGroupName": "promissoryPaymentGroup",
                    "paymentName": "Promissory",
                    "paymentSystem": "17",
                    "value": 4200
                  }
                ],
                "paymentSystems": [
                  {
                    "availablePayments": null,
                    "description": null,
                    "dueDate": "2021-07-01T18:43:00.0264384Z",
                    "groupName": "promissoryPaymentGroup",
                    "id": 17,
                    "isCustom": false,
                    "name": "Promissory",
                    "requiresAuthentication": false,
                    "requiresDocument": false,
                    "stringId": "17",
                    "template": "promissoryPaymentGroup-template",
                    "validator": null
                  },
                  {
                    "availablePayments": null,
                    "description": null,
                    "dueDate": "2021-07-01T18:43:00.0264384Z",
                    "groupName": "creditCardPaymentGroup",
                    "id": 2,
                    "isCustom": false,
                    "name": "Visa",
                    "requiresAuthentication": false,
                    "requiresDocument": false,
                    "stringId": "2",
                    "template": "creditCardPaymentGroup-template",
                    "validator": null
                  }
                ],
                "payments": []
              },
              "Price": 42,
              "PriceValidUntil": "4000-01-01T03:00:00Z",
              "PriceWithoutDiscount": 42,
              "RewardValue": 0,
              "SaleChannel": 0,
              "Tax": 0,
              "Teasers": []
            },
            "sellerDefault": true,
            "sellerId": "1",
            "sellerName": "COMPANHIA BRASILEIRA DE TECNOLOGIA PARA E-COMMERCE"
          }
        ],
        "unitMultiplier": 1
      }
    ],
    "link": "https://merch.vtexcommercestable.com.br/kit-6-cerveja-hoegaarden/p",
    "linkText": "kit-6-cerveja-hoegaarden",
    "metaTagDescription": "",
    "productClusters": {
      "138": "teste2",
      "143": "NaoPesquisavel",
      "146": "colecaotestesubcategoria",
      "161": "merch_import_test1"
    },
    "productId": "35",
    "productName": "Kit de Hoegaarden",
    "productReference": "000806",
    "productReferenceCode": null,
    "productTitle": "",
    "releaseDate": "2020-10-07T00:00:00",
    "searchableClusters": {
      "138": "teste2"
    }
  }
]
GET Search for Products
{{baseUrl}}/api/catalog_system/pub/products/search/:search
HEADERS

Accept
Content-Type
QUERY PARAMS

search
Examples
REQUEST

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/api/catalog_system/pub/products/search/:search");

struct curl_slist *headers = NULL;
headers = curl_slist_append(headers, "accept: ");
headers = curl_slist_append(headers, "content-type: ");
curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);

CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])

(client/get "{{baseUrl}}/api/catalog_system/pub/products/search/:search" {:headers {:accept ""
                                                                                                    :content-type ""}})
require "http/client"

url = "{{baseUrl}}/api/catalog_system/pub/products/search/:search"
headers = HTTP::Headers{
  "accept" => ""
  "content-type" => ""
}

response = HTTP::Client.get url, headers: headers
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
    Method = HttpMethod.Get,
    RequestUri = new Uri("{{baseUrl}}/api/catalog_system/pub/products/search/:search"),
    Headers =
    {
        { "accept", "" },
    },
};
using (var response = await client.SendAsync(request))
{
    response.EnsureSuccessStatusCode();
    var body = await response.Content.ReadAsStringAsync();
    Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/api/catalog_system/pub/products/search/:search");
var request = new RestRequest("", Method.Get);
request.AddHeader("accept", "");
request.AddHeader("content-type", "");
var response = client.Execute(request);
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "{{baseUrl}}/api/catalog_system/pub/products/search/:search"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("accept", "")
	req.Header.Add("content-type", "")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
GET /baseUrl/api/catalog_system/pub/products/search/:search HTTP/1.1
Accept: 
Content-Type: 
Host: example.com

AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/api/catalog_system/pub/products/search/:search")
  .setHeader("accept", "")
  .setHeader("content-type", "")
  .execute()
  .toCompletableFuture()
  .thenAccept(System.out::println)
  .join();

client.close();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("{{baseUrl}}/api/catalog_system/pub/products/search/:search"))
    .header("accept", "")
    .header("content-type", "")
    .method("GET", HttpRequest.BodyPublishers.noBody())
    .build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("{{baseUrl}}/api/catalog_system/pub/products/search/:search")
  .get()
  .addHeader("accept", "")
  .addHeader("content-type", "")
  .build();

Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/api/catalog_system/pub/products/search/:search")
  .header("accept", "")
  .header("content-type", "")
  .asString();
const data = null;

const xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener('readystatechange', function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open('GET', '{{baseUrl}}/api/catalog_system/pub/products/search/:search');
xhr.setRequestHeader('accept', '');
xhr.setRequestHeader('content-type', '');

xhr.send(data);
import axios from 'axios';

const options = {
  method: 'GET',
  url: '{{baseUrl}}/api/catalog_system/pub/products/search/:search',
  headers: {accept: '', 'content-type': ''}
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const url = '{{baseUrl}}/api/catalog_system/pub/products/search/:search';
const options = {method: 'GET', headers: {accept: '', 'content-type': ''}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
const settings = {
  async: true,
  crossDomain: true,
  url: '{{baseUrl}}/api/catalog_system/pub/products/search/:search',
  method: 'GET',
  headers: {
    accept: '',
    'content-type': ''
  }
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
val client = OkHttpClient()

val request = Request.Builder()
  .url("{{baseUrl}}/api/catalog_system/pub/products/search/:search")
  .get()
  .addHeader("accept", "")
  .addHeader("content-type", "")
  .build()

val response = client.newCall(request).execute()
const http = require('https');

const options = {
  method: 'GET',
  hostname: 'example.com',
  port: null,
  path: '/baseUrl/api/catalog_system/pub/products/search/:search',
  headers: {
    accept: '',
    'content-type': ''
  }
};

const req = http.request(options, function (res) {
  const chunks = [];

  res.on('data', function (chunk) {
    chunks.push(chunk);
  });

  res.on('end', function () {
    const body = Buffer.concat(chunks);
    console.log(body.toString());
  });
});

req.end();
const request = require('request');

const options = {
  method: 'GET',
  url: '{{baseUrl}}/api/catalog_system/pub/products/search/:search',
  headers: {accept: '', 'content-type': ''}
};

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
const unirest = require('unirest');

const req = unirest('GET', '{{baseUrl}}/api/catalog_system/pub/products/search/:search');

req.headers({
  accept: '',
  'content-type': ''
});

req.end(function (res) {
  if (res.error) throw new Error(res.error);

  console.log(res.body);
});
const axios = require('axios').default;

const options = {
  method: 'GET',
  url: '{{baseUrl}}/api/catalog_system/pub/products/search/:search',
  headers: {accept: '', 'content-type': ''}
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const fetch = require('node-fetch');

const url = '{{baseUrl}}/api/catalog_system/pub/products/search/:search';
const options = {method: 'GET', headers: {accept: '', 'content-type': ''}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
#import 

NSDictionary *headers = @{ @"accept": @"",
                           @"content-type": @"" };

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/api/catalog_system/pub/products/search/:search"]
                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy
                                                   timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
[request setAllHTTPHeaderFields:headers];

NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
                                                if (error) {
                                                    NSLog(@"%@", error);
                                                } else {
                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
                                                    NSLog(@"%@", httpResponse);
                                                }
                                            }];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt

let uri = Uri.of_string "{{baseUrl}}/api/catalog_system/pub/products/search/:search" in
let headers = Header.add_list (Header.init ()) [
  ("accept", "");
  ("content-type", "");
] in

Client.call ~headers `GET uri
>>= fun (res, body_stream) ->
  (* Do stuff with the result *)
 "{{baseUrl}}/api/catalog_system/pub/products/search/:search",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
  CURLOPT_HTTPHEADER => [
    "accept: ",
    "content-type: "
  ],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
request('GET', '{{baseUrl}}/api/catalog_system/pub/products/search/:search', [
  'headers' => [
    'accept' => '',
    'content-type' => '',
  ],
]);

echo $response->getBody();
setUrl('{{baseUrl}}/api/catalog_system/pub/products/search/:search');
$request->setMethod(HTTP_METH_GET);

$request->setHeaders([
  'accept' => '',
  'content-type' => ''
]);

try {
  $response = $request->send();

  echo $response->getBody();
} catch (HttpException $ex) {
  echo $ex;
}
setRequestUrl('{{baseUrl}}/api/catalog_system/pub/products/search/:search');
$request->setRequestMethod('GET');
$request->setHeaders([
  'accept' => '',
  'content-type' => ''
]);

$client->enqueue($request)->send();
$response = $client->getResponse();

echo $response->getBody();
$headers=@{}
$headers.Add("accept", "")
$headers.Add("content-type", "")
$response = Invoke-WebRequest -Uri '{{baseUrl}}/api/catalog_system/pub/products/search/:search' -Method GET -Headers $headers
$headers=@{}
$headers.Add("accept", "")
$headers.Add("content-type", "")
$response = Invoke-RestMethod -Uri '{{baseUrl}}/api/catalog_system/pub/products/search/:search' -Method GET -Headers $headers
import http.client

conn = http.client.HTTPSConnection("example.com")

headers = {
    'accept': "",
    'content-type': ""
}

conn.request("GET", "/baseUrl/api/catalog_system/pub/products/search/:search", headers=headers)

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
import requests

url = "{{baseUrl}}/api/catalog_system/pub/products/search/:search"

headers = {
    "accept": "",
    "content-type": ""
}

response = requests.get(url, headers=headers)

print(response.json())
library(httr)

url <- "{{baseUrl}}/api/catalog_system/pub/products/search/:search"

response <- VERB("GET", url, content_type("application/octet-stream"))

content(response, "text")
require 'uri'
require 'net/http'

url = URI("{{baseUrl}}/api/catalog_system/pub/products/search/:search")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["accept"] = ''
request["content-type"] = ''

response = http.request(request)
puts response.read_body
require 'faraday'

conn = Faraday.new(
  url: 'https://example.com',
)

response = conn.get('/baseUrl/api/catalog_system/pub/products/search/:search') do |req|
  req.headers['accept'] = ''
end

puts response.status
puts response.body
use reqwest;

#[tokio::main]
pub async fn main() {
    let url = "{{baseUrl}}/api/catalog_system/pub/products/search/:search";

    let mut headers = reqwest::header::HeaderMap::new();
    headers.insert("accept", "".parse().unwrap());
    headers.insert("content-type", "".parse().unwrap());

    let client = reqwest::Client::new();
    let response = client.get(url)
        .headers(headers)
        .send()
        .await;

    let results = response.unwrap()
        .json::()
        .await
        .unwrap();

    dbg!(results);
}
curl --request GET \
  --url {{baseUrl}}/api/catalog_system/pub/products/search/:search \
  --header 'accept: ' \
  --header 'content-type: '
http GET {{baseUrl}}/api/catalog_system/pub/products/search/:search \
  accept:'' \
  content-type:''
wget --quiet \
  --method GET \
  --header 'accept: ' \
  --header 'content-type: ' \
  --output-document \
  - {{baseUrl}}/api/catalog_system/pub/products/search/:search
import Foundation

let headers = [
  "accept": "",
  "content-type": ""
]

let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/api/catalog_system/pub/products/search/:search")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
RESPONSE HEADERS

Content-Type
application/json
RESPONSE BODY json

[
  {
    "Alcool": [
      "Percentual"
    ],
    "Ale": [
      "1"
    ],
    "Percentual": [
      "4,9"
    ],
    "Percentuals": [
      "4,9"
    ],
    "Teste da Api2": [
      "Teste de Api",
      "Ale"
    ],
    "Teste de Api": [
      "a"
    ],
    "Total": [
      "Percentuals",
      "Percentual"
    ],
    "allSpecifications": [
      "Percentuals",
      "Percentual",
      "Teste de Api",
      "Ale"
    ],
    "allSpecificationsGroups": [
      "Total",
      "Teste da Api2"
    ],
    "brand": "Hoegaarden",
    "brandId": 2000004,
    "brandImageUrl": "https://merch.vteximg.com.br/arquivos/ids/155532/hoegardden-logo.jpg",
    "categories": [
      "/Beers Beers Mesmo/"
    ],
    "categoriesIds": [
      "/1/"
    ],
    "categoryId": "1",
    "clusterHighlights": {
      "138": "teste2"
    },
    "description": "",
    "items": [
      {
        "Videos": [],
        "complementName": "",
        "ean": "",
        "estimatedDateArrival": null,
        "images": [
          {
            "imageId": "155489",
            "imageLabel": "",
            "imageLastModified": "2020-10-07T12:49:27.5800000Z",
            "imageTag": "\"hoegaarden-kit\"",
            "imageText": "hoegaarden-kit",
            "imageUrl": "https://merch.vteximg.com.br/arquivos/ids/155489/99B14097-BFEA-4C0E-899E-35C95A2E1509_4_5005_c.jpg?v=637376717675800000"
          }
        ],
        "isKit": true,
        "itemId": "310118469",
        "kitItems": [
          {
            "amount": 6,
            "itemId": "310118466"
          }
        ],
        "measurementUnit": "un",
        "modalType": null,
        "name": "Kit com 6",
        "nameComplete": "Kit de Hoegaarden Kit com 6",
        "referenceId": [
          {
            "Key": "RefId",
            "Value": "000806"
          }
        ],
        "sellers": [
          {
            "addToCartLink": "https://merch.vtexcommercestable.com.br/checkout/cart/add?sku=310118469&qty=1&seller=1&sc=1&price=4200&cv=95EF7E5476DF276E679167A399FE3103_&sc=1",
            "commertialOffer": {
              "AvailableQuantity": 16,
              "BuyTogether": [],
              "CacheVersionUsedToCallCheckout": "95EF7E5476DF276E679167A399FE3103_",
              "DeliverySlaSamples": [
                {
                  "DeliverySlaPerTypes": [],
                  "Region": null
                }
              ],
              "DeliverySlaSamplesPerRegion": {
                "0": {
                  "DeliverySlaPerTypes": [],
                  "Region": null
                }
              },
              "DiscountHighLight": [],
              "GetInfoErrorMessage": null,
              "GiftSkuIds": [],
              "Installments": [
                {
                  "InterestRate": 0,
                  "Name": "Visa à vista",
                  "NumberOfInstallments": 1,
                  "PaymentSystemGroupName": "creditCardPaymentGroup",
                  "PaymentSystemName": "Visa",
                  "TotalValuePlusInterestRate": 42,
                  "Value": 42
                },
                {
                  "InterestRate": 0,
                  "Name": "Visa 2 vezes sem juros",
                  "NumberOfInstallments": 2,
                  "PaymentSystemGroupName": "creditCardPaymentGroup",
                  "PaymentSystemName": "Visa",
                  "TotalValuePlusInterestRate": 42,
                  "Value": 21
                },
                {
                  "InterestRate": 0,
                  "Name": "Visa 3 vezes sem juros",
                  "NumberOfInstallments": 3,
                  "PaymentSystemGroupName": "creditCardPaymentGroup",
                  "PaymentSystemName": "Visa",
                  "TotalValuePlusInterestRate": 42,
                  "Value": 14
                },
                {
                  "InterestRate": 0,
                  "Name": "Visa 4 vezes sem juros",
                  "NumberOfInstallments": 4,
                  "PaymentSystemGroupName": "creditCardPaymentGroup",
                  "PaymentSystemName": "Visa",
                  "TotalValuePlusInterestRate": 42,
                  "Value": 10.5
                },
                {
                  "InterestRate": 0,
                  "Name": "Promissory à vista",
                  "NumberOfInstallments": 1,
                  "PaymentSystemGroupName": "promissoryPaymentGroup",
                  "PaymentSystemName": "Promissory",
                  "TotalValuePlusInterestRate": 42,
                  "Value": 42
                }
              ],
              "IsAvailable": true,
              "ItemMetadataAttachment": [],
              "ListPrice": 42,
              "PaymentOptions": {
                "availableAccounts": [],
                "availableTokens": [],
                "giftCardMessages": [],
                "giftCards": [],
                "installmentOptions": [
                  {
                    "bin": null,
                    "installments": [
                      {
                        "count": 1,
                        "hasInterestRate": false,
                        "interestRate": 0,
                        "sellerMerchantInstallments": [
                          {
                            "count": 1,
                            "hasInterestRate": false,
                            "id": "MERCH",
                            "interestRate": 0,
                            "total": 4200,
                            "value": 4200
                          }
                        ],
                        "total": 4200,
                        "value": 4200
                      },
                      {
                        "count": 2,
                        "hasInterestRate": false,
                        "interestRate": 0,
                        "sellerMerchantInstallments": [
                          {
                            "count": 2,
                            "hasInterestRate": false,
                            "id": "MERCH",
                            "interestRate": 0,
                            "total": 4200,
                            "value": 2100
                          }
                        ],
                        "total": 4200,
                        "value": 2100
                      },
                      {
                        "count": 3,
                        "hasInterestRate": false,
                        "interestRate": 0,
                        "sellerMerchantInstallments": [
                          {
                            "count": 3,
                            "hasInterestRate": false,
                            "id": "MERCH",
                            "interestRate": 0,
                            "total": 4200,
                            "value": 1400
                          }
                        ],
                        "total": 4200,
                        "value": 1400
                      },
                      {
                        "count": 4,
                        "hasInterestRate": false,
                        "interestRate": 0,
                        "sellerMerchantInstallments": [
                          {
                            "count": 4,
                            "hasInterestRate": false,
                            "id": "MERCH",
                            "interestRate": 0,
                            "total": 4200,
                            "value": 1050
                          }
                        ],
                        "total": 4200,
                        "value": 1050
                      }
                    ],
                    "paymentGroupName": "creditCardPaymentGroup",
                    "paymentName": "Visa",
                    "paymentSystem": "2",
                    "value": 4200
                  },
                  {
                    "bin": null,
                    "installments": [
                      {
                        "count": 1,
                        "hasInterestRate": false,
                        "interestRate": 0,
                        "sellerMerchantInstallments": [
                          {
                            "count": 1,
                            "hasInterestRate": false,
                            "id": "MERCH",
                            "interestRate": 0,
                            "total": 4200,
                            "value": 4200
                          }
                        ],
                        "total": 4200,
                        "value": 4200
                      }
                    ],
                    "paymentGroupName": "promissoryPaymentGroup",
                    "paymentName": "Promissory",
                    "paymentSystem": "17",
                    "value": 4200
                  }
                ],
                "paymentSystems": [
                  {
                    "availablePayments": null,
                    "description": null,
                    "dueDate": "2021-07-01T18:43:00.0264384Z",
                    "groupName": "promissoryPaymentGroup",
                    "id": 17,
                    "isCustom": false,
                    "name": "Promissory",
                    "requiresAuthentication": false,
                    "requiresDocument": false,
                    "stringId": "17",
                    "template": "promissoryPaymentGroup-template",
                    "validator": null
                  },
                  {
                    "availablePayments": null,
                    "description": null,
                    "dueDate": "2021-07-01T18:43:00.0264384Z",
                    "groupName": "creditCardPaymentGroup",
                    "id": 2,
                    "isCustom": false,
                    "name": "Visa",
                    "requiresAuthentication": false,
                    "requiresDocument": false,
                    "stringId": "2",
                    "template": "creditCardPaymentGroup-template",
                    "validator": null
                  }
                ],
                "payments": []
              },
              "Price": 42,
              "PriceValidUntil": "4000-01-01T03:00:00Z",
              "PriceWithoutDiscount": 42,
              "RewardValue": 0,
              "SaleChannel": 0,
              "Tax": 0,
              "Teasers": []
            },
            "sellerDefault": true,
            "sellerId": "1",
            "sellerName": "COMPANHIA BRASILEIRA DE TECNOLOGIA PARA E-COMMERCE"
          }
        ],
        "unitMultiplier": 1
      }
    ],
    "link": "https://merch.vtexcommercestable.com.br/kit-6-cerveja-hoegaarden/p",
    "linkText": "kit-6-cerveja-hoegaarden",
    "metaTagDescription": "",
    "productClusters": {
      "138": "teste2",
      "143": "NaoPesquisavel",
      "146": "colecaotestesubcategoria",
      "161": "merch_import_test1"
    },
    "productId": "35",
    "productName": "Kit de Hoegaarden",
    "productReference": "000806",
    "productReferenceCode": null,
    "productTitle": "",
    "releaseDate": "2020-10-07T00:00:00",
    "searchableClusters": {
      "138": "teste2"
    }
  }
]