List size curve targets for the organization
curl --request GET \
--url https://app.solya.app/api/size-curve-targets \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.solya.app/api/size-curve-targets"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.solya.app/api/size-curve-targets', 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://app.solya.app/api/size-curve-targets",
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: Bearer <token>"
],
]);
$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://app.solya.app/api/size-curve-targets"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://app.solya.app/api/size-curve-targets")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.solya.app/api/size-curve-targets")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"items": [
{
"brandId": "brand-uuid-aaa",
"familyId": null,
"id": "row-uuid-1",
"organizationId": "org-uuid-123",
"rows": [
{
"sizeId": "size-s",
"targetPct": 25
},
{
"sizeId": "size-m",
"targetPct": 50
},
{
"sizeId": "size-l",
"targetPct": 25
}
],
"scope": "BRAND",
"scopeValue": "brand-uuid-aaa",
"season": null,
"source": "MANUAL",
"updatedAt": null
},
{
"brandId": "brand-uuid-bbb",
"familyId": "family-uuid-footwear",
"id": "row-uuid-2",
"organizationId": "org-uuid-123",
"rows": [
{
"sizeId": "size-xs",
"targetPct": 20
},
{
"sizeId": "size-s",
"targetPct": 30
},
{
"sizeId": "size-m",
"targetPct": 30
},
{
"sizeId": "size-l",
"targetPct": 20
}
],
"scope": "BRAND",
"scopeValue": "brand-uuid-bbb",
"season": "SS25",
"source": "SUGGESTED",
"updatedAt": "2026-05-01T10:00:00.000Z"
}
],
"total": 2
}Size Curve Targets
List size curve targets for the organization
Returns all size curve targets for the caller’s organization, grouped by (scope, scopeValue). Results are ordered by (scope, scopeValue, sizeId) for stable layout. Requires intelligenceLayer.view permission.
GET
/
api
/
size-curve-targets
List size curve targets for the organization
curl --request GET \
--url https://app.solya.app/api/size-curve-targets \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.solya.app/api/size-curve-targets"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.solya.app/api/size-curve-targets', 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://app.solya.app/api/size-curve-targets",
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: Bearer <token>"
],
]);
$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://app.solya.app/api/size-curve-targets"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://app.solya.app/api/size-curve-targets")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.solya.app/api/size-curve-targets")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"items": [
{
"brandId": "brand-uuid-aaa",
"familyId": null,
"id": "row-uuid-1",
"organizationId": "org-uuid-123",
"rows": [
{
"sizeId": "size-s",
"targetPct": 25
},
{
"sizeId": "size-m",
"targetPct": 50
},
{
"sizeId": "size-l",
"targetPct": 25
}
],
"scope": "BRAND",
"scopeValue": "brand-uuid-aaa",
"season": null,
"source": "MANUAL",
"updatedAt": null
},
{
"brandId": "brand-uuid-bbb",
"familyId": "family-uuid-footwear",
"id": "row-uuid-2",
"organizationId": "org-uuid-123",
"rows": [
{
"sizeId": "size-xs",
"targetPct": 20
},
{
"sizeId": "size-s",
"targetPct": 30
},
{
"sizeId": "size-m",
"targetPct": 30
},
{
"sizeId": "size-l",
"targetPct": 20
}
],
"scope": "BRAND",
"scopeValue": "brand-uuid-bbb",
"season": "SS25",
"source": "SUGGESTED",
"updatedAt": "2026-05-01T10:00:00.000Z"
}
],
"total": 2
}⌘I

