Skip to main content
POST
/
api
/
v1
/
styles
Create Style
curl --request POST \
  --url https://staging.cutmake.ai/api/v1/styles \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "refId": "<string>",
  "clientId": "<string>",
  "description": "<string>",
  "picture": "<string>",
  "colors": [
    "<string>"
  ],
  "sizes": [
    "<string>"
  ]
}
'
{
  "id": "<string>",
  "documentId": "<string>",
  "name": "<string>",
  "refId": "<string>",
  "clientId": "<string>",
  "picture": "<string>",
  "description": "<string>",
  "colors": [
    "<string>"
  ],
  "sizes": [
    "<string>"
  ],
  "skus": [
    {
      "id": "<string>",
      "documentId": "<string>",
      "color": "<string>",
      "size": "<string>",
      "qrData": "<string>",
      "isKittedBundle": false,
      "kittedBundle": [
        {}
      ]
    }
  ],
  "skuCount": 0,
  "createdAt": "<string>"
}

Headers

X-Org-Id
string | null

Body

application/json
name
string
required
refId
string
required
clientId
string
required
description
string
required
picture
string | null
colors
string[]
sizes
string[]

Response

Successful Response

id
string
required
documentId
string | null
name
string | null
refId
string | null
clientId
string | null
picture
string | null
description
string | null
colors
string[]
sizes
string[]
skus
StyleSKUResponse · object[]
skuCount
integer
default:0
createdAt
string | null