UserName = Account Number, Password = API Key

Don't have an API Key? Find it here or email [email protected]

GET - Styles

The Styles API gives basic style level information that is repeated on every sku within the style.

Resource URL:

GET     https://api.ssactivewear.com/v2/styles/

Request Options:

Get All /v2/styles/ Returns all styles
Filter Results /v2/styles/{style}
/v2/styles/39,Gildan 5000 /v2/styles/00760,Gildan 5000
Returns styles matching filter condition

{style} = is a comma separated list of style identifiers
identifiers = StyleID, PartNumber, BrandName Name
Search Results /v2/styles/search={value}
/v2/styles?search=Gildan 2000 /v2/styles?search=Gildan
Returns styles matching filter condition

{style} = is a comma separated list of style identifiers
identifiers = StyleID, PartNumber, BrandName Name
Filter Results By StyleID Or PartNumber /v2/styles/?styleid={style}
/v2/styles/?styleid=39
/v2/styles/?partnumber={partnumber}
/v2/styles/?partnumber=00760
Returns styles matching filter condition

{styleid} = is a comma separated list of styleid
{partnumber} = is a comma separated list of partnumber
Filter Fields /v2/styles/?fields={fields} /v2/styles/Gildan 5000?fields=BrandName,Name,Title Returns only the fields that you request

{fields} = is a comma separated list of style object fields
fields = See style object definition below
Response Format /v2/styles/00760?mediatype={mediatype} /v2/styles/00760?mediatype=json Determines the response type

{mediatype} = json or xml (Default=json)

Example Request:

GET     https://api.ssactivewear.com/v2/styles/00760

Response:

[
   {
    "styleID": 39,
    "partNumber": "00760",
    "brandName": "Gildan",
    "styleName": "2000",
    "title": "Ultra Cotton™ T-Shirt",
    "description": 
        "6.0 oz., pre-shrunk 100% cotton (Dark Heather, Heather Cardinal, Heather Indigo, Heather Navy, Heather Sapphire, Safety Green, Safety Orange and Safety Pink are 50/50 cotton/polyester. Antique Cherry Red, Antique Irish Green, Antique Royal and Sport Grey are 90/10 cotton/polyester. Ash Grey is 99/1 cotton/polyester.)
        Safety Green and Safety Orange are compliant with ANSI High Visibility Standards
        Double-needle stitched neckline, bottom hem and sleeves
        Quarter-turned
        Shoulder-to-shoulder taping
        Seven-eighths inch collar",
    "baseCategory": "T-Shirts",
    "categories": "21,57,71,79,87",
    "catalogPageNumber": "182",
    "newStyle": false,
    "comparableGroup": 7,
    "companionGroup": 2,
    "brandImage": "Images/Brand/35_fl.jpg",
    "styleImage": "Images/Style/39_fl.jpg",
    "sustainableStyle": true
  }
]

Style Object Definition:

styleID Integer Unique ID for this style (does not change)
partNumber String First 5 digits of our sku number. It is the same for all skus in the style.
brandName String The brand that makes this style.
styleName String The style's name. Style names are unique within a brand.
title String A short description of the style.
description String Long HTML description of the style.
baseCateogry String Primary category for the style. Only one per style.
categories String Comma separated list of Categories that the style belongs to.

- Category details can be found in the Categories API.
catalogPageNumber String Page number the style appears in our current catalog.
newStyle Boolean Defines if the style is new.
comparableGroup String Styles with the same ComparableGroup are considered to be similar products.
companionGroup String Styles with the same CompanionGroup are considered to be within the same product family.
brandImage String URL to the medium image for this styles brand.

- Example URL: https://www.ssactivewear.com/{Image}
- Replace "_fm" with "_fl" for the large image
- Replace "_fm" with "_fs" for the small image
styleImage String URL to the medium image for this style

- Example URL: https://www.ssactivewear.com/{Image}
- Replace "_fm" with "_fl" for the large image
- Replace "_fm" with "_fs" for the small image
sustainableStyle Boolean Defines if the style meets S&S Sustainable Materials, Manufacturing, & Socially Conscious Manufacturing criteria.