Skip to content
Utilerio
All endpoints

SKU Generator

POST/api/v1/tools/sku-generator

Generate SKUs from brand, category, color and size, in bulk across every color×size combination.

Authentication

Requires an API key in the X-API-Key header.

Try it

POST/api/v1/tools/sku-generator

Parameters

brandstringrequired

Brand code component.

categorystringrequired

Category code component.

colorsstringoptional

Color variants (array of strings).

sizesstringoptional

Size variants (array of strings).

separatorstringoptional

Component separator. Default -.

uppercasebooleanoptional

Uppercase every component. Default true.

sequenceDigitsintegeroptional

Zero-padded sequence digit count. Default 3.

componentLengthintegeroptional

Truncate each text component to this many characters, 0 = no truncation. Default 3.

startSequenceintegeroptional

First sequence number. Default 1.

Request body

{
  "brand": "ACME",
  "category": "SHIRT",
  "colors": [
    "Red",
    "Blue"
  ],
  "sizes": [
    "S",
    "M"
  ],
  "separator": "-",
  "uppercase": true,
  "sequenceDigits": 3,
  "componentLength": 3,
  "startSequence": 1
}

Response codes

  • 200Success.
  • 400Invalid request — check your body or parameters.
  • 401Missing or invalid API key.
  • 403The API key is not scoped to this endpoint.
  • 429Rate limit exceeded — retry after a short wait.

Language

cURL

Request

curl -X POST https://utilerio.com/api/v1/tools/sku-generator \
  -H "X-API-Key: YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"brand":"ACME","category":"SHIRT","colors":["Red","Blue"],"sizes":["S","M"],"separator":"-","uppercase":true,"sequenceDigits":3,"componentLength":3,"startSequence":1}'

Response

{ "rows": [{ "color": "Red", "size": "S", "sku": "ACM-SHI-Red-S-001" }, ...] }