Get Industry List

Get the list of industry that is currently on Newegg Marketplace. Response contains Industry Code and Industry Name.

Resource URL

Newegg.com: https://api.newegg.com/marketplace/sellermgmt/seller/industry?sellerid={sellerid}&industrycode={industrycode}
Neweggbusiness.com: https://api.newegg.com/marketplace/b2b/sellermgmt/seller/industry?sellerid={sellerid}&industrycode={industrycode}
Newegg.ca: https://api.newegg.com/marketplace/can/sellermgmt/seller/industry?sellerid={sellerid}&industrycode={industrycode}

Note: Please make sure your request URL is all in lower case (except for Seller ID) and cannot contain any blank spaces or line breaks.

Parameters

Name Required? Description
sellerid Yes Your seller ID on Newegg Marketplace
industrycode No Industry code

If you don’t specify this parameter, system will return all industries.

Resource Information

HTTP Method Authentication? Request Formats Response Formats Rate Limited?
Get Required XML, Json XML, Json 10,000 request per hour

Request Body

Example: XML, Request

GET https://api.newegg.com/marketplace/sellermgmt/seller/industry?sellerid={sellerid}
Authorization: 720ddc067f4d115bd544aff46bc75634
SecretKey: 21EC2020-3AEA-1069-A2DD-08002B30309D
Content-Type: application/xml
Accept: application/xml

Example: Json, Request

GET https://api.newegg.com/marketplace/sellermgmt/seller/industry?sellerid={sellerid}
Authorization: 720ddc067f4d115bd544aff46bc75634
SecretKey: 21EC2020-3AEA-1069-A2DD-08002B30309D
Content-Type: application/json
Accept: application/json

Response Body

Attribute Format Description
IsSuccess String Get feed status operation:

True: Successful
False: Not successful

SellerID String Your seller ID
IndustryCode String Newegg industry code
IndustryName String Newegg industry name

Schema: GetIndustryResponse.xsd

Example: XML, Response

<?xml version="1.0" encoding="utf-8"?>
<NeweggAPIResponse>
    <IsSuccess>true</IsSuccess>
    <OperationType>GetSellerIndustryResponse</OperationType>
    <SellerID>A006</SellerID>
    <ResponseBody>
        <IndustryList>
            <Industry>
                <IndustryCode>AP</IndustryCode>
                <IndustryName>Apparel</IndustryName>
            </Industry>
            <Industry>
                <IndustryCode>AL</IndustryCode>
                <IndustryName>Appliance</IndustryName>
            </Industry>
        </IndustryList>
    </ResponseBody>
</NeweggAPIResponse>

Example: Json, Response

{
    "IsSuccess": "true",
    "OperationType": "GetSellerIndustryResponse",
    "SellerID": "A006",
    "ResponseBody": {
        "IndustryList": [
            {
                "IndustryCode": "AP",
                "IndustryName": "Apparel"
            },
            {
                "IndustryCode": "AL",
                "IndustryName": "Appliance"
            }
        ]
    }
}

Request Failure Errors

For common HTTP error responses, please refer to Failed Response Error Code List.

Error Code Description
DF008 Invalid industry code [{0}].

Example: XML, Response

<?xml version="1.0" encoding="utf-8"?>
<Errors>
    <Error>
        <Code>DF008</Code>
        <Message>Invalid industry code ABC</Message>
    </Error>
</Errors>

Example: Json, Response

[
    {
        "Code": "DF008",
        "Message": "Invalid industry code ABC"
    }
]

Last updated: October 15, 2018