IMPRINTABLE

APPAREL | ACCESSORIES | UNIFORMS

API Authentication:

UserName = Account Number

Password = API Key

Don't have an API key?

Email api@ssactivewear.com for your Key

Menu

S&S Activewear API

UserName = Account Number, Password = API Key

Don't have an API Key? Email api@ssactivewear.com for your Key.

GET - Products

The products API gives information about a product. Certain style level information may need to be looked up using the style API.

Resource URL:

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

Request Options:

Get All /v2/products/ Returns all products
Filter Results /v2/products/{product}
/v2/products/B00760004
/v2/products/81480,B00760004,00821780008137
Returns products matching filter condition

{product} = is a comma separated list of product identifiers
identifiers = SkuID, Sku, Gtin, YourSku
Filter Results By Styles /v2/products/?style={style}
/v2/products/?style=00760
/v2/products/?style=00760,Gildan 5000
Returns products matching filter condition

{style} = is a comma separated list of style identifiers
identifiers = StyleID, PartNumber, BrandName Name
Filter Warehouses /v2/products/B00760003?Warehouses?{WarehouseAbbr}
/v2/products/B00760003?Warehouses=IL,KS
Returns only the warehouses requested

{WarehouseAbbr} = is a comma separated list of warehouseAbbr
Filter Fields /v2/products/B00760003?fields={fields}
/v2/products/B00760003?fields=Sku,Gtin,Qty,CustomerPrice
Returns only the fields that you request

{fields} = is a comma separated list of product object fields
Response Format /v2/products/B00760003?mediatype={mediatype} /v2/products/B00760003?mediatype=json Determines the response type

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

Example Request:

GET     https://api.ssactivewear.com/v2/products/B00760004

Response:

[
    {
        "sku": "B00760004",
        "gtin": "00821780001001",
        "skuID_Master": 2343,
        "yourSku": "",
        "styleID": 39,
        "brandName": "Gildan",
        "styleName": "2000",
        "colorName": "White",
        "colorCode": "00",
        "colorPriceCodeName": "White",
        "colorGroup": "79",
        "colorGroupName": "White",
        "colorFamilyID": "1",
        "colorFamily": "Neutrals",
        "colorSwatchImage": "Images/ColorSwatch/7229_fm.jpg",
        "colorSwatchTextColor": "#000000",
        "colorFrontImage": "Images/Color/17130_f_fm.jpg",
        "colorSideImage": "Images/Color/17130_fm.jpg",
        "colorBackImage": "Images/Color/17130_b_fm.jpg",
        "color1": "#eeedec",
        "color2": "",
        "sizeName": "M",
        "sizeCode": "4",
        "sizeOrder": "B2",
        "sizePriceCodeName": "S-XL",
        "caseQty": 72,
        "unitWeight": 0.4444444444444,
        "piecePrice": x.xx,
        "dozenPrice": x.xx,
        "casePrice": x.xx,
        "salePrice": x.xx,
        "customerPrice": x.xx,
        "saleExpiration": "2016-08-05T00:00:00",
        "qty": 19536,
        "warehouses": [
            {
                "warehouseAbbr": "IL",
                "skuID": 2343,
                "qty": 10000,
                "closeout": false,
                "dropship": false,
                "excludeFreeFreight": false,
                "fullCaseOnly": false,
                "returnable": true
            },
            {
                "warehouseAbbr": "CA",
                "skuID": 55405,
                "qty": 0,
                "closeout": false,
                "dropship": false,
                "excludeFreeFreight": false,
                "fullCaseOnly": false,
                "returnable": true
            },
            {
                "warehouseAbbr": "NJ",
                "skuID": 170872,
                "qty": 2210,
                "closeout": false,
                "dropship": false,
                "excludeFreeFreight": false,
                "fullCaseOnly": false,
                "returnable": true
            },
            {
                "warehouseAbbr": "KS",
                "skuID": 263747,
                "qty": 7326,
                "closeout": false,
                "dropship": false,
                "excludeFreeFreight": false,
                "fullCaseOnly": false,
                "returnable": true
            }
        ]
    }
]

Product Object Definition:

skuID Integer Unique ID for this sku (does not change)
sku String Our sku number
gtin String Industry standard identifier used by all suppliers.
yourSku String YourSku has been set up using the CrossRef API.
styleID Integer Unique ID for this style (Will never change)
brandName String The brand that makes this style.
styleName String The style's name. Style names are unique within a brand.
colorName String The color of this product.
colorCode String Two digit color code part of the InventoryKey.
colorPriceCodeName String The pricing category of this color.
colorGroup String Colors with a similar color group are considered to be a similar color.
colorGroupName String Colors with a similar color group are considered to be a similar color.
colorFamilyID Integer Base color the color falls under.
colorFamily String Base color the color falls under.
colorSwatchImage String URL to the medium swatch image for this color

- Example URL: https://www.ssactivewear.com/{Image}
- Replace "_fm" with "_fs" for the small image
colorSwatchTextColor String Html color code that is visable on top of the color swatch
colorFrontImage String URL to the medium front image for this color

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

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

- Example URL: https://www.ssactivewear.com/{Image}
- Replace "_fm" with "_fl" for the large image
- Replace "_fm" with "_fs" for the small image
color1 String HTML Code for the primary color.
color2 String HTML Code for the secondary color.
sizeName String Size Name that the spec belongs to.
sizeCode String One digit size code part of the InventoryKey.
sizeOrder String Sort order for the size compared to other sizes in the style.
sizePriceCodeName String The pricing category of this size.
caseQty Integer Number of units in a full case from the mill.
unitWeight Decimal Weight of a single unit.
piecePrice Decimal Piece price level price
dozenPrice Decimal Dozen price level price
casePrice Decimal Case price level price
salePrice Decimal Sale price level price
customerPrice Decimal Your price
saleExpiration String MM/DD/YYYY
qty Integer Combined Inventory in all of our warehouses
warehouses List of Object
warehouseAbbr String Code that defines
skuID Integer skuID identifying the Sku and Warehouse.
qty Integer Quantity available for sale.
closeout Boolean Skus that are discontinued and will not be replenshied.
dropship Boolean This product does not ship from our warehouse.
excludeFreeFreight Boolean This product does not qualify for free freight.
fullCaseOnly Boolean This product must be ordered in full case quantities.
returnable Boolean This product is eligible for return.