API Docs
Outbound API
Outbound List DNs

Outbound List DNs API

Outbound List DNs API is used to retrieve a list of outbound DN. This article introduces the general Outbound List DNs API for easily understanding and applying this API.

Introduction

Outbound List DNs API allows users to access details of outbound order. It is crucial for managing ad tracking outbound logistics, ensuring that the correct orders are sent out, and providing visibility into the shipping process.

API Request

API: POST /edi/inbound/receiving/search-by-paging
Body Request:

Body ParameterRequiredDescriptionNote
CompanyIDYCompany ID"LT"
FacilityIDYFacility ID"889"
CustomerIDYCustomer ID"AUKINT0001"
PONoNPO Number"8957515451-10"
ReferenceNoNReference Number"LIV2020021804-10"
StatusNOrder StatusImported, Shipped, Cancelled
CreatedWhenFromNCreated Date From"2022-02-01T00:00:00-08:00"
CreatedWhenToNCreated Date To"2022-02-03T00:00:00-08:00"
UpdatedWhenFromNUpdated Date From"2022-02-01T00:00:00-08:00"
UpdatedWhenToNUpdated Date To"2022-02-03T00:00:00-08:00"
PagingNPage Object"PageNo": 1

API Return

It returns the order list with the detailed data, for more detail, please refer to the following example.

Example

Request

{
	"CompanyID": "LT",
	"CustomerID": "AUKINT0001",
	"FacilityID": "889",
	"PONo": "",  			
	"ReferenceNo": "", 		
	"Status": "Imported",  	
    "CreatedWhenFrom": "2022-03-01T00:00:00.000Z",  
    "CreatedWhenTo": "2022-03-31T00:00:00.000Z",    
    "UpdatedWhenFrom": "",  
    "UpdatedWhenTo": "",    
    "Paging":{
        "PagingNo":1
    }
}

Response

// Success return
200
{
	"Orders": [{
			"FacilityID": "889",
			"OrderID": "DN-32",
			"ReferenceNo": "XXXX01",
			"PONo": "1MOH",
			"CustomerSONo": null,
			"Address": {
				"SoldToName": "Michael",
				"SoldToAddress1": "8352 ABC Ave",
				"SoldToCity": "SAN DIEGO",
				"SoldToState": "CA",
				"SoldToZipCode": "92111",
				"SoldToCountry": "USA",
				"SoldToContact": "Michael",
				"SoldToPhone": "6261234567",
				"ShipToName": "Michael",
				"ShipToAddress1": "8352 ABC Ave",
				"ShipToCity": "Washington",
				"ShipToState": "DC",
				"ShipToZipCode": "20002",
				"ShipToCountry": "US",
				"ShipToContact": "Michael",
				"ShipToPhone": "6261234567"
			},
			"ShippingInfo": {
				"FreightTerm": "Prepaid",
				"ShipMethod": "Small Parcel",
				"DeliveryService": "PRIOTITY",
				"CarrierName": "USPS"
			},
			"OrderTotal": {},
			"OrderNotes": {
				"LabelNote": "Uiop85"
			},
			"OrderType": "DropShip Order",
			"Status": "Shipped",
			"RetailerID": "ABCD"
		},
		{
			"FacilityID": "889",
			"OrderID": "DN-33",
			"ReferenceNo": "XXXX02",
			"PONo": "1MOH2",
			"CustomerSONo": null,
			"Address": {
				"SoldToName": "Michael",
				"SoldToAddress1": "8352 ABC Ave",
				"SoldToCity": "SAN DIEGO",
				"SoldToState": "CA",
				"SoldToZipCode": "92111",
				"SoldToCountry": "USA",
				"SoldToContact": "Michael",
				"SoldToPhone": "6261234567",
				"ShipToName": "Michael",
				"ShipToAddress1": "8352 ABC Ave",
				"ShipToCity": "Washington",
				"ShipToState": "DC",
				"ShipToZipCode": "20002",
				"ShipToCountry": "US",
				"ShipToContact": "Michael",
				"ShipToPhone": "6261234567"
			},
			"ShippingInfo": {
				"FreightTerm": "Prepaid",
				"ShipMethod": "Small Parcel",
				"DeliveryService": "PRIOTITY",
				"CarrierName": "USPS"
			},
			"OrderTotal": {},
			"OrderNotes": {
				"LabelNote": "Uiop85"
			},
			"OrderType": "DropShip Order",
			"Status": "Shipped",
			"RetailerID": "ABCD"
		}
	],
	"Paging": {
		"PageNo": 1,
		"TotalCount": 2,
		"TotalPage": 1,
		"Limit": 10
	}
}
// Failure return
400
{
    "error": "something went wrong"
}