A Style object represents a specific apparel product (e.g., a specific t-shirt model) that can be used in the KitMaker system. It contains details about the product model, manufacturer, and available views.
Attributes #
| Attribute | Type | Description |
|---|
| id | integer | Unique identifier for the Style. |
| name | string | The name of the style (e.g., "Performance Tee"). |
| model | string | The model identifier or code for the style. |
| manufacturerId | integer | The ID of the manufacturer that produces this style. |
| ean | string | The EAN (European Article Number) barcode for the style. |
| views | array of objects | A list of available views for the style (e.g., Front, Back). |
View Object #
| Attribute | Type | Description |
|---|
| viewId | integer | Unique identifier for the view. |
| view | string | Description of the view (e.g., "Front", "Back", "Left Sleeve"). |
Example Object #
{
"id": 101,
"name": "Performance Tee",
"model": "M1001",
"manufacturerId": 1,
"ean": "5701234567890",
"views": [
{
"viewId": 501,
"view": "Front"
},
{
"viewId": 502,
"view": "Back"
}
]
}