Get all SKUs org-wide
curl --request GET \
--url http://ca-delogue-service-prod.bravepebble-62e34dbe.westeurope.azurecontainerapps.io/api/skusimport requests
url = "http://ca-delogue-service-prod.bravepebble-62e34dbe.westeurope.azurecontainerapps.io/api/skus"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('http://ca-delogue-service-prod.bravepebble-62e34dbe.westeurope.azurecontainerapps.io/api/skus', 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/skus",
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/skus"
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/skus")
.asString();require 'uri'
require 'net/http'
url = URI("http://ca-delogue-service-prod.bravepebble-62e34dbe.westeurope.azurecontainerapps.io/api/skus")
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>"
]
}
],
"pagination": {
"hasMore": true,
"cursor": "<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 all SKUs org-wide
Returns a paginated list of SKUs across all styles for the organisation, in the same enriched shape as the style-scoped route (nested color/size objects, resolved customFields, lowest applicable prices). Filter by styleId, state, colorId and sizeId. Supports cursor-based and page-based pagination. cursor is mutually exclusive with filter/pageSize/pageNumber.
GET
/
api
/
skus
Get all SKUs org-wide
curl --request GET \
--url http://ca-delogue-service-prod.bravepebble-62e34dbe.westeurope.azurecontainerapps.io/api/skusimport requests
url = "http://ca-delogue-service-prod.bravepebble-62e34dbe.westeurope.azurecontainerapps.io/api/skus"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('http://ca-delogue-service-prod.bravepebble-62e34dbe.westeurope.azurecontainerapps.io/api/skus', 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/skus",
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/skus"
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/skus")
.asString();require 'uri'
require 'net/http'
url = URI("http://ca-delogue-service-prod.bravepebble-62e34dbe.westeurope.azurecontainerapps.io/api/skus")
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>"
]
}
],
"pagination": {
"hasMore": true,
"cursor": "<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>"
}
]
}
}Query Parameters
⌘I