Inventory And Price Feed

Batch update items inventory, price information, shipping, and/or activation.

Note: once an item has been deactivated, all price and inventory update requests shall be disregarded. You may update price
and inventory again when you re-activate your item.

Resource URL

This operation is designed for Neweggbusiness.com and Newegg.ca:

Neweggbusiness.com: https://api.newegg.com/marketplace/b2b/datafeedmgmt/feeds/submitfeed?sellerid={sellerid}&requesttype={RequestType}
Newegg.ca: https://api.newegg.com/marketplace/can/datafeedmgmt/feeds/submitfeed?sellerid={sellerid}&requesttype={RequestType}

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
RequestType Yes Value: INVENTORY_AND_PRICE_DATA

Resource Information

HTTP Method Authentication? Request Formats Response Formats Rate Limited?
POST Required XML, Json XML, Json Max. 10 requests per min per client

Note: Maximum Size of Request 10,000 records per file and each file. Limit 100,000 records per hour.

Request Body

Attribute Required? Format Description
DocumentVersion Yes Decimal Fixed value: 1.0
MessageType Yes String Fixed value: Inventory
Overwrite No String Available values:

Yes: Will have the added effect of deactivating all of your items from the website not listed on this datafeed.
No:  Keep overwrite to “No” if  you do not want to deactivate items not listed on this datafeed.

SellerPartNumber Yes String A seller-defined unique identifier for an item.

An alphanumeric string, max 40 characters including space.

Note: Once an item is created, this information cannot be updated.

NeweggItemNumber No String Newegg’s unique identifier for an item
Currency No String The form of money for all price related fields.

Available values:

USD: For Neweggbusiness.com platform
CAD: For Newegg.ca platform

If no value is specified system will use default currency “CAD” for Newegg.ca and “USD” for Newegg.com and Neweggbusiness.com.

MSRP No Decimal The manufacturer’s suggested retail price (MSRP) or list price for item.

Format: 10 digits allowed to the left of the decimal point and 2 digits to the right of the decimal point. Please do not use commas or dollar signs.

If you want to remove MSRP, input “0.00” or  “0”.

If null, no change to current setting.

MAP No Decimal Dictates the “minimum advertised price” for item.

Format: 10 digits allowed to the left of the decimal point and 2 digits to the right of the decimal point. Please do not use commas or dollar signs.

If the Selling Price is below the defined MAP, the website will ask customer to add item to shopping cart to see the item’s price.

If you want to remove MAP, input “0.00” or “0”.

If null, no change to current setting.

CheckoutMAP No String Regardless the Selling Price and the value inputted in MAP field, if the Checkout MAP is marked as “True”, then the website will ask customer to add item to shopping cart AND go to checkout page to see the item’s price.

Available values: “True” or “False”

SellingPrice No Decimal The actual price at which the item is offered for sale.

Format: 10 digits allowed to the left of the decimal point and 2 digits to the right of the decimal point. Please do not use commas or dollar signs.

Inventory Yes Integer The inventory quantity available for default warehouse location:

  • Neweggbusiness.com platform default is USA warehouse
  • Newegg.ca platform default is CAN warehouse
FulfillmentOption No String Available value: Merchant
Shipping Yes String The shipping charge setting for item.

Available values: “Default” or “Free”

Shipping charge for “Default” setting is determined by seller’s shipping rate setting at Newegg Seller Portal > Manage Account > Shipping Settings.

ActivationMark No String Available values:

True: Activate item, the product will be listed for sale at Newegg website.
False: Deactivate item, the product will be hidden/offline, not for sale at Newegg website.

If Null, system will do nothing, no change to current item active/deactivate status.

Note: If Newegg Seller account status is “Inactive”, all items will be offline.  To have option to “Active” item, the account status should be “Active”.  Please contact  datafeeds@newegg.com for details.

Schema: Inventory.xsd

Example: XML, Request

POST https://api.newegg.com/marketplace/b2b/datafeedmgmt/feeds/submitfeed?sellerid={sellerid}&requesttype=INVENTORY_AND_PRICE_DATA
Authorization: 720ddc067f4d115bd544aff46bc75634
SecretKey: 21EC2020-3AEA-1069-A2DD-08002B30309D
Content-Type: application/xml
Accept: application/xml

<NeweggEnvelope xsi:noNamespaceSchemaLocation="Inventory.xsd"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <Header>
        <DocumentVersion>1.0</DocumentVersion>
    </Header>
    <MessageType>Inventory</MessageType>
    <Overwrite>No</Overwrite>
    <Message>
        <Inventory>
            <Item>
                <SellerPartNumber>JACKETEST0921001004</SellerPartNumber>
                <SellingPrice>127.92</SellingPrice>
                <Inventory>159</Inventory>
                <FulfillmentOption>Merchant</FulfillmentOption>
                <Shipping>free</Shipping>
                <ActivationMark>False</ActivationMark>
                <Currency>USD</Currency>
                <MSRP>129.99</MSRP>
                <NeweggItemNumber>9SIawes01X1339</NeweggItemNumber>
            </Item>
            <Item>
                <SellerPartNumber>JACKETEST0921001003</SellerPartNumber>
                <SellingPrice>119.22</SellingPrice>
                <Inventory>189</Inventory>
                <FulfillmentOption>Merchant</FulfillmentOption>
                <Shipping>free</Shipping>
                <ActivationMark>False</ActivationMark>
                <Currency>USD</Currency>
                <MSRP>139.99</MSRP>
                <NeweggItemNumber>9SIawes01X1338</NeweggItemNumber>
            </Item>
        </Inventory>
    </Message>
