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
| Name | Required? | Description |
|---|---|---|
| sellerid | Yes | Your seller ID on Newegg Marketplace |
Resource Information
| HTTP Method | Authentication? | Request Formats | Response Formats | Rate Limited? |
|---|---|---|---|---|
| POST | Required | XML, Json | XML, Json | 500 requests per 60 minutes |
Request Body
| Attribute | Required? | Format | Description |
|---|---|---|---|
| OperationType | Yes | String | Fixed value: EstimateShippingLabel |
| SellerID | Yes | String | Your seller ID on Newegg Marketplace |
| OrderNumber | Yes | Integer | Newegg 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. |
| ShippingCarrierCode | Yes | Integer | Shipping carrier: 100: Newegg Partnered Carrier (UPS) |
| ShippingServiceCode | No | Integer | 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. |
| ShipFromFirstName | Yes | String | First name of the ship-from contact. 1–30 characters. |
| ShipFromLastName | Yes | String | Last name of the ship-from contact. 1–30 characters. |
| ShipFromPhoneNumber | Yes | String | Phone number of the ship-from contact. 1–40 characters. |
| ShipFromAddress1 | Yes | String | Ship-from address line 1. 1–100 characters. |
| ShipFromAddress2 | No | String | Ship-from address line 2. Up to 100 characters. |
| ShipFromCityName | Yes | String | Ship-from city. 1–45 characters. |
| ShipFromStateCode | Yes | String | Ship-from state code. 1–50 characters. |
| ShipFromZipCode | Yes | String | Ship-from ZIP code. 1–20 characters. |
| ShipFromCountryCode | Yes | String | Ship-from country code. Must be USA. Both the ship-from and the ship-to address of the order must be in the USA. |
| PackageList | Yes | Object | List of packages. Contains one or more Package elements. |
| PackageWeight | Yes | Decimal | Package weight in pounds. Must be greater than 0 and cannot exceed 150 lbs. Values are truncated to two decimal places. |
| PackageLength | Yes | Decimal | Package length in inches. Must be greater than 0 and cannot exceed 108 inches. Values are truncated to two decimal places. |
| PackageHeight | Yes | Decimal | Package height in inches. Must be greater than 0. Values are truncated to two decimal places. |
| PackageWidth | Yes | Decimal | Package 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. |
| SignatureOptions | No | String | Set 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. |
| ItemList | No | Object | Items packed in this package. Contains one or more Item elements. |
| SellerPartNumber | Yes, if ItemList is provided | String | Seller part number of an item on the order. 1–40 characters. |
| Quantity | Yes, if ItemList is provided | Integer | Quantity 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
| Attribute | Format | Description |
|---|---|---|
| IsSuccess | Boolean | true when the estimate was returned. If the request is rejected, an error response is returned instead (see Request Failure Errors). |
| OperationType | String | Fixed value: EstimateShippingLabelResponse |
| SellerID | String | Your seller ID |
| OrderNumber | Integer | Newegg order number |
| EstimatedDate | String | Date of the estimate, in MM/dd/yyyy format |
| PackageList | Object | List of packages |
| PackageWeight | Decimal | Package weight |
| PackageLength | Decimal | Package length |
| PackageHeight | Decimal | Package height |
| PackageWidth | Decimal | Package width |
| SignatureOptions | String | Regular if signature on delivery is included in the estimate. Empty otherwise. |
| ProcessResult | String | Result 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). |
| ErrorMessage | String | Always empty. The XML response contains an empty element (<ErrorMessage><![CDATA[]]></ErrorMessage>). The Json response does not contain this field. |
| EstimatedRate | Object | Estimated charges of the package |
| EstimatedArriveBy | String | Estimated delivery date, in yyyy/MM/dd format |
| EstimatedShippingAmount | Decimal | Estimated shipping charge of the package |
| EstimatedSignatureOptions | Decimal | Estimated charge of the signature option |
| EstimatedTotal | Decimal | Estimated total charge of the package |
| EstimatedShipWeight | Decimal | Estimated 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 Code | Description |
|---|---|
| CE003 | The 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. |
| SL037 | This function is temporarily disabled, please update your credit card information then try again. |
| SO1019 | Invalid value for SignatureOptions. Please submit your request again with correct value. |
| SL002 | No data found or this {order number} does not belong to this seller |
| SL004 | Only shipped by seller orders can submit a shipping request. |
| SL010 | Cannot submit the request because seller part number(s):{seller part numbers} does NOT belong to this order. |
| SL005 | Seller Part #: {seller part number} must be shipped for its entire quantity on the order. |
| SO1015 | Cannot submit the request because currently only supports USA domestic transportation.Please revise the Ship From or Ship To information and try again. |
| SO1020 | This order has been {Void or Invoiced}. |
| SL007 | The 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. |
| SL008 | The 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. |
| SL009 | Package 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. |
| SO1018 | The 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. |
| SO1017 | The Shipping Label Service doesn't support the '{shipping service}' to {state}. |
| SL032 | No 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