All endpoints
SKU Generator
POST
/api/v1/tools/sku-generatorGenerate 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-generatorParameters
brandstringrequiredBrand code component.
categorystringrequiredCategory code component.
colorsstringoptionalColor variants (array of strings).
sizesstringoptionalSize variants (array of strings).
separatorstringoptionalComponent separator. Default -.
uppercasebooleanoptionalUppercase every component. Default true.
sequenceDigitsintegeroptionalZero-padded sequence digit count. Default 3.
componentLengthintegeroptionalTruncate each text component to this many characters, 0 = no truncation. Default 3.
startSequenceintegeroptionalFirst 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" }, ...] }
