Get Warehouse List

Get the available information of Newegg’s warehouses.

Resource URL

Newegg.com: https://api.newegg.com/marketplace/sbnmgmt/inboundshipment/warehouse?sellerid={sellerid}
Neweggbusiness.com: https://api.newegg.com/marketplace/b2b/sbnmgmt/inboundshipment/warehouse?sellerid={sellerid}

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

Resource Information

HTTP Method Authentication? Request Formats Response Formats Rate Limited?
PUT Required XML, Json XML, Json 1000 requests per min per client

Request Body

Attribute Required? Format Description
OperationType Yes String Fixed values: GetWarehouseRequest
WarehouseCode No Integer The warehouse code

Currently available Newegg warehouse code in united states:

06: Tennesse Bulk Warehouse
07: California Small Warehouse
08: California Bulk Item Warehouse
10: New Jersy Bulk Warehouse
14: New Jersy Small Warehouse

Schema: GetWarehouseListRequest.xsd

Example: XML, Request

PUT https://api.newegg.com/marketplace/b2b/sbnmgmt/inboundshipment/warehouse?sellerid={sellerid}
Authorization: 720ddc067f4d115bd544aff46bc75634
SecretKey: 21EC2020-3AEA-1069-A2DD-08002B30309D
Content-Type: application/xml
Accept: application/xml

<NeweggAPIRequest>
    <OperationType>GetWarehouseRequest</OperationType>
    <RequestBody>
        <WarehouseCode>10</WarehouseCode>
    </RequestBody>
</NeweggAPIRequest>

Example:  Json, Request

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

{
    "OperationType": "GetWarehouseRequest",
    "RequestBody": {
        "WarehouseCode": "10"
    }
}

Response Body

Attribute Format Description
IsSuccess String Get feed status operation:

True: Successful
False: Not successful

OperationType String Fixed value: GetWarehouseResponse
SellerID String Your seller ID
WarehouseCode String Available Newegg warehouses

Currently available Newegg warehouse code in united states:

06: Tennesse Bulk Warehouse
07: California Small Warehouse
08: California Bulk Item Warehouse
10: New Jersy Bulk Warehouse
14: New Jersy Small Warehouse

AllowBulkItem Integer This indicates this warehouse accepts bulk item:

0: No
1: Yes

AllowSmallItem Integer This indicates this warehouse accepts small item.

0: No
1: Yes

ShipToAddress1 String The ship to address1 of Newegg’s warehouse
ShipToAddress2 String The ship to address2 of Newegg’s warehouse
ShipToCityName String The ship to city name of Newegg’s warehouse
ShipToStateCode String The ship to state code of Newegg’s warehouse
ShipToZipCode String The zip code of Newegg’s warehouse
ShipToCountryCode String The country code of Newegg’s warehouse

Schema: GetWarehouseListResponse.xsd

Example: XML, Response

<?xml version="1.0" encoding="utf-8"?>
<NeweggAPIResponse>
    <IsSuccess>true</IsSuccess>
    <OperationType>GetWarehouseResponse</OperationType>
    <SellerID>V006</SellerID>
    <ResponseBody>
        <WarehouseList>
            <Warehouse>
                <WarehouseCode>10</WarehouseCode>
                <AllowBulkItem>0</AllowBulkItem>
                <AllowSmallItem>1</AllowSmallItem>
                <ShipToAddress1>
                    <![CDATA[4995 Citation Dr Suite 101,Dock 1-10]]>
                </ShipToAddress1>
                <ShipToCityName>Memphis</ShipToCityName>
                <ShipToStateCode>TN</ShipToStateCode>
                <ShipToZipCode>38118</ShipToZipCode>
                <ShipToCountryCode>USA</ShipToCountryCode>
            </Warehouse>
        </WarehouseList>
    </ResponseBody>
</NeweggAPIResponse>

Example: Json, Response

{
    "IsSuccess": true,
    "OperationType": "GetWarehouseResponse",
    "SellerID": "V006",
    "ResponseBody": {
        "WarehouseList": [
            {
                "WarehouseCode": "10",
                "AllowBulkItem": 0,
                "AllowSmallItem": 1,
                "ShipToAddress1": "4995 Citation Dr Suite 101,Dock 1-10",
                "ShipToCityName": "Memphis",
                "ShipToStateCode": "TN",
                "ShipToZipCode": "38118",
                "ShipToCountryCode": "USA"
            }
        ]
    }
}

Request Failure Errors

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

Last updated: October 15, 2018