CSC LED's Inventory API

Connect today and unlock real-time product data for your website.

Generating Your Access Token


Before utilizing the API below you will need to generate your access token using your email address and password registered with CSC LED.
If you are not yet registered with CSC LED for the purposes of accessing our API, please contact info@csc-led.com and request Inventory API access.
Once you have your login and password, your next step is to generate your access token by sending a POST request to 'https://api.dev2024site.com/api/v1/token' with your registered email ID and password for API access with grant type = password.
Here are some examples for generating your access token:
var client = new RestClient("https://api.dev2024site.com/api/v1/token");
    client.Timeout = -1;
    var request = new RestRequest(Method.POST);
    request.AddHeader("Content-Type", "text/plain");
    request.AddParameter("text/plain", "grant_type=password&username=youremail@domain.com&password=password",  ParameterType.RequestBody);
    IRestResponse response = client.Execute(request);
    Console.WriteLine(response.Content);
If your credentials are correct you will receive a JSON response with a 200 (OK) response code (as shown below).
{
    "access_token": "123456789-0123456-cB9GVU9PNCGosw0edOKNPF-9wmGdPwaOvaoR2ehdazR_2Xr_ZxySf2e2oDxiMGeMtGUGRYXjaCWVjinmKrdOxQj6k2Gcr4Bts-g55GOG3s1iLNVSf0wb2_ZApi4WuIBQddUIuJ9v8kYnUoHqap95XO1zCe4xzxQNebQrwss5AHpwRANI1deVaZWPS3dX6s0-5gHdKoO1utFRZAvl36b7HBUjsejWcq1HLZv2dwsjx8xX8M885B7qrfjRO305",  // updated access_token
    "token_type": "bearer",
    "expires_in": 3599,
    "refresh_token": "12345678-99ae-4aa6-a278-7aa1c36721c9",  // new refresh_token
    "userName": "youremail@gmail.com",
    "issued": "Mon, 22 Jan 2024 11:26:59 GMT",
    "expires": "Mon, 22 Jan 2024 12:26:59 GMT"
}
If your information is not correct or up to date, you will receive an error with status 400 (Bad request) as shown below.
{
    "error": "invalid_grant",
    "error_description": "Either email or password is incorrect"
}

Refreshing Your Access Token


To refresh your access token, you will need to send your access_token as "Authorization" in your request header with current refresh_token, and set grant_type to refresh_token as body parameters.
As result, the body parameters of your POST request should now contain
grant_type=refresh_token&refresh_token=123456890-7ae6-4717-94ed-634550d75c62
instead of
grant_type=password&username=youremail@domain.com&password=password
Example:
var client = new RestClient("https://api.dev2024site.com/api/v1/token");
  client.Timeout = -1; 
  var request = new RestRequest(Method.POST);
  request.AddHeader("Content-Type", "text/plain");
  request.AddParameter("text/plain", "grant_type=refresh_token&refresh_token=123456890-7ae6-4717-94ed-634550d75c62",ParameterType.RequestBody); 
  IRestResponse response = client.Execute(request); 
  Console.WriteLine(response.Content);
If your refresh token request is successful, you will receive an updated access_token and refresh_token. Use these to fetch data from our API or when refreshing your token.
If your request is successful, you will receive response as below:
{
  "access_token": "123456789-0123456-cB9GVU9PNCGosw0edOKNPF-9wmGdPwaOvaoR2ehdazR_2Xr_ZxySf2e2oDxiMGeMtGUGRYXjaCWVjinmKrdOxQj6k2Gcr4Bts-g55GOG3s1iLNVSf0wb2_ZApi4WuIBQddUIuJ9v8kYnUoHqap95XO1zCe4xzxQNebQrwss5AHpwRANI1deVaZWPS3dX6s0-5gHdKoO1utFRZAvl36b7HBUjsejWcq1HLZv2dwsjx8xX8M885B7qrfjRO305",  // updated access_token
  "token_type": "bearer",
  "expires_in": 3599,
  "refresh_token": "12345678-99ae-4aa6-a278-7aa1c36721c9",  // new refresh_token
  "userName": "youremail@gmail.com",
  "issued": "Mon, 22 Jan 2024 11:26:59 GMT",
  "expires": "Mon, 22 Jan 2024 12:26:59 GMT"
}
If the refresh token, provided by you was not correct; you will receive an error as below.
{
 "error": "invalid_grant"
}
If your access_token or refresh_token has expired or your API access rights have been revoked, you will receive the following error:
{
    "Message": "Authorization has been denied for this request."
}
The refresh token expires after 2 hours, while the access token expires after 1 hour. You must keep your refresh_token in order to refresh the access_token, and be able to generate a new access_token and refresh_token. If your refresh token gets expired, you will need to request a new one using your API registered email address and password as explained previously.

Calling Our Inventory API


APIDescription
GET api/v1.1/inventory/getInventoryList?pageNumber={pageNumber}&pageSize={pageSize}Retrieve the full inventory list with all v1.1 fields, including Emergency Lighting updates.
GET api/v1.1/inventory/get?productNumber={productNumber}Look up an individual product by product number and receive the expanded v1.1 field set.