</NeweggEnvelope>

Example: Json, Request

POST https://api.newegg.com/marketplace/b2b/datafeedmgmt/feeds/submitfeed?sellerid={sellerid}&requesttype=INVENTORY_AND_PRICE_DATA
Authorization: 720ddc067f4d115bd544aff46bc75634
SecretKey: 21EC2020-3AEA-1069-A2DD-08002B30309D
Content-Type: application/json
Accept: application/json

{
    "NeweggEnvelope": {
        "-xsi:noNamespaceSchemaLocation": "Inventory.xsd",
        "-xmlns:xsi": "http://www.w3.org/2001/XMLSchema-instance",
        "Header": {
            "DocumentVersion": "1.0"
        },
        "MessageType": "Inventory",
        "Overwrite": "No",
        "Message": {
            "Inventory": {
                "Item": [
                    {
                        "SellerPartNumber": "JACKETEST0921001004",
                        "SellingPrice": "127.92",
                        "Inventory": "159",
                        "FulfillmentOption": "Merchant",
                        "Shipping": "free",
                        "ActivationMark": "False",
                        "Currency": "USD",
                        "MSRP": "129.99",
                        "NeweggItemNumber": "9SIawes01X1339"
                    },
                    {
                        "SellerPartNumber": "JACKETEST0921001003",
                        "SellingPrice": "119.22",
                        "Inventory": "189",
                        "FulfillmentOption": "Merchant",
                        "Shipping": "free",
                        "ActivationMark": "False",
                        "Currency": "USD",
                        "MSRP": "139.99",
                        "NeweggItemNumber": "9SIawes01X1338"
                    }
                ]
            }
        }
    }
}

Response Body

Attribute Format Description
IsSuccess String Get feed status operation:

True: Successful
False: Not successful

OperationType String Fixed value: SubmitFeedResponse
SellerID String Your seller ID
RequestType String Value: INVENTORY_AND_PRICE_DATA
RequestDate String The date when the feed was submitted. (Pacific Standard Time)
RequestStatus String The status of the feed submission:

SUBMITTED

Memo String Additional Information

Schema: SubmitFeedResponse.xsd

Example: XML, Response

<?xml version="1.0" encoding="utf-8"?>
<NeweggAPIResponse>
    <IsSuccess>true</IsSuccess>
    <OperationType>SubmitFeedResponse</OperationType>
    <SellerID>A006</SellerID>
    <ResponseBody>
        <ResponseList>
            <ResponseInfo>
                <RequestId>2291326430</RequestId>
                <RequestType>INVENTORY_AND_PRICE_DATA</RequestType>
                <RequestDate>2/16/2012 12:29:19</RequestDate>
                <RequestStatus>SUBMITTED</RequestStatus>
            </ResponseInfo>
        </ResponseList>
    </ResponseBody>
    <Memo />
</NeweggAPIResponse>

Example: Json, Response

{
    "IsSuccess": true,
    "OperationType": "SubmitFeedResponse",
    "ResponseBody": {
        "ResponseList": [
            {
                "RequestDate": "2/22/2012 17:24:35",
                "RequestId": "2PQCX3CMQ82MK",
                "RequestStatus": "SUBMITTED",
                "RequestType": "INVENTORY_AND_PRICE_DATA"
            }
        ]
    },
    "SellerID": "A006"
}

Request Failure Errors

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

Error Code Description
DF003 The MaxCount (maximum request records) CANNOT be over 30000.
DF004 Unfortunately, we are unable to process your request at this time. We apologize for the inconvenience. Please try again later.
DF011 Your data feed request will not be processed during the scheduled data feed processing restriction from [{begin timestamp: hh:mm:ss, MM/DD/YYYY}] to [{end timestamp: hh:mm:ss, MM/DD/YYYY}]). Please contact datafeeds@newegg.com if you have any question or concern. Thank you for your patience.

Example: XML, Response

<?xml version="1.0" encoding="utf-8"?>
<Errors>
    <Error>
        <Code>DF003</Code>
        <Message>The MaxCount (maximum request records) CANNOT be over 30000</Message>
    </Error>
</Errors>

Example: Json, Response

{
    "Code": "DF003",
    "Message": "The MaxCount (maximum request records) CANNOT be over 30000"
}

Last updated: October 15, 2018