View a Single Style Group

GET /v2/api/pricing/style_groups/{code}

This endpoint is used to retrieve comprehensive data on a single registered style group.

image-20240917-152306.png

 

 

Accepts

  • A style group code, which must be the unique identifying code for the style group

Returns

Success

A JSON object representing the requested edge type

Property

Description

code

string

The unique code identifying the style group

desc

string

The text description for the style group

lensStyles

array

Returns the lens styles that are part of the group

lensStyle/code

string

The unique code identifying the lens style

lensStyle/desc

string

The text description for the lens style

Error

If the code parameter does not match a material group in the system an HTTP 404 code will be returned with the standard error body

{ "error": "No record found", "details": [ "Provided: X" ] }