Newegg Developer Portal

Shipping Label Reprint Request

Sellers who have shipped a Newegg Marketplace order with Newegg Shipping Label Service can use this API to get the shipping labels and packing lists of that order again. The response returns the tracking number, the label and packing list download links, and the items of each package. This request does not create a new label or change the order.

Resource URL

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

Example: XML, Request

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

<NeweggAPIRequest>
  <OperationType>ReprintShippingLabel</OperationType>
  <SellerID>ABCD</SellerID>
  <RequestBody>
    <Shipment>
      <OrderNumber>12345678</OrderNumber>
    </Shipment>
  </RequestBody>
</NeweggAPIRequest>

Example: Json, Request

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

{
  "OperationType": "ReprintShippingLabel",
  "SellerID": "ABCD",
  "RequestBody": {
    "Shipment": {
      "OrderNumber": 12345678
    }
  }
}

Response Body

AttributeFormatDescription
OperationTypeStringFixed value: ReprintShippingLabelResponse
SellerIDStringYour seller ID
OrderNumberIntegerNewegg order number
OrderStatusString

Current status of the order:

Unshipped

Partially Shipped

Shipped

Invoiced

Void

ErrorMessageStringReturned when no package of this order was shipped with Newegg Shipping Label Service. Message: 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.
PackageListObjectList of packages shipped with Newegg Shipping Label Service
TrackingNumberStringTracking number of the package
SignatureOptionsStringRegular if signature on delivery is required for this package
LabelUrlStringDownload link of the shipping label
PackingListUrlStringDownload link of the packing list
ItemListObjectItems in this package
SellerPartNumberStringSeller part number
QuantityIntegerQuantity of this item in this package

Example: XML, Response

<NeweggAPIResponse>
  <OperationType>ReprintShippingLabelResponse</OperationType>
  <SellerID>ABCD</SellerID>
  <ResponseBody>
    <Shipment>
      <OrderNumber>12345678</OrderNumber>
      <OrderStatus>Shipped</OrderStatus>
      <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>
          <ItemList>
            <Item>
              <SellerPartNumber>SPN-001</SellerPartNumber>
              <Quantity>1</Quantity>
            </Item>
          </ItemList>
        </Package>
      </PackageList>
    </Shipment>
  </ResponseBody>
</NeweggAPIResponse>

Example: Json, Response

{
  "OperationType": "ReprintShippingLabelResponse",
  "SellerID": "ABCD",
  "ResponseBody": {
    "Shipment": {
      "OrderNumber": 12345678,
      "OrderStatus": "Shipped",
      "PackageList": [
        {
          "TrackingNumber": "1Z0000000000000000",
          "SignatureOptions": "Regular",
          "LabelUrl": "https://www.example.com/shipping-label.pdf",
          "PackingListUrl": "https://www.example.com/packing-list.pdf",
          "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. The message contains the detailed reason.
SL037This function is temporarily disabled, please update your credit card information then try again.
SL002No data found or this {order number} does not belong to this seller
SL004Only shipped by seller orders can submit a shipping request.

Example: XML, Response

<?xml version="1.0" encoding="utf-8"?>
<Errors>
  <Error>
    <Code>SL004</Code>
    <Message>Only shipped by seller orders can submit a shipping request.</Message>
  </Error>
</Errors>

Example: Json, Response

[
  {
    "Code": "SL004",
    "Message": "Only shipped by seller orders can submit a shipping request."
  }
]

Last updated: October 26, 2023