Update Inventory and Price

Update items inventory, price information, shipping and status.

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/contentmgmt/item/inventoryandprice?sellerid={sellerid}
Newegg.ca: https://api.newegg.com/marketplace/can/contentmgmt/item/inventoryandprice?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 10,000 request per hour

Request Body

Attribute Required? Format Description
Type Yes Integer Available values:

  • 0: NE Item #
  • 1: Seller Part #
  • 2: UPC
Value Yes String A string according to inquiry type
Inventory No Integer Inventory available quantity
You’re not able to update the inventory for a SBN (Shipped by Newegg) item.
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.
MAP No Decimal Minimum Advertised Price. If the Selling Price is below the defined MAP, 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” in this field.
If null, no change to current setting.
CheckoutMAP No Integer When Checkout MAP is marked as “1” AND the selling price is lower than MAP price then the selling price will not be displayed until the checkout process.
Available values:

  • 0: False
  • 1: True
SellingPrice No Decimal The actual selling price
The selling price cannot be greater than MSRP
EnableFreeShipping No Integer Available values:

  • 0: Default
  • 1: Free Shipping
Active No Integer Available values:

  • 1: Activate item
  • 0: Deactivate item

Null = Ignore this action, no change to current item active/deactivate setting

Condition No Integer Available values:

  • 1: New (default)
  • 2: Refurbished
  • 3: Used – Like New
  • 4: Used – Very Good
  • 5: Used – Good
  • 6: Used – Acceptable

Only applies if type = [2-UPC code]. If type does not = [2-UPC code], then this column will be disregarded.

FulfillmentOption No Integer Available values:

  • 0: Ship Seller
  • 1: Ship by Newegg
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
  • null: No update

Schema: UpdateInventoryandPriceRequest.xsd

Example: XML, Request

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

<ItemInventoryAndPriceInfo>
    <Type>1</Type>
    <Value>A006BSP3</Value>
    <Inventory>20</Inventory>
    <MAP>230</MAP>
    <CheckoutMAP>0</CheckoutMAP>
    <SellingPrice>200</SellingPrice>
    <EnableFreeShipping>1</EnableFreeShipping>
    <Active>0</Active>
    <FulfillmentOption>1</FulfillmentOption>
    <LimitQuantity>1</LimitQuantity>
</ItemInventoryAndPriceInfo>

Example: Json, Request

PUT https://api.newegg.com/marketplace/b2b/contentmgmt/item/inventoryandprice?sellerid={SellerID}
Authorization: 720ddc067f4d115bd544aff46bc75634
SecretKey: 21EC2020-3AEA-1069-A2DD-08002B30309D
Accept: application/json
Content-Type: application/json

{
    "Type": "1",
    "Value": "A006BSP3",
    "Inventory": "20",
    "MAP": "230",
    "CheckoutMAP": "0",
    "SellingPrice": "200",
    "EnableFreeShipping": "1",
    "Active": "0",
    "FulfillmentOption": "1",
    "LimitQuantity": "1"
}

Response Body

Attribute Format Description
Result Integer Used to identify whether the current request of service is successful or not.
Available values:

  • 0: Failure
  • 1: Success
SellerID String Your seller ID
ItemNumber String Newegg Item#
SellerPartNumber String Seller Part#
FulfillmentOption Integer Available values:

  • 0: Ship by Seller
  • 1: Ship by Newegg
Active Integer Available values:

  • 0: Inactive
  • 1: Active
AvailableQuantity Integer Total available inventory
When an item is converted using SBN, the available quantity will be updated to 0 until Newegg warehouse received new shipment.
MAP Decimal Minimum Advertised Price. If the Selling Price is below the defined MAP, website will ask customer to add item to shopping cart to see the item’s price.
CheckoutMAP integer Available values:

0: False
1: True

  • If 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. The MAP value will not be considered.
  • Another words, if this field is marked as true, it doesn’t matter if the selling price is above or below MAP, the customer will always need to add item to cart and go to checkout to see item’s price.
  • If MAP is greater than 0.00 and CheckoutMAP is left blank, by default CheckoutMAP will equal False.
SellingPrice Decimal The actual selling price
EnableFreeShipping Integer Available values:

  • 0: Default
  • 1: Free Shipping
LimitQuantity 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
  • null: No update

Schema: UpdateInventoryandPriceResponse.xsd

Example: XML, Response

