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 - Categories

The categories API gives information about the categories that each style is assigned to.

Resource URL:

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

Request Options:

Get All /v2/categories/ Returns all categories
Filter Results /v2/categories/{category}
/v2/categories/1
Returns categories matching filter condition

{category} = is a comma separated list of category identifiers
identifiers = CategoryID
Filter Fields /v2/categories/?fields={fields} /v2/categories/?fields=CategoryID,Name Returns only the fields that you request

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

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

Example Request:

GET     https://api.ssactivewear.com/v2/categories/81

Response:

[
   {
    "categoryID": 81,
    "name": "3/4 Sleeve",
    "image": "Images/Categories/81_fm.jpg"
  } 
]

Category Object Definition:

categoryID Integer Unique ID for this category (does not change)
name String Logical name for the category.
image String URL to the medium image for this category

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