Newegg Developer Portal

Shipping Label Estimate Request for Newegg Orders

Sellers who fulfill their own Newegg Marketplace orders can use this API to get the estimated Newegg Shipping Label Service (UPS) charge and delivery date for each package before they buy the label. This request only returns an estimate. It does not create a label or change the order.

Resource URL

Newegg.com: https://api.newegg.com/marketplace/shippingservice/shippinglabel/estimateshippinglabel?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

NameRequired?Description
selleridYesYour seller ID on Newegg Marketplace

Resource Information

HTTP MethodAuthentication?Request FormatsResponse FormatsRate Limited?
POSTRequiredXML, JsonXML, Json500 requests per 60 minutes

Request Body

AttributeRequired?FormatDescription
OperationTypeYesStringFixed value: EstimateShippingLabel
SellerIDYesStringYour seller ID on Newegg Marketplace
OrderNumberYesIntegerNewegg order number. The order must belong to you and must be a Newegg Marketplace order fulfilled by the seller (not Shipped by Newegg). Void and Invoiced orders cannot be estimated.
ShippingCarrierCodeYesInteger

Shipping carrier:

100: Newegg Partnered Carrier (UPS)

ShippingServiceCodeNoInteger

Shipping service:

101: UPS Ground

102: UPS 3 days

103: UPS 2nd Day Air

104: UPS Next Day Air Saver

105: UPS Next Day Air

If this field is not provided, the shipping service code of the order is used. A value that does not map to a UPS service on Newegg.com is rejected with error SO1018. SO1018 is also returned when the order's own shipping service code does not map to a UPS service.

ShipFromFirstNameYesStringFirst name of the ship-from contact. 1–30 characters.
ShipFromLastNameYesStringLast name of the ship-from contact. 1–30 characters.
ShipFromPhoneNumberYesStringPhone number of the ship-from contact. 1–40 characters.
ShipFromAddress1YesStringShip-from address line 1. 1–100 characters.
ShipFromAddress2NoStringShip-from address line 2. Up to 100 characters.
ShipFromCityNameYesStringShip-from city. 1–45 characters.
ShipFromStateCodeYesStringShip-from state code. 1–50 characters.
ShipFromZipCodeYesStringShip-from ZIP code. 1–20 characters.
ShipFromCountryCodeYesStringShip-from country code. Must be USA. Both the ship-from and the ship-to address of the order must be in the USA.
PackageListYesObjectList of packages. Contains one or more Package elements.
PackageWeightYesDecimalPackage weight in pounds. Must be greater than 0 and cannot exceed 150 lbs. Values are truncated to two decimal places.
PackageLengthYesDecimalPackage length in inches. Must be greater than 0 and cannot exceed 108 inches. Values are truncated to two decimal places.
PackageHeightYesDecimalPackage height in inches. Must be greater than 0. Values are truncated to two decimal places.
PackageWidthYesDecimalPackage width in inches. Must be greater than 0. Package Length + 2 x Package Width + 2 x Package Height cannot exceed 165 inches. Values are truncated to two decimal places.
SignatureOptionsNoStringSet to Regular to include the charge for signature on delivery. Leave empty or omit it if no signature is required. Any other value is rejected with error SO1019.
ItemListNoObjectItems packed in this package. Contains one or more Item elements.
SellerPartNumberYes, if ItemList is providedStringSeller part number of an item on the order. 1–40 characters.
QuantityYes, if ItemList is providedIntegerQuantity of this item in this package. Must be greater than 0. For each seller part number, the total quantity across all packages must equal the quantity on the order.

Example: XML, Request

POST https://api.newegg.com/marketplace/shippingservice/shippinglabel/estimateshippinglabel?sellerid={sellerid}
Authorization: {your_authorization_key}
SecretKey: {your_secret_key}
Content-Type: application/xml
Accept: application/xml

