Gets full product detail.
curl --request GET \
--url https://api.example.com/api/v1/Products/{supplierId}/{sku} \
--header 'Authorization: <api-key>'import requests
url = "https://api.example.com/api/v1/Products/{supplierId}/{sku}"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://api.example.com/api/v1/Products/{supplierId}/{sku}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.example.com/api/v1/Products/{supplierId}/{sku}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/api/v1/Products/{supplierId}/{sku}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.example.com/api/v1/Products/{supplierId}/{sku}")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/api/v1/Products/{supplierId}/{sku}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"isSuccess": true,
"message": "<string>",
"payload": {
"isOwner": true,
"header": {
"supplierId": "<string>",
"wineDirectSku": "<string>",
"sku": "<string>",
"upcCode": "<string>",
"description": "<string>",
"itemTypeCode": "<string>",
"itemTypeName": "<string>",
"brandName": "<string>",
"fancifulName": "<string>",
"appellation": "<string>",
"varietal": "<string>",
"vintage": "<string>",
"alcoholTypeCode": "<string>",
"alcoholPercentage": "<string>",
"bottleSizeMl": "<string>",
"unitsPerCase": "<string>",
"vineyardDesignation": "<string>",
"ttbApprovalNumber": "<string>",
"countryOfOriginCode": "<string>",
"countryOfOriginName": "<string>",
"regionOfOrigin": "<string>",
"weight": 123,
"unitsOfMeasure": "<string>",
"isAvailableForSourcing": true,
"additionalAttributes": "<string>",
"isBidStickered": true,
"retailPrice": 123,
"supplierName": "<string>",
"vasCode": "<string>",
"vasName": "<string>",
"orientation": "<string>",
"location": "<string>"
},
"sellingInfos": [
{
"sellerAccountNumber": "<string>",
"sellerName": "<string>",
"wineDirectSku": "<string>",
"sku": "<string>",
"description": "<string>",
"retailPrice": 123,
"supplierName": "<string>",
"supplierPayment": 123
}
],
"ptoInfos": [
{
"componentNumber": 123,
"wineDirectSku": "<string>",
"sku": "<string>",
"description": "<string>",
"quantity": 123,
"retailPrice": 123,
"weight": 123,
"unitsOfMeasure": "<string>",
"itemTypeName": "<string>"
}
],
"bomInventories": [
{
"warehouseCode": "<string>",
"warehouseName": "<string>",
"wineDirectSku": "<string>",
"sku": "<string>",
"description": "<string>",
"subInventoryCode": "<string>",
"itemsPerGset": 123,
"gsetsOnhand": 123,
"itemsInGsets": 123,
"gsetsReserved": 123,
"itemsInReservedGsets": 123,
"gsetsAvailable": 123,
"itemsInAvailableGsets": 123
}
]
}
}Gets full product detail.
GET
/
api
/
v1
/
Products
/
{supplierId}
/
{sku}
Gets full product detail.
curl --request GET \
--url https://api.example.com/api/v1/Products/{supplierId}/{sku} \
--header 'Authorization: <api-key>'import requests
url = "https://api.example.com/api/v1/Products/{supplierId}/{sku}"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://api.example.com/api/v1/Products/{supplierId}/{sku}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.example.com/api/v1/Products/{supplierId}/{sku}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/api/v1/Products/{supplierId}/{sku}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.example.com/api/v1/Products/{supplierId}/{sku}")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/api/v1/Products/{supplierId}/{sku}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"isSuccess": true,
"message": "<string>",
"payload": {
"isOwner": true,
"header": {
"supplierId": "<string>",
"wineDirectSku": "<string>",
"sku": "<string>",
"upcCode": "<string>",
"description": "<string>",
"itemTypeCode": "<string>",
"itemTypeName": "<string>",
"brandName": "<string>",
"fancifulName": "<string>",
"appellation": "<string>",
"varietal": "<string>",
"vintage": "<string>",
"alcoholTypeCode": "<string>",
"alcoholPercentage": "<string>",
"bottleSizeMl": "<string>",
"unitsPerCase": "<string>",
"vineyardDesignation": "<string>",
"ttbApprovalNumber": "<string>",
"countryOfOriginCode": "<string>",
"countryOfOriginName": "<string>",
"regionOfOrigin": "<string>",
"weight": 123,
"unitsOfMeasure": "<string>",
"isAvailableForSourcing": true,
"additionalAttributes": "<string>",
"isBidStickered": true,
"retailPrice": 123,
"supplierName": "<string>",
"vasCode": "<string>",
"vasName": "<string>",
"orientation": "<string>",
"location": "<string>"
},
"sellingInfos": [
{
"sellerAccountNumber": "<string>",
"sellerName": "<string>",
"wineDirectSku": "<string>",
"sku": "<string>",
"description": "<string>",
"retailPrice": 123,
"supplierName": "<string>",
"supplierPayment": 123
}
],
"ptoInfos": [
{
"componentNumber": 123,
"wineDirectSku": "<string>",
"sku": "<string>",
"description": "<string>",
"quantity": 123,
"retailPrice": 123,
"weight": 123,
"unitsOfMeasure": "<string>",
"itemTypeName": "<string>"
}
],
"bomInventories": [
{
"warehouseCode": "<string>",
"warehouseName": "<string>",
"wineDirectSku": "<string>",
"sku": "<string>",
"description": "<string>",
"subInventoryCode": "<string>",
"itemsPerGset": 123,
"gsetsOnhand": 123,
"itemsInGsets": 123,
"gsetsReserved": 123,
"itemsInReservedGsets": 123,
"gsetsAvailable": 123,
"itemsInAvailableGsets": 123
}
]
}
}Authorizations
Enter the Bearer AccessToken; Example: 'Bearer 12345abcdef'
Was this page helpful?
⌘I