Object

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 #

AttributeTypeDescription
idintegerUnique identifier for the Style.
namestringThe name of the style (e.g., "Performance Tee").
modelstringThe model identifier or code for the style.
manufacturerIdintegerThe ID of the manufacturer that produces this style.
eanstringThe EAN (European Article Number) barcode for the style.
viewsarray of objectsA list of available views for the style (e.g., Front, Back).

View Object #

AttributeTypeDescription
viewIdintegerUnique identifier for the view.
viewstringDescription 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"
    }
  ]
}