<NeweggAPIRequest>
  <OperationType>EstimateShippingLabel</OperationType>
  <SellerID>ABCD</SellerID>
  <RequestBody>
    <Shipment>
      <OrderNumber>12345678</OrderNumber>
      <ShippingCarrierCode>100</ShippingCarrierCode>
      <ShippingServiceCode>101</ShippingServiceCode>
      <ShipFromFirstName>FirstName</ShipFromFirstName>
      <ShipFromLastName>LastName</ShipFromLastName>
      <ShipFromPhoneNumber>000-000-0000</ShipFromPhoneNumber>
      <ShipFromAddress1>Address Line 1</ShipFromAddress1>
      <ShipFromAddress2>Address Line 2</ShipFromAddress2>
      <ShipFromCityName>City</ShipFromCityName>
      <ShipFromStateCode>CA</ShipFromStateCode>
      <ShipFromZipCode>12345</ShipFromZipCode>
      <ShipFromCountryCode>USA</ShipFromCountryCode>
      <PackageList>
        <Package>
          <PackageWeight>2.5</PackageWeight>
          <PackageLength>10</PackageLength>
          <PackageHeight>6</PackageHeight>
          <PackageWidth>8</PackageWidth>
          <SignatureOptions>Regular</SignatureOptions>
          <ItemList>
            <Item>
              <SellerPartNumber>SPN-001</SellerPartNumber>
              <Quantity>1</Quantity>
            </Item>
          </ItemList>
        </Package>
      </PackageList>
    </Shipment>
  </RequestBody>
</NeweggAPIRequest>

Example: Json, Request

POST https://api.newegg.com/marketplace/shippingservice/shippinglabel/estimateshippinglabel?sellerid={sellerid}
Authorization: {your_authorization_key}
SecretKey: {your_secret_key}
Content-Type: application/json
Accept: application/json

{
  "OperationType": "EstimateShippingLabel",
  "SellerID": "ABCD",
  "RequestBody": {
    "Shipment": {
      "OrderNumber": 12345678,
      "ShippingCarrierCode": 100,
      "ShippingServiceCode": 101,
      "ShipFromFirstName": "FirstName",
      "ShipFromLastName": "LastName",
      "ShipFromPhoneNumber": "000-000-0000",
      "ShipFromAddress1": "Address Line 1",
      "ShipFromAddress2": "Address Line 2",
      "ShipFromCityName": "City",
      "ShipFromStateCode": "CA",
      "ShipFromZipCode": "12345",
      "ShipFromCountryCode": "USA",
      "PackageList": {
        "Package": [
          {
            "PackageWeight": 2.5,
            "PackageLength": 10,
            "PackageHeight": 6,
            "PackageWidth": 8,
            "SignatureOptions": "Regular",
            "ItemList": {
              "Item": [
                {
                  "SellerPartNumber": "SPN-001",
                  "Quantity": 1
                }
              ]
            }
          }
        ]
      }
    }
  }
}

Response Body

AttributeFormatDescription
IsSuccessBooleantrue when the estimate was returned. If the request is rejected, an error response is returned instead (see Request Failure Errors).
OperationTypeStringFixed value: EstimateShippingLabelResponse
SellerIDStringYour seller ID
OrderNumberIntegerNewegg order number
EstimatedDateStringDate of the estimate, in MM/dd/yyyy format
PackageListObjectList of packages
PackageWeightDecimalPackage weight
PackageLengthDecimalPackage length
PackageHeightDecimalPackage height
PackageWidthDecimalPackage width
SignatureOptionsStringRegular if signature on delivery is included in the estimate. Empty otherwise.
ProcessResultStringResult of the package. Always Success in a returned estimate. If the estimate cannot be made, an error response is returned instead (see Request Failure Errors).
ErrorMessageStringAlways empty. The XML response contains an empty element (<ErrorMessage><![CDATA[]]></ErrorMessage>). The Json response does not contain this field.
EstimatedRateObjectEstimated charges of the package
EstimatedArriveByStringEstimated delivery date, in yyyy/MM/dd format
EstimatedShippingAmountDecimalEstimated shipping charge of the package
EstimatedSignatureOptionsDecimalEstimated charge of the signature option
EstimatedTotalDecimalEstimated total charge of the package
EstimatedShipWeightDecimalEstimated billable weight of the package

Example: XML, Response

