Shipping Label Request for Newegg Orders
Sellers who fulfill their own Newegg Marketplace orders can use this API to buy Newegg Shipping Label Service (UPS) labels for an order and ship the packed items in one call. The response returns the tracking number, the shipping label and packing list download links, and the charges for each package.
Resource URL
Newegg.com: https://api.newegg.com/marketplace/shippingservice/shippinglabel/createshippinglabel?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: CreateShippingLabel |
| 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). The order status must be Unshipped, Partially Shipped, Shipped or Invoiced. |
| 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 if the carrier must obtain the recipient's signature on delivery. Leave empty or omit it if no signature is required. Any other value is rejected with error SO1019. |
| ItemList | Yes | Object | Items packed in this package. Contains one or more Item elements. |
| SellerPartNumber | Yes | String | Seller part number of an item on the order. 1–40 characters. |
| Quantity | Yes | 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/createshippinglabel?sellerid={sellerid}
Authorization: {your_authorization_key}
SecretKey: {your_secret_key}
Content-Type: application/xml
Accept: application/xml
<NeweggAPIRequest>
<OperationType>CreateShippingLabel</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/createshippinglabel?sellerid={sellerid}
Authorization: {your_authorization_key}
SecretKey: {your_secret_key}
Content-Type: application/json
Accept: application/json
{
"OperationType": "CreateShippingLabel",
"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 | Always true in a response that has a body. true does not mean every package succeeded. A request that is rejected returns an error response instead (see Request Failure Errors). |
| OperationType | String | Fixed value: CreateShippingLabelResponse |
| SellerID | String | Your seller ID |
| OrderNumber | Integer | Newegg order number |
| ShipDate | String | Ship date, in MM/dd/yyyy format |
| PackageList | Object | List of packages |
| TrackingNumber | String | Tracking number of the package. Not returned for a Fail package. |
| ProcessResult | String | Success or Fail. Not returned for a package whose label was bought in this request. Success is returned for a package that already had a label. Fail is returned for a package that failed. |
| ErrorMessage | String | Reason of the failure. Returned only when ProcessResult is Fail. The text is not a fixed list. |
| SignatureOptions | String | Regular if signature on delivery is required for this package. Otherwise empty or omitted. |
| LabelUrl | String | Download link of the shipping label. Not returned for a Fail package. |
| PackingListUrl | String | Download link of the packing list. Not returned for a Fail package. |
| Rate | Object | Charges of the package. Not returned for a Fail package. |
| ShipWeight | Decimal | Billable weight of the package |
| ArriveBy | String | Estimated delivery date, in yyyy/MM/dd format |
| ShippingAmount | Decimal | Shipping charge of the package |
| SignatureOptions (in Rate) | Decimal | Charge of the signature option |
| Total | Decimal | Total charge of the package |
| ItemList | Object | Items in this package. Not returned for a Fail package whose items were already shipped. |
| SellerPartNumber | String | Seller part number |
| Quantity | Integer | Quantity of this item in this package |
Example: XML, Response
<NeweggAPIResponse>
<IsSuccess>true</IsSuccess>
<OperationType>CreateShippingLabelResponse</OperationType>
<SellerID>ABCD</SellerID>
<ResponseBody>
<Shipment>
<OrderNumber>12345678</OrderNumber>
<ShipDate>01/15/2025</ShipDate>
<PackageList>
<Package>
<TrackingNumber>1Z0000000000000000</TrackingNumber>
<SignatureOptions>Regular</SignatureOptions>
<LabelUrl>https://www.example.com/shipping-label.pdf</LabelUrl>
<PackingListUrl>https://www.example.com/packing-list.pdf</PackingListUrl>
<Rate>
<ShipWeight>3</ShipWeight>
<ArriveBy>2025/01/20</ArriveBy>
<ShippingAmount>10.00</ShippingAmount>
<SignatureOptions>5.00</SignatureOptions>
<Total>15.00</Total>
</Rate>
<ItemList>
<Item>
<SellerPartNumber>SPN-001</SellerPartNumber>
<Quantity>1</Quantity>
</Item>
</ItemList>
</Package>
</PackageList>
</Shipment>
</ResponseBody>
</NeweggAPIResponse>
Example: Json, Response
{
"IsSuccess": true,
"OperationType": "CreateShippingLabelResponse",
"SellerID": "ABCD",
"ResponseBody": {
"Shipment": {
"OrderNumber": 12345678,
"ShipDate": "01/15/2025",
"PackageList": [
{
"TrackingNumber": "1Z0000000000000000",
"SignatureOptions": "Regular",
"LabelUrl": "https://www.example.com/shipping-label.pdf",
"PackingListUrl": "https://www.example.com/packing-list.pdf",
"Rate": {
"ShipWeight": 3,
"ArriveBy": "2025/01/20",
"ShippingAmount": 10.00,
"SignatureOptions": 5.00,
"Total": 15.00
},
"ItemList": [
{
"SellerPartNumber": "SPN-001",
"Quantity": 1
}
]
}
]
}
}
}
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. |
| SL027 | Invalid request. You are not able to use Newegg Shipping Label Service before sign up. Please visit Newegg Seller Portal > Shipped By Newegg > SBN Service > Newegg Shipping Label Service to sign up. |
| 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. |
| SO011 | Only unshipped orders can be shipped. The order status is currently {order status}. Returned when the order status is not Unshipped, Partially Shipped, Shipped or Invoiced, for example Voided. |
| SO1015 | Cannot submit the request because currently only supports USA domestic transportation.Please revise the Ship From or Ship To information and try again. |
| SO1016 | Item {seller part numbers} has been shipped/void, please correct the package information and submit again. |
| 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. |
| SO1014 | Invalid request. The submitted order #: {order number} was not shipped by Newegg shipping label or the shipping label was created using different function. Please verify your order or manually print your label at Seller Portal > Manage Order > Order List. |
| 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>SL027</Code>
<Message>Invalid request. You are not able to use Newegg Shipping Label Service before sign up. Please visit Newegg Seller Portal > Shipped By Newegg > SBN Service > Newegg Shipping Label Service to sign up.</Message>
</Error>
</Errors>
Example: Json, Response
[
{
"Code": "SL027",
"Message": "Invalid request. You are not able to use Newegg Shipping Label Service before sign up. Please visit Newegg Seller Portal > Shipped By Newegg > SBN Service > Newegg Shipping Label Service to sign up."
}
]
Last updated: July 10, 2025