Get a single SKU for a style
curl --request GET \
--url http://ca-delogue-service-prod.bravepebble-62e34dbe.westeurope.azurecontainerapps.io/api/styles/{styleId}/skus/{skuId}import requests
url = "http://ca-delogue-service-prod.bravepebble-62e34dbe.westeurope.azurecontainerapps.io/api/styles/{styleId}/skus/{skuId}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('http://ca-delogue-service-prod.bravepebble-62e34dbe.westeurope.azurecontainerapps.io/api/styles/{styleId}/skus/{skuId}', 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 => "http://ca-delogue-service-prod.bravepebble-62e34dbe.westeurope.azurecontainerapps.io/api/styles/{styleId}/skus/{skuId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "http://ca-delogue-service-prod.bravepebble-62e34dbe.westeurope.azurecontainerapps.io/api/styles/{styleId}/skus/{skuId}"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("http://ca-delogue-service-prod.bravepebble-62e34dbe.westeurope.azurecontainerapps.io/api/styles/{styleId}/skus/{skuId}")
.asString();require 'uri'
require 'net/http'
url = URI("http://ca-delogue-service-prod.bravepebble-62e34dbe.westeurope.azurecontainerapps.io/api/styles/{styleId}/skus/{skuId}")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"status": "<unknown>",
"code": "<string>",
"data": {
"id": 123,
"number": "<string>",
"state": "<unknown>",
"barcode": "<string>",
"barcodeId": 123,
"styleId": 123,
"color": {
"id": 123,
"name": "<string>",
"customId1": "<string>",
"customId2": "<string>",
"state": "<string>"
},
"size": {
"id": 123,
"name": "<string>",
"sizeId": "<string>",
"state": "<unknown>"
},
"customFields": [
{
"id": 123,
"customId1": "<string>",
"type": "<string>",
"name": "<string>",
"value": {
"id": 123,
"value": "<string>",
"customId": "<string>"
},
"values": [
{
"id": 123,
"value": "<string>",
"customId": "<string>"
}
]
}
],
"prices": [
{
"id": 123,
"variantType": "<unknown>",
"futureDate": "2023-11-07T05:31:56Z",
"brandComments": "<string>",
"supplierComments": "<string>",
"futurePriceBrandComments": "<string>",
"futurePriceSupplierComments": "<string>",
"priceNegotiations": [
{
"value": 123,
"futurePrice": 123,
"priceCalculation": {
"id": 123,
"ref": "<string>",
"name": "<string>",
"type": "<unknown>",
"currency": {
"id": 123,
"code": "<string>",
"name": "<string>"
},
"formula": "<string>",
"position": 123,
"properties": [
"<string>"
]
}
}
],
"properties": [
"<string>"
]
}
],
"properties": [
"<string>"
]
}
}{
"status": "<unknown>",
"code": "<string>",
"error": {
"details": [
{
"type": "<string>",
"field": "<string>",
"value": "<string>"
}
]
}
}{
"status": "<unknown>",
"code": "<string>",
"error": {
"details": [
{
"type": "<string>",
"field": "<string>",
"value": "<string>"
}
]
}
}{
"status": "<unknown>",
"code": "<string>",
"error": {
"details": [
{
"type": "<string>",
"field": "<string>",
"value": "<string>"
}
]
}
}StyleSkus
Get a single SKU for a style
Returns a single SKU by ID scoped to the given style, with nested color/size objects, resolved customFields (per-color/per-size values for this SKU’s coordinate, master value backfill) and the lowest applicable price rows. Returns 404 if the style or SKU is not found.
GET
/
api
/
styles
/
{styleId}
/
skus
/
{skuId}
Get a single SKU for a style
curl --request GET \
--url http://ca-delogue-service-prod.bravepebble-62e34dbe.westeurope.azurecontainerapps.io/api/styles/{styleId}/skus/{skuId}import requests
url = "http://ca-delogue-service-prod.bravepebble-62e34dbe.westeurope.azurecontainerapps.io/api/styles/{styleId}/skus/{skuId}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('http://ca-delogue-service-prod.bravepebble-62e34dbe.westeurope.azurecontainerapps.io/api/styles/{styleId}/skus/{skuId}', 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 => "http://ca-delogue-service-prod.bravepebble-62e34dbe.westeurope.azurecontainerapps.io/api/styles/{styleId}/skus/{skuId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "http://ca-delogue-service-prod.bravepebble-62e34dbe.westeurope.azurecontainerapps.io/api/styles/{styleId}/skus/{skuId}"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("http://ca-delogue-service-prod.bravepebble-62e34dbe.westeurope.azurecontainerapps.io/api/styles/{styleId}/skus/{skuId}")
.asString();require 'uri'
require 'net/http'
url = URI("http://ca-delogue-service-prod.bravepebble-62e34dbe.westeurope.azurecontainerapps.io/api/styles/{styleId}/skus/{skuId}")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"status": "<unknown>",
"code": "<string>",
"data": {
"id": 123,
"number": "<string>",
"state": "<unknown>",
"barcode": "<string>",
"barcodeId": 123,
"styleId": 123,
"color": {
"id": 123,
"name": "<string>",
"customId1": "<string>",
"customId2": "<string>",
"state": "<string>"
},
"size": {
"id": 123,
"name": "<string>",
"sizeId": "<string>",
"state": "<unknown>"
},
"customFields": [
{
"id": 123,
"customId1": "<string>",
"type": "<string>",
"name": "<string>",
"value": {
"id": 123,
"value": "<string>",
"customId": "<string>"
},
"values": [
{
"id": 123,
"value": "<string>",
"customId": "<string>"
}
]
}
],
"prices": [
{
"id": 123,
"variantType": "<unknown>",
"futureDate": "2023-11-07T05:31:56Z",
"brandComments": "<string>",
"supplierComments": "<string>",
"futurePriceBrandComments": "<string>",
"futurePriceSupplierComments": "<string>",
"priceNegotiations": [
{
"value": 123,
"futurePrice": 123,
"priceCalculation": {
"id": 123,
"ref": "<string>",
"name": "<string>",
"type": "<unknown>",
"currency": {
"id": 123,
"code": "<string>",
"name": "<string>"
},
"formula": "<string>",
"position": 123,
"properties": [
"<string>"
]
}
}
],
"properties": [
"<string>"
]
}
],
"properties": [
"<string>"
]
}
}{
"status": "<unknown>",
"code": "<string>",
"error": {
"details": [
{
"type": "<string>",
"field": "<string>",
"value": "<string>"
}
]
}
}{
"status": "<unknown>",
"code": "<string>",
"error": {
"details": [
{
"type": "<string>",
"field": "<string>",
"value": "<string>"
}
]
}
}{
"status": "<unknown>",
"code": "<string>",
"error": {
"details": [
{
"type": "<string>",
"field": "<string>",
"value": "<string>"
}
]
}
}⌘I