Note: These endpoints reflect the latest version of our Inventory API. If you're still using a previous version, newly added fields may not appear in your responses. Please update your integration to ensure full compatibility with the current API features.

What Inventory Is Available?

All CSC LED products which are displayed on our website are available through this API. This includes clearance, end of life, or even inactive products. Should you wish to not include these products on your website, filter them out via the Clearance and Lifecycle Status fields included in the API.

Inventory Parameters

Available inventory information for your website.

NameDescriptionType
AmperageAmperagedecimal
BaseProducts base.string
Battery Amp HoursBattery amp hoursdecimal
Battery CapacityCapacity of the batterystring
Battery Recharge TimeTime required to recharge the batteryinteger
Battery TypeBattery type usedstring
Battery VoltageBattery voltagedecimal
BeamAngleProduct's beam angle.string
CartonHeightThe carton's height in inches.string
CartonLengthThe carton's length in inches.string
CartonWeightThe carton's weight.string
CartonWidthThe carton's width in inches.string
CertificationListedProduct's certifications.string
ColorTemperatureProduct's colour temperature.string
CRIProduct's CRI.string
CSCcULNumberProduct's cUL number.string
CSCDLCNumberProduct's DLC number.string
DepartmentCSC LED's department assignment.string
DimmableProduct's dimmable setting.string
EfficacyProduct's efficacy.string
FinishProduct's finish material.string
FinishColorProduct's finish colour.string
GTINProduct's GTIN.string
HighResolutionPhotosListThe URL paths for the product's high resolution photos.array
HousingProduct's housing material.string
IESFilesListThe URL paths for the product's IES files.array
InitialLumensProduct's initial lumens.string
IPRatingProduct's IP rating.string
IsClearanceIndicates whether the product is classified as clearance.boolean
Lamp Head MaterialMaterial used for the lamp head housingstring
Lamp Head WattsPower per lamp headinteger
Lamp Input VoltageInput voltage for lamp headsstring
LifecycleActiveDateThe date in which CSC LED released the product.string
LifecycleStatusCSC LED's assigned lifecycle status.string
LifeL70Product's Life (L70).string
LowResolutionPhotoURLThe URL path for the product's low resolution photo.string
MarketingMaterialsListThe URL paths for the product's Marketing Material files.array
MasterCartonHeightThe master carton's height in inches.string
MasterCartonLengthThe master carton's length in inches.string
MasterCartonWeightThe master carton's weight in pounds.string
MasterCartonWidthThe master carton's width in inches.string
Max Discharge TimeMaximum discharge timeinteger
MetaDescriptionThe product's meta description as created by CSC LED.string
MetaKeywordsThe product's meta keywords as assigned by CSC LED.string
Miscellaneous1URLThe URL path for the product's miscellaneous file 01.string
Miscellaneous2URLThe URL path for the product's miscellaneous file 02.string
MountingTypeProduct's mounting type.string
Number of Lamp HeadsNumber of individual lamp headsinteger
OperatingTemperatureProduct's operating temperature range in celcius.string
OperationInstructionsURLThe URL path for product's operation instruction file.string
OtherListThe URL paths for the product's files categorized as other.array
PowerCordLengthIncluded power cord length, if applicable.string
PowerFactorProduct's power factor.string
ProductDescriptionShort product description.string
ProductIdOur unique CSC LED product Id.integer
ProductNumberOur unique CSC LED product number.string
ProductSeriesThe CSC LED product series this product belongs to.string
ProductTypeCSC LED's product type classification.string
QtyPerCartonThe number of products within each carton.string
QtyPerMasterCartonThe number of cartons within each master carton.integer
QtyPerSkidThe number of products which can be stored on a single skid.string
SpecSheetFilesListThe URL paths for the product's Spec Sheet files.array
StockImmediateTotal available stock at AB, BC and ON warehouses.integer
StockOnHandTotal available stock at AB, BC and ON warehouses, inclusive of branch transfers.integer
SuggestedTradeSuggested trade unit price.decimal number
TechnicalDocumentsListThe URL paths for the product's Technical Document files.array
THDProduct's THD as percentage.string
Total LumensTotal light output producedinteger
TotalAvailableForSaleTotal available stock at AB, BC and ON warehouses, inclusive of branch transfers and incoming restock orders.integer
TradeSizeThe product's approximate size for website filtering.string
UnitGrossWeightThe product's gross weight.string
UnitHeightThe product's height in inches.string
UnitLengthThe product's length in inches.string
UnitWidthThe product's width in inches.string
UPCProduct's UPC.string
VoltageProduct's voltage.string
WattsProduct's wattage.string
WebsiteDescriptionProduct's full website description.string
WebsiteNameThe name of the product.string
YourPricePrice per unit.decimal number

Inventory API Changelog


DateVersionUpdate Summary
Oct 9, 2025v1.1
  • Updated endpoints to v1.1 for Inventory List and Product Details.
  • Added new Emergency Lighting fields, including battery and lamp head specifications (see full list in the Inventory Parameters section).
  • Token endpoint remains on v1 (unchanged).
  • You must use v1.1 to access the new fields. Version v1 does not include them.
Sept 1, 2020v1Initial release of Inventory API