curl --request GET \
--url https://ca-delogue-service-prod.bravepebble-62e34dbe.westeurope.azurecontainerapps.io/api/style-pricesimport requests
url = "https://ca-delogue-service-prod.bravepebble-62e34dbe.westeurope.azurecontainerapps.io/api/style-prices"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://ca-delogue-service-prod.bravepebble-62e34dbe.westeurope.azurecontainerapps.io/api/style-prices', 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://ca-delogue-service-prod.bravepebble-62e34dbe.westeurope.azurecontainerapps.io/api/style-prices",
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 := "https://ca-delogue-service-prod.bravepebble-62e34dbe.westeurope.azurecontainerapps.io/api/style-prices"
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("https://ca-delogue-service-prod.bravepebble-62e34dbe.westeurope.azurecontainerapps.io/api/style-prices")
.asString();require 'uri'
require 'net/http'
url = URI("https://ca-delogue-service-prod.bravepebble-62e34dbe.westeurope.azurecontainerapps.io/api/style-prices")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"status": "success",
"code": "<string>",
"data": [
{
"id": 123,
"styleId": 123,
"colorId": 123,
"colorName": "<string>",
"colorStatus": "active",
"sizeRangeSizeId": 123,
"sizeRangeSizeName": "<string>",
"sizeRangeSizeStatus": "active",
"variantType": "none",
"brandComments": "<string>",
"supplierComments": "<string>",
"futureDate": "2023-11-07T05:31:56Z",
"futurePriceBrandComments": "<string>",
"futurePriceSupplierComments": "<string>",
"priceNegotiations": [
{
"value": 123,
"futurePrice": 123,
"priceCalculation": {
"id": 123,
"ref": "<string>",
"name": "<string>",
"type": "currency",
"currency": {
"id": 123,
"code": "<string>",
"name": "<string>"
},
"formula": "<string>",
"position": 123,
"properties": [
"<string>"
]
}
}
],
"properties": [
"<string>"
]
}
],
"pagination": {
"hasMore": true,
"cursor": "<string>"
}
}{
"status": "success",
"code": "<string>",
"error": {
"details": [
{
"type": "<string>",
"field": "<string>",
"value": "<string>"
}
]
}
}{
"status": "success",
"code": "<string>",
"error": {
"details": [
{
"type": "<string>",
"field": "<string>",
"value": "<string>"
}
]
}
}{
"status": "success",
"code": "<string>",
"error": {
"details": [
{
"type": "<string>",
"field": "<string>",
"value": "<string>"
}
]
}
}{
"status": "success",
"code": "<string>",
"error": {
"details": [
{
"type": "<string>",
"field": "<string>",
"value": "<string>"
}
]
}
}List style prices
Returns a paginated list of style price rows across styles for the caller’s organisation. Supports filter by style, color, season, supplier, approval status, and future date range. Cursor is mutually exclusive with filter/pageSize/pageNumber.
curl --request GET \
--url https://ca-delogue-service-prod.bravepebble-62e34dbe.westeurope.azurecontainerapps.io/api/style-pricesimport requests
url = "https://ca-delogue-service-prod.bravepebble-62e34dbe.westeurope.azurecontainerapps.io/api/style-prices"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://ca-delogue-service-prod.bravepebble-62e34dbe.westeurope.azurecontainerapps.io/api/style-prices', 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://ca-delogue-service-prod.bravepebble-62e34dbe.westeurope.azurecontainerapps.io/api/style-prices",
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 := "https://ca-delogue-service-prod.bravepebble-62e34dbe.westeurope.azurecontainerapps.io/api/style-prices"
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("https://ca-delogue-service-prod.bravepebble-62e34dbe.westeurope.azurecontainerapps.io/api/style-prices")
.asString();require 'uri'
require 'net/http'
url = URI("https://ca-delogue-service-prod.bravepebble-62e34dbe.westeurope.azurecontainerapps.io/api/style-prices")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"status": "success",
"code": "<string>",
"data": [
{
"id": 123,
"styleId": 123,
"colorId": 123,
"colorName": "<string>",
"colorStatus": "active",
"sizeRangeSizeId": 123,
"sizeRangeSizeName": "<string>",
"sizeRangeSizeStatus": "active",
"variantType": "none",
"brandComments": "<string>",
"supplierComments": "<string>",
"futureDate": "2023-11-07T05:31:56Z",
"futurePriceBrandComments": "<string>",
"futurePriceSupplierComments": "<string>",
"priceNegotiations": [
{
"value": 123,
"futurePrice": 123,
"priceCalculation": {
"id": 123,
"ref": "<string>",
"name": "<string>",
"type": "currency",
"currency": {
"id": 123,
"code": "<string>",
"name": "<string>"
},
"formula": "<string>",
"position": 123,
"properties": [
"<string>"
]
}
}
],
"properties": [
"<string>"
]
}
],
"pagination": {
"hasMore": true,
"cursor": "<string>"
}
}{
"status": "success",
"code": "<string>",
"error": {
"details": [
{
"type": "<string>",
"field": "<string>",
"value": "<string>"
}
]
}
}{
"status": "success",
"code": "<string>",
"error": {
"details": [
{
"type": "<string>",
"field": "<string>",
"value": "<string>"
}
]
}
}{
"status": "success",
"code": "<string>",
"error": {
"details": [
{
"type": "<string>",
"field": "<string>",
"value": "<string>"
}
]
}
}{
"status": "success",
"code": "<string>",
"error": {
"details": [
{
"type": "<string>",
"field": "<string>",
"value": "<string>"
}
]
}
}Headers
Query Parameters
Restrict results to the price rows of a single style, by its identifier.
Restrict results to price rows for a single colourway, matching the emitted colorId.
Restrict results to price rows on styles in a single season, by its identifier.
Restrict results to price rows on styles assigned to a single supplier organisation, by its identifier.
Restrict results by the style's price-approval status.
approved, notApproved Restrict results to price rows whose future price takes effect on or after this date, in ISO 8601 format.
Restrict results to price rows whose future price takes effect on or before this date, in ISO 8601 format.
Number of results per page. Defaults to 30, maximum 100.
The 1-based page number to return. Defaults to 1.
Opaque keyset pagination token. Mutually exclusive with the filter, pageSize, and pageNumber parameters.
Response
OK
The coarse outcome of the request, indicating whether it succeeded or failed.
success, error The specific machine-readable outcome code, such as ok on success or the most specific error code on failure. Always lowercase on the wire.
The page of results, always an array. An empty page is an empty array rather than null or an omitted field.
Show child attributes
Show child attributes
Paging metadata for this response, carrying whether more rows remain and the cursor used to request the next page.
Show child attributes
Show child attributes