4.1 Order basics
Newegg Logistics orders are warehouse shipment orders that help seller to deliver their items from Newegg warehouse to customer. You need to make sure each order item has sufficient inventory before place an order into Newegg Logistics system.
To create an order in Newegg Logistics system, you need to provide following information at least.
- Seller Order # – Unique order # assigned by seller to identify an order from a sales channel
- Sales shannel – Origin website or source where the order is placed
- Ship service selected – Newegg shipping method or 3rd party shipping service to be used for this order
- Customer information – Customer name, phone # etc
- Shipping address – Ship to destination, include detail address line, city, state, zip code etc
- Seller Part # – The SKU # used to identify an unique item of yours
- Ordered quantity – Units of the item to be shipped
4.1.1 Newegg Order #
Newegg will generate an unique order number (Newegg Order #, e.g.: 451304212) when order submitted to Newegg system. The Newegg Order # will be used to identify an order in Newegg system.
4.1.2 Order status
Newegg Logistics uses following status to indicate the state of an order.
Status
|
Description
|
---|---|
Initialized | Order submitted to Newegg system, waiting for verification. |
Pending | If an order with a future expect shipping date specified, order will be shown as Pending. The order will be release to Newegg warehouse automatically on the expect shipping date. |
Exceptional | Order verification failed. Wait for seller to check. |
Processing | Order verification passed. Trying to release the order to Newegg warehouse. |
Unshipped | Order has been released to Newegg warehouse, but not shipped yet. |
Ready to Ship | Shipping labels have been created for the order. Or order was packed at Newegg warehouse, waiting to pick up by ship carrier. |
Void | Order has been cancelled. |
Partially Shipped | Order has been shipped partially. |
Invoiced | Order was shipped by Newegg warehouse. Order has been closed and invoiced. |
Diagram of order status flow:
4.1.3 Order field definitions
Field
|
Required
|
Type
|
Length Limit
|
Accepted Values
|
Description
|
|||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SellerOrderNumber | Yes | String | 50 | ANSI chars only |
Unique order # assigned by seller to identify an order from a sales channel. Order from different sales channel can have same Seller Order #. |
|||||||||||||||||||||||||||||||||
OrderDate | No | DateTime | Date when this order was placed. Current date will be used if not provided.
Seller Order Date must be within 7 days of current date, and cannot be later than current date. |
|||||||||||||||||||||||||||||||||||
ExpectShippingDate | No | DateTime |
Order will be released to Newegg warehouse at expect shipping date. Expect shipping date must be a future date after the Order Date. Newegg warehouse only operate at business days. So actual shipping date might be delayed to next business day if expect shipping date is on weekend or holiday. |
|||||||||||||||||||||||||||||||||||
SalesChannel | No | String | 50 | Sales channel of the order. E.g.: eBay USA, Amazon USA, Amazon Seller Prime etc.
“Other” will be used of left blank. |
||||||||||||||||||||||||||||||||||
SubSalesChannel | No | String | 50 | Sub sales channel of the order. | ||||||||||||||||||||||||||||||||||
SSCCRequired | No | Boolean |
Many sales channels require advance shipment notice (SSCC, Serial Shipping Container Code) with each package/pallet ID# labeled. Set to true if this order shipment requires SSCC. Default is false. You must associate a SSCC prefix number with the order sales channel to enable SSCC for the order shipment. Contact Newegg Logistics support if you want to use this feature on specific sales channels. |
|||||||||||||||||||||||||||||||||||
SellerCustomerNumber | No | String | 50 | Customer # assigned by seller. | ||||||||||||||||||||||||||||||||||
CustomerPONumber | No | String | 50 | Customer Purchase Order # assigned by seller. | ||||||||||||||||||||||||||||||||||
WarehouseShipmentNumber | No | String | 30 | Warehouse Shipment # assign by seller for reference. | ||||||||||||||||||||||||||||||||||
ShippingMethod | Yes | String |
Newegg shipping method to be used. Newegg Logistics support following shipping methods:
If your order contains hazard materials, only Super EggSaver, 3PL Client Prepaid, 3PL Client Trucking or Economical Trucking is the valid shipping method. You can use following shipping methods if your own shipping account has been configured for the order sales channel in Newegg Logistics.
Contact Newegg Logistics support team if you want to use your own shipping account for UPS or FedEx for orders from specific sales channels. |
|||||||||||||||||||||||||||||||||||
ShipTo | Yes | Object | Customer information. | |||||||||||||||||||||||||||||||||||
Name | Yes | String | 80 | Contact name. | ||||||||||||||||||||||||||||||||||
PhoneNumber | Yes | String | 30 | ANSI chars only | Customer phone #. | |||||||||||||||||||||||||||||||||
Company | No | String | 100 | Company name. | ||||||||||||||||||||||||||||||||||
Address1 | Yes | String | 100 | First address line. | ||||||||||||||||||||||||||||||||||
Address2 | No | String | 100 | Second address line. | ||||||||||||||||||||||||||||||||||
City | Yes | String | 45 | City full name. E.g.: City of Industry. | ||||||||||||||||||||||||||||||||||
StateOrProvince | Yes | String | 32 | Refer to US State and Canada Province Codes | Must be valid state or province code for U.S. and Canada. E.g.: CA, NY, HI etc. | |||||||||||||||||||||||||||||||||
PostalCode | Yes | String | 20 | Postal code must be valid and matches the state selected. E.g.: 91748, 15206, 32507-7761, 88029-0658. | ||||||||||||||||||||||||||||||||||
Country | No | String | 2-3 |
Must be 2-letter or 3-letter ISO country code. Refer to https://www.countrycode.org/. E.g.: USA, CHN, US, CN etc. Newegg will convert all two letter country codes to three letter ones automatically. |
||||||||||||||||||||||||||||||||||
BillTo | No | Object | Ship-to information will be used as bill-to information if this field is set to null. | |||||||||||||||||||||||||||||||||||
Name | Yes | String | 80 | Bill to contact name. | ||||||||||||||||||||||||||||||||||
PhoneNumber | Yes | String | 30 | ANSI chars only | Bill to phone #. | |||||||||||||||||||||||||||||||||
Company | No | String | 100 | Bill to company name. | ||||||||||||||||||||||||||||||||||
Address1 | Yes | String | 100 | Bill to address line 1. | ||||||||||||||||||||||||||||||||||
Address2 | No | String | 100 | Bill to address line 2. | ||||||||||||||||||||||||||||||||||
City | Yes | String | 45 | Bill to city full name. E.g.: City of Industry. | ||||||||||||||||||||||||||||||||||
StateOrProvince | Yes | String | 32 | Refer to US State and Canada Province Codes | Bill to state/province code.
Must be valid state or province code for U.S. and Canada. E.g.: CA, NY, HI etc. |
|||||||||||||||||||||||||||||||||
PostalCode | Yes | String | 20 | Bill to zip/postal code.
Postal code must be valid and matches the state selected. E.g.: 91748, 15206, 32507-7761, 88029-0658. |
||||||||||||||||||||||||||||||||||
Country | No | String | 2-3 |
Must be 2-letter or 3-letter ISO country code. Refer to https://www.countrycode.org/. E.g.: USA, CHN, US, CN etc. Newegg will convert all two letter country codes to three letter ones automatically. |
||||||||||||||||||||||||||||||||||
ItemList | Yes | Object[] | List of items to be shipped with this order. | |||||||||||||||||||||||||||||||||||
SellerPartNumber | Yes | String | 40 | Seller assigned SKU # to identify the item need to be included in the order. | ||||||||||||||||||||||||||||||||||
CustomerItemNumber | No | String | 50 | Customer item #. Will be displayed on the packing list if provided. | ||||||||||||||||||||||||||||||||||
SignatureRequired | No | Boolean |
Set to true if this order requires signature on delivery. Signature service is not available for any trucking shipping method. |
|||||||||||||||||||||||||||||||||||
WarehouseNumber | No | String | 02, 04, 06, 07, 08, 09, 10, 14, 16, 36 | Indicate which Newegg warehouse to fulfill this order. Must be one of following values:
Newegg Logistics will try to fulfill the order from a warehouse close to the destination if not indicated. |
||||||||||||||||||||||||||||||||||
OrderedQuantity | Yes | Integer | 1-99999 | Unit count of the ordered item.
If there is no enough inventory to fulfill this order item, order will be marked as Exceptional. |
||||||||||||||||||||||||||||||||||
UOM | No | String | PCS, CTN | Unit of measurement. Must be one of following values:
Default is PCS. |
||||||||||||||||||||||||||||||||||
ExtendedProperties | No | Object[] | Customized properties and identification values for each order item assigned by seller for reference. | |||||||||||||||||||||||||||||||||||
Name | Yes | String | 50 | Property name or identification qualifier. | ||||||||||||||||||||||||||||||||||
Value | Yes | String | Property value or identification code. | |||||||||||||||||||||||||||||||||||
Memo | No | String | 200 | Optional memo for Newegg warehouse. | ||||||||||||||||||||||||||||||||||
ExtendedProperties | No | Object[] | Customized properties and identification values assigned by seller for reference. | |||||||||||||||||||||||||||||||||||
Name | Yes | String | 50 | Property name or identification qualifier.
Following property names are reserved for Newegg Logistics orders, please AVOID using them.
|
||||||||||||||||||||||||||||||||||
Value | Yes | String | Property value or identification code. |
4.2 What you can do with Order APIs
The Seller Integration API lets you do the following with the Order APIs.
- GET order/{Newegg Order # | Seller Order #}
Get order details by Seller Order # or Newegg Order # - GET order
Query order list by given search criteria - POST order
Create an order - POST order/cancel
Cancel an order
4.3 Get order details
GET order/{Newegg Order # | Seller Order #}
Get order details by Newegg Order # or Seller Order #. HTTP status code 404 will be returned if order not found.
4.3.1 Query parameters
Parameter
|
Required
|
Max Length
|
Type
|
Description
|
---|---|---|---|---|
SalesChannel | No | 50 | String | You must provide sales channel of the order if given Seller Order # is not unique among all your orders. |
4.3.2 Request example
Get order details by Newegg Order #.
GET
https://apis.newegg.com/tpl/v2/
order/
451304212
Get order details by Seller Order # and Sales Channel.
GET https://apis.newegg.com/tpl/v2/order/09-12345-67890?SalesChannel=
eBay%20USA
4.3.3 Response example
[INSERT TABLE]
4.3.4 Field definitions
Following table shows extra data fields returned in the response.
For other fields, please refer to 4.1.3 Order field definitions.
4.3.5 Response codes
Code
|
Status Code
|
Description
|
---|---|---|
OrderNotFound | 404 | The order does not exist in Newegg system. |
4.4 Query order list
GET order
Query a list of orders by given search criteria.
4.4.1 Query parameters
Parameter
|
Required
|
Type
|
Max Length
|
Accepted Values
|
Description
|
---|---|---|---|---|---|
SearchBy | No | String | NeweggOrderNumber, SellerOrderNumber, CustomerPONumber, CustomerName, CustomerPhoneNumber, NeweggItemNumber, SellerPartNumber, TrackingNumber |
Specify the field to be filtered by keyword. Must be one of following values:
Default is NeweggOrderNumber. |
|
Keyword | No | String | Specify the keyword to match against the field to be filtered.
|
||
CustomSeparator | No | String | 1 | Any character excludes letters and numbers | If your keywords contain “,” or “|”, you can this parameter to assign a customized separator (single character) for multiple values. |
SalesChannel | No | String | 50 | Filter orders by sales channel. | |
Platform | No | String | 50 | Filter orders by platform. | |
PlatformID | No | String | Filter orders by platform ID. | ||
Status | No | String | Initialized, Pending, Exceptional, Processing, Unshipped, Ready to Ship, Partially Ship, Invoiced, Void |
Filter orders by status. Must be one of following values:
Refer to 4.1.2 Order status. |
|
CreateTimeFrom | No | DateTime | Filter orders by create time. | ||
CreateTimeTo | No | DateTime | Filter orders by create time. | ||
SellerOrderDateFrom | No | DateTime | Filter orders by seller order date. | ||
SellerOrderDateTo | No | DateTime | Filter orders by seller order date. | ||
OrderShipDateFrom | No | DateTime | Filter orders by order ship date. | ||
OrderShipDateTo | No | DateTime | Filter orders by order ship date. | ||
PageSize | No | Integer | 1 – 100 | Limit number of orders to be returned for each page.
Default is 10. |
|
PageIndex | No | Integer | >= 0 | Specify the page to be retrieved by index.
Default is 0. |
4.4.2 Request example
Query order list by multiple Newegg Order #.
GET https://apis.newegg.com/tpl/v2/order?Keyword=400000001,400000002,400000003
Query order list by Seller Part #
GET https://apis.newegg.com/tpl/v2/order?SearchBy=SellerPartNumber&Keyword=SY-82404
Query order list where Seller Order Date is from 2019-08-01 (PST/PDT), and status is Invoiced, return first 50 matched orders.
GET https://apis.newegg.com/tpl/v2/order
?Status=Invoiced&SellerOrderDateFrom=2019-08-01T00:00:00&PageSize=50
Query order list by Sales Channel.
GET https://apis.newegg.com/tpl/v2/order
?SalesChannel=eBay%20USA
4.4.3 Response example
{ "Count": 10, "TotalCount": 13, "PageSize": 10, "TotalPageCount": 2, "NextPageIndex": 1, "Results": [ { "NeweggOrderNumber": 400000003, "SellerOrderNumber": "100-1234567-7654321", "OrderDate": "2019-08-30T00:00:00", "ExpectShippingDate": null, "SalesChannel": "eBay USA", "SubSalesChannel": null, "Platform": null, "PlatformID": null, "CustomerPONumber": null, "SellerCustomerNumber": null, "WarehouseShipmentNumber": null, "SSCCRequired": null, "ShippingMethod": "Newegg 3 Day", "OrderStatus": "Invoiced", "ShipTo": { "Name": "Dennis Meade", "Company": null, "PhoneNumber": "432-012-3456", "Address1": "Rowland St. XXX", "Address2": null, "City": "City of Industry", "StateOrProvince": "CA", "PostalCode": "91748", "Country": "USA" }, "ItemList": [ { "NeweggItemNumber": "9SIADFS9YD2804", "SellerPartNumber": "SY-82404", "WarehouseNumber": "02", "WarehouseName": "CA Warehouse 02", "Condition": "New", "ManufacturerPartNumber": "SY-82404", "UPC": "413565040662", "Description": "TEST ITEM #4", "PacksOrSets": 1, "OrderedQuantity": 1, "ShippedQuantity": 1, "UOM": null, "PieceCountPerCarton": null, "UnitPrice": 89.99, "CustomerItemNumber": null, "SignatureRequired": null, "Status": "Shipped" } ], "PackageInfoList": [ { "TrackingNumber": "1ZX037170301234567", "ShippingMethod": "Newegg 3 Day", "ShipCarrier": "UPS", "ShipService": "UPS Ground", "ShipServiceCode": "038", "ShipDate": "08/30/2019 14:25:58", "WarehouseNumber": "02", "Length": 37.25, "Width": 25.5, "Height": 9.5, "Weight": 42.33, "Status": null, "ProNumber": null, "SSCC": null, "ItemList": [ { "NeweggItemNumber": "9SIADFS9YD2804", "SellerPartNumber": "SY-82404", "ManufacturerPartNumber": "SY-82404", "UPC": "413565040662", "OrderedQuantity": 1, "ShippedQuantity": 1, "SerialNumberList": [ "413565040662" ] } ] } ], "ExtendedProperties": [ { "Name": "IsPrime", "Value": "Yes" } ], "Memo": "This is a testing order. Do NOT ship it.", "CreateTime": "2019-08-30T12:45:04.395", "CreateTimeUtc": "2019-08-30T19:45:04.395Z", "LastUpdateTime": "2019-08-30T12:45:42.939-07:00", "LastUpdateTimeUtc": "2019-08-30T19:45:42.939Z" } // more ... ] }
4.4.4 Field definitions
Following table shows extra data fields returned in the response.
Field
|
Type
|
Example Value
|
Description
|
---|---|---|---|
Count | Integer | 10 | Number of orders returned. |
TotalCount | Integer | 13 | Total number of orders matches the query criteria. |
PageSize | Integer | 10 | Page size used by this query. |
TotalPageCount | Integer | 2 | Total number of available pages calculated by TotalCount and PageSize. |
NextPageIndex | Integer | 2 | Page index of next result. Will be null if this is the last page. |
Results | Object[] | List of orders returned in this page. |
For other fields, refer to 4.1.3 Order field definitions and 4.3.4 Field definitions in “Get order details” section.
4.5 Create order
POST order
Create an order. Order status will be Initialized after you submitted your order creation request. Order status will be changed to Unshipped when order released Newegg warehouse.
Newegg Logistics will verify your order data before release it to Newegg warehouse. Order status will be changed to Exceptional if verification failed.
If an order with the same Seller Order # and Sales Channel exists in Newegg system. Order creation will be rejected if order status is not Exceptional, or Void.
Your order might get cancelled by Newegg after released to Newegg warehouse, due to insufficient inventory or bad shipping address. Newegg Logistics will send you a mail notification if this case happens.
4.5.1 Request example
POST https://apis.newegg.com/tpl/v2/order
{ "SellerOrderNumber": "100-1234567-7654321", "OrderDate": "2019-08-30T00:00:00", "ExpectShippingDate": null, "SalesChannel": "Amazon Seller Prime", "SubSalesChannel": null, "CustomerPONumber": null, "SellerCustomerNumber": null, "WarehouseShipmentNumber": null, "SSCCRequired": null, "ShippingMethod": "Newegg 3 Day", "ShipTo": { "Name": "Dennis Meade", "Company": null, "PhoneNumber": "432-012-3456", "Address1": "Rowland St. XXX", "Address2": null, "City": "City of Industry", "StateOrProvince": "CA", "PostalCode": "91748", "Country": "USA" }, "ItemList": [ { "SellerPartNumber": "SY-82404", "WarehouseNumber": null, "OrderedQuantity": 1, "CustomerItemNumber": null, "SignatureRequired": false, "ExtendedProperties": [ { "Name": "UserDefine5", "Value": "20171019" }, { "Name": "Price", "Value": "58.00" } ] } ], "ExtendedProperties": [ { "Name": "REF02", "Value": "1000230455" }, { "Name": "CURRENCY_CODE", "Value": "CNY" } ], "Memo": "This is a testing order. Do NOT ship it." }
4.5.2 Response example
Order created. HTTP status code is 200.
{
"Succeeded": true,
"Message": "Your order creation request has been submitted. The system may take about 1 minute to process your request. Order status will be changed to Unshipped when the order is released to Newegg warehouse."
}
Create order failed. HTTP status code is 409.
{ "Succeeded": false, "ErrorCode": "DuplicateOrder", "Message": "An order with the same Seller Order # and sales channel already exists." }
4.5.3 Field definitions
Please refer to 4.1.3 Order field definitions.
4.5.4 Response codes
Code
|
Status Code
|
Description
|
---|---|---|
RequestSubmitted | 200 | Your order creation request has been submitted. |
InvalidPostalCode | 400 | Zipcode is not matched with selected state. |
InvalidShipToAddress | 400 | Unfortunately, Newegg does not ship to {restricted region}. |
DuplicateOrder | 409 | An order with the same Seller Order # and sales channel already exists. |
4.6 Cancel order
POST order/cancel
Cancel an order before it get shipped. You can cancel an order with following status only.
- Pending
- Exceptional
- Unshipped
- Ready to Ship
Newegg will try to fulfill you order as soon as possible. So cancel order might be failed if you submit your cancel order request on next business day or later. Contact Newegg Logistics support if you really want to intercept the order from shipping.
4.6.1 Request example
POST https://apis.newegg.com/tpl/v2/order/cancel
{ "NeweggOrderNumber": 400000033, "SellerOrderNumber": null, "SalesChannel": null, "CancelReason": "UnableToFulfill", "Memo": "Cannot ship to APO address" }
4.6.2 Response example
Cancel request submitted. HTTP status code is 200.
{ "Succeeded": true, "Message": "Your cancel order request has been sent. The system may take a few minutes to process your request. Order status will be changed to Void when Newegg cancelled your order." }
Cancel request failed. HTTP status code is 409.
{ "Succeeded": false, "ErrorCode": "OrderAlreadyShipped", "Message": "Unable to cancel an order being shipped already." }
4.6.3 Field definitions
You must specify Newegg Order #, or Seller Order # to identify the order need to be cancelled.
Field
|
Required
|
Type
|
Max Length
|
Accepted
Values
|
Description
|
---|---|---|---|---|---|
NeweggOrderNumber | Conditional | Integer | Newegg Order #. | ||
SellerOrderNumber | Conditional | String | 50 | Seller Order #. | |
SalesChannel | No | String | 50 | Assign sales channel of the order if Seller Order # is not unique among all sales channels. | |
CancelReason | No | String | UnableToFulfill, CustomerCancel | Must be one of following values:
• UnableToFulfill – Unable to fulfill this order • CustomerCancel – Customer request to cancel this order Default is UnableToFulfill. |
|
Memo | No | String | 100 | Memo of specific reason to cancel this order. |
4.6.4 Response codes
Code
|
Status Code
|
Description
|
---|---|---|
RequestSubmitted | 200 | Your cancel order request has been sent. |
OrderAlreadyCancelled | 200 | The order was cancelled already. |
OrderNotFound | 404 | Order not found. |
OrderAlreadyShipped | 409 | Unable to cancel an order being shipped already. |
RequestCancelled | 409 | Your cancel order request was ignored because previous cancel order request is processing. |
InvalidOrderStatus | 409 | Order with status ‘XXX’ cannot be cancelled. Please try again later. |