Skip to main content
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>'
{
  "items": [
    {
      "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",
      "updatedAt": null
    },
    {
      "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",
      "updatedAt": "2026-05-01T10:00:00.000Z"
    }
  ],
  "total": 2
}

Authorizations

Authorization
string
header
required

User session token issued by NextAuth. For human users accessing Solya via the web application.

Response

Successful response

data
object
required
success
enum<boolean>
required
Available options:
true