Retrieve a Style

Retrieves the details of an existing style.

GET /api/styles/{id}

Parameters #

ParameterTypeDescription
idintegerThe ID of the style to retrieve.

Returns #

Returns a style object if a valid identifier was provided.

{
  "id": 101,
  "name": "Performance Tee",
  "model": "M1001",
  "manufacturerId": 1,
  "ean": "5701234567890",
  "views": [
    {
      "viewId": 501,
      "view": "Front"
    },
    {
      "viewId": 502,
      "view": "Back"
    }
  ]
}