---
title: "Create a Style Property"
method: POST
path: "/api/style-properties/"
tags: ["Products/StyleProperties"]
---

# Create a Style Property

`POST /api/style-properties/`

Creates a new style property for the authenticated company. Style properties are predefined values for the brands, seasons, collections, and departments fields. A property must be created here before its id can be referenced on a style. The category field determines which field the property applies to.

## Request body

- object
  - `value` string, required
  - `category` 'collections' | 'departments' | 'seasons' | 'brands', required

## Response `201`

Default Response

- object
  - `metadata` object, required
    - `success` boolean, required — True when the request succeeded.
  - `data` StylePropertySchema, required
    - `id` string, required
    - `forCompanyId` string, required
    - `value` string, required
    - `category` 'collections' | 'departments' | 'seasons' | 'brands', required
    - `createdAt` string, date-time
    - `updatedAt` string, date-time
    - `createdByImpersonateId` string
    - `createdByUserId` string
    - `createdByCompanyId` string
    - `createdByApiKeyId` string
    - `createdByApiKeyLabel` string
    - `updatedByImpersonateId` string
    - `updatedByUserId` string
    - `updatedByCompanyId` string
    - `updatedByApiKeyId` string
    - `updatedByApiKeyLabel` string

---

[API](https://skmtc.net/retraced/apis/api-reference.md) · [All operations](https://skmtc.net/retraced/apis/api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/retraced/api-reference/revisions/60d6c901bc4e/schema)
