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? | Maximum Size of Request |
POST | Required | XML, Json | XML, Json | 10 request per minute | Max: 10,000 records per 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. |
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 If no value is specified system will use default currency “CAD” for Newegg.ca and “USD” for Newegg.com and Neweggbusiness.com. |
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 | When Checkout MAP is marked as “True” AND the selling price is lower than MAP price then the selling price will not be displayed until the checkout process.
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:
|
LimitQuantity | No | Integer | Limit quantity represents the maximum quantity this item can be purchased by a customer within a 48 hour time period. The maximum value is 500. Note if the value is:
0: System will delete the existing value |
FulfillmentOption | No | String | Available value: “Newegg” or “Seller” |
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. 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> <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> <LimitQuantity>5</LimitQuantity> <FulfillmentOption>Seller</FulfillmentOption> <Shipping>free</Shipping> <ActivationMark>False</ActivationMark> <Currency>USD</Currency> <NeweggItemNumber>9SIawes01X1339</NeweggItemNumber> </Item> <Item> <SellerPartNumber>JACKETEST0921001003</SellerPartNumber> <SellingPrice>119.22</SellingPrice> <Inventory>189</Inventory> <LimitQuantity>2</LimitQuantity> <FulfillmentOption>Seller</FulfillmentOption> <Shipping>free</Shipping> <ActivationMark>False</ActivationMark> <Currency>USD</Currency> <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": { "Header": { "DocumentVersion": "1.0" }, "MessageType": "Inventory", "Overwrite": "No", "Message": { "Inventory": { "Item": [ { "SellerPartNumber": "JACKETEST0921001004", "SellingPrice": "127.92", "Inventory": "159", "LimitQuantity": "5", "FulfillmentOption": "Seller", "Shipping": "free", "ActivationMark": "False", "Currency": "USD", "NeweggItemNumber": "9SIawes01X1339" }, { "SellerPartNumber": "JACKETEST0921001003", "SellingPrice": "119.22", "Inventory": "189", "LimitQuantity": "2", "FulfillmentOption": "Seller", "Shipping": "free", "ActivationMark": "False", "Currency": "USD", "NeweggItemNumber": "9SIawes01X1338" } ] } } } }
Response Body
Attribute | Format | Description |
IsSuccess | String | Get feed status operation:
True: 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: August 28, 2020