<?xml version="1.0" encoding="utf-8"?>
<UpdateInventoryAndPriceResult>
    <SellerID>V006</SellerID>
    <ItemNumber>9SIA00607Y6476</ItemNumber>
    <SellerPartNumber>A006BSP3</SellerPartNumber>
    <FulfillmentOption>0</FulfillmentOption>
    <Active>0</Active>
    <Result>1</Result>
    <AvailableQuantity>20</AvailableQuantity>
    <MAP>230</MAP>
    <CheckoutMAP>0</CheckoutMAP>
    <SellingPrice>250</SellingPrice>
    <EnableFreeShipping>1</EnableFreeShipping>
    <LimitQuantity>1</LimitQuantity>
</UpdateInventoryAndPriceResult>

Example: Json, Response

{
  "UpdateInventoryAndPriceResult": {
    "SellerID": "V006",
    "ItemNumber": "9SIA00607Y6476",
    "SellerPartNumber": "A006BSP3",
    "FulfillmentOption": "0",
    "Active": "0",
    "Result": "1",
    "AvailableQuantity": "20",
    "MAP": "230",
    "CheckoutMAP": "0",
    "SellingPrice": "250",
    "EnableFreeShipping": "1",
    "LimitQuantity": "1"
  }
}

Request Failure Errors

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

Error Code Description
CT001 Invalid ItemNumber
CT002 Invalid SellerPartNumber
CT003 Invalid UPCCode
CT005 Invalid Action Type. We only support: 0 – NE Item#, 1 – Seller Parts#, 2 – UPC Code
CT004 Item under review, you cannot activate.
CT006 Invalid MSRP. The range should be between 0-99999.99
CT007 Invalid Selling Price. The range should be between 0-99999.99
CT008 Invalid Shipping type. We only support: 0 – default, 1 – free shipping
CT009 Cannot activate item by restricted manufacturer – {0}[({1}){2}].
CT010 Cannot find item with specified item condition.
CT014 SellerItemNumber or SellerPartNumber does not exist
CT015 Item does not belong to this seller
CT016 The item: [SellerPart#] is locked for an on-going/upcoming promotion. CANNOT update the Shipping. Please note: the inventory or minimum purchase quantity update will NOT be affected.
CT019 The item: [SellerPart#] is locked for an on-going/upcoming promotion. CANNOT update the Selling Price. Please note: the inventory or minimum purchase quantity update will NOT be affected.
CT022 This item is Shipping by Newegg. Can NOT update inventory
CT023 Inventory value must be between 0 and 999999
CT025 This item is an approved promotion and its minimum inventory cannot be lower than {0}
CT028 Invalid Active Mark. We only support: 0 – deactivate item, 1 – activate item
CT029 The selling price {selling price} cannot be greater than MSRP {MSRP}.
CT030 MAP price should be decimal with 2 digitals. The range should be between 0-99999.99.
CT031 Invalid CheckoutMAP value. We only support: 0 – False, 1 – True.
CT032 The selling price cannot be 0.
CT043 The item cannot be active because of one of the following reasons:1.Does not exist 2.Breaks the price rule 3.No image
CT044 The item cannot be deactivated because of an on-going/upcoming promotion that is locked by Newegg. Please note: the inventory or minimum purchase quantity update will NOT be affected.
CT045 Item was automatically deactivated due to 7 days out of stock and cannot be reactivated with 0 inventory.
CT047 Cannot convert Seller Part # [SellerPart#] to [the original request value of either ship by seller/ship by Newegg] because of scheduled/ongoing promotion(s). Please close promotion(s) first then submit your request again
CT050 Item Activation Failed. Strict MAP enforced: ${0} – Selling Price must be greater than or equal to strict MAP. Please contact your account manager for more information.
CT051 The update submitted for seller part #: {SellerPart#} cannot be processed because the item is currently deactivated.
CT052 This item cannot be activate because of the subcategory had been disabled for your account.
CT053 This item now matches a restricted item and cannot be activated. All other updates will be processed.
CT055 This is a duplicated request for Seller Part #: [seller part #]. This item does not exist in Newegg so we are not able to process your request. We will resume the process of price and inventory update for this item 8 hours after [last failed timestamp].
CT056 Request has been processed. Warning: The item: [{seller part#}] is a Subscribe & Save item but currently either deactivated or out of stock. Any order with existing subscription will NOT be processed.
CT065 Invalid Selling Price. The Selling Price should be greater than the existing 1st tier volume discount unit price: [{0}]

Example: XML, Response

<?xml version="1.0" encoding="utf-8"?>
<Errors>
    <Error>
        <Code>CE003</Code>
        <Message> The 'Type' element is invalid - The value 'a' is invalid according to its
datatype 'Int' - The string 'a' is not a valid Int32 value.</Message>
    </Error>
</Errors>

Example: Json, Response

[
    {
        "Code": "CT002",
        "Message": "Invalid SellerPartNumber"
    }
]

Last updated: August 28, 2020