Printago API
POST
/v1/customizer/configs/sku-colors
Get colors for SKUs
Discover distinct color swatches used by the given SKUs. Used by the admin editor to auto-import a SKU's possible colors into a config's color list when a SKU is paired.
Request Body
CustomizerSkuColorsBody
skuIdsrequired
string[]
SKUs to walk for color discovery.
Example Request
application/json
{
"skuIds": [
"string"
]
}
Response Schema
CustomizerColorEntry[]
Array of CustomizerColorEntry, each with:
aliasoptional
string
Optional display alias shown to customers.
sourceMaterialVariantIdoptional
string
When auto-imported from a material variant, the source variant id.
valuerequired
string
Hex code, e.g. `#FF0000`. The 8-char `#RRGGBBAA` form is also accepted.
Example Response
201 OK — application/json
[
{
"value": "string",
"alias": "string",
"sourceMaterialVariantId": "string"
}
]