<NeweggAPIResponse>
  <IsSuccess>true</IsSuccess>
  <OperationType>EstimateShippingLabelResponse</OperationType>
  <SellerID>ABCD</SellerID>
  <ResponseBody>
    <Shipment>
      <OrderNumber>12345678</OrderNumber>
      <EstimatedDate>01/15/2025</EstimatedDate>
      <PackageList>
        <Package>
          <PackageWeight>2.5</PackageWeight>
          <PackageLength>10</PackageLength>
          <PackageHeight>6</PackageHeight>
          <PackageWidth>8</PackageWidth>
          <SignatureOptions>Regular</SignatureOptions>
          <ProcessResult>Success</ProcessResult>
          <ErrorMessage><![CDATA[]]></ErrorMessage>
          <EstimatedRate>
            <EstimatedArriveBy>2025/01/20</EstimatedArriveBy>
            <EstimatedShippingAmount>10.00</EstimatedShippingAmount>
            <EstimatedSignatureOptions>5.00</EstimatedSignatureOptions>
            <EstimatedTotal>15.00</EstimatedTotal>
            <EstimatedShipWeight>3</EstimatedShipWeight>
          </EstimatedRate>
        </Package>
      </PackageList>
    </Shipment>
  </ResponseBody>
</NeweggAPIResponse>

Example: Json, Response

{
  "IsSuccess": true,
  "OperationType": "EstimateShippingLabelResponse",
  "SellerID": "ABCD",
  "ResponseBody": {
    "Shipment": {
      "OrderNumber": 12345678,
      "EstimatedDate": "01/15/2025",
      "PackageList": {
        "Package": [
          {
            "PackageWeight": 2.5,
            "PackageLength": 10,
            "PackageHeight": 6,
            "PackageWidth": 8,
            "SignatureOptions": "Regular",
            "ProcessResult": "Success",
            "EstimatedRate": {
              "EstimatedArriveBy": "2025/01/20",
              "EstimatedShippingAmount": 10.00,
              "EstimatedSignatureOptions": 5.00,
              "EstimatedTotal": 15.00,
              "EstimatedShipWeight": 3
            }
          }
        ]
      }
    }
  }
}

Request Failure Errors

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

Error CodeDescription
CE003The request body failed XML/Json parsing or schema validation, or the partnered carrier rejected the ship-from or ship-to address. The message contains the detailed reason.
SL037This function is temporarily disabled, please update your credit card information then try again.
SO1019Invalid value for SignatureOptions. Please submit your request again with correct value.
SL002No data found or this {order number} does not belong to this seller
SL004Only shipped by seller orders can submit a shipping request.
SL010Cannot submit the request because seller part number(s):{seller part numbers} does NOT belong to this order.
SL005Seller Part #: {seller part number} must be shipped for its entire quantity on the order.
SO1015Cannot submit the request because currently only supports USA domestic transportation.Please revise the Ship From or Ship To information and try again.
SO1020This order has been {Void or Invoiced}.
SL007The value in the field: PackageWeight cannot exceed 150 lbs. (70 kg) when using Newegg Partnered Carrier service (ShippingCarrierCode: 100). For more detail, please review Newegg API Development Guide.
SL008The value in the field: PackageLength cannot exceed 108 inches (270 cm) when using Newegg Partnered Carrier service (ShippingCarrierCode: 100). For more detail, please review Newegg API Development Guide.
SL009Package size cannot exceed 165 inches (419 cm) in (Package Length + 2x Package Width + 2x Package Height) when using Newegg Partnered Carrier service (ShippingCarrierCode: 100). For more detail, please review Newegg API Development Guide.
SO1018The ShippingServiceCode is not a valid value. Please check the document for available values. Also returned when ShippingServiceCode is omitted and the shipping service code of the order does not map to a UPS service.
SO1017The Shipping Label Service doesn't support the '{shipping service}' to {state}.
SL032No shipping service is available to fulfill this order from your preferred shipping carrier. Please consider using other shipping carrier.

Example: XML, Response

<?xml version="1.0" encoding="utf-8"?>
<Errors>
  <Error>
    <Code>SO1020</Code>
    <Message>This order has been Void.</Message>
  </Error>
</Errors>

Example: Json, Response

[
  {
    "Code": "SO1020",
    "Message": "This order has been Void."
  }
]

Last updated: July 10, 2025