Newegg Developer Portal

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

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: CreateShippingLabel
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). The order status must be Unshipped, Partially Shipped, Shipped or Invoiced.
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 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.
ItemListYesObjectItems packed in this package. Contains one or more Item elements.
SellerPartNumberYesStringSeller part number of an item on the order. 1–40 characters.
QuantityYesIntegerQuantity 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

AttributeFormatDescription
IsSuccessBooleanAlways 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).
OperationTypeStringFixed value: CreateShippingLabelResponse
SellerIDStringYour seller ID
OrderNumberIntegerNewegg order number
ShipDateStringShip date, in MM/dd/yyyy format
PackageListObjectList of packages
TrackingNumberStringTracking number of the package. Not returned for a Fail package.
ProcessResultStringSuccess 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.
ErrorMessageStringReason of the failure. Returned only when ProcessResult is Fail. The text is not a fixed list.
SignatureOptionsStringRegular if signature on delivery is required for this package. Otherwise empty or omitted.
LabelUrlStringDownload link of the shipping label. Not returned for a Fail package.
PackingListUrlStringDownload link of the packing list. Not returned for a Fail package.
RateObjectCharges of the package. Not returned for a Fail package.
ShipWeightDecimalBillable weight of the package
ArriveByStringEstimated delivery date, in yyyy/MM/dd format
ShippingAmountDecimalShipping charge of the package
SignatureOptions (in Rate)DecimalCharge of the signature option
TotalDecimalTotal charge of the package
ItemListObjectItems in this package. Not returned for a Fail package whose items were already shipped.
SellerPartNumberStringSeller part number
QuantityIntegerQuantity 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 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.
SL027Invalid 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.
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.
SO011Only 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.
SO1015Cannot submit the request because currently only supports USA domestic transportation.Please revise the Ship From or Ship To information and try again.
SO1016Item {seller part numbers} has been shipped/void, please correct the package information and submit again.
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.
SO1014Invalid 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.
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>SL027</Code>
    <Message>Invalid request. You are not able to use Newegg Shipping Label Service before sign up. Please visit Newegg Seller Portal &gt; Shipped By Newegg &gt; SBN Service &gt; 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