Get All Orders


In order to get information for many orders in a single request, you can consume the endpoint presented in this article. However, in order to do that, you must:

  • Be authenticated user

For information on how you can authenticate, see Authentication

As soon as you do authentication and receive a valid token, it needs to be passed on the call for getting orders.

  • You can provide page number and page size and some filtering information


Example for such endpoint for XX server:

For your server endpoint will be:



  • Method Type: HttpGet
  • Authorization: Use Bearer Token + token received from token authentication
  • Header info: Content-Type: application/json
  • Parameters:
ParametersData TypeDescriptionIs Required
pageNumberintegerPage number that will be retrieved.

If page number is not set in the request, then only 1st page will be pulled.

pageSizeintegerNumber of orders per page.

If not set in the request, then top 10 orders will be pulled.


Maximum number of orders that can be pulled with a single call is 50.

companyIDListList of ID of companiesNo
orderIDsListList of ID of sales orders.No
orderStatusListCancelled, ShoppingCart, Completed, InProcess, ProblemOrder, OnHold, Quote, VoidNo
skustringID of inventoryno
createdOnFromDateTimeMinimum date of creationNo
createdOnToDateTimeMaximum date of creationNo
exportedintegerFilters orders based on their exported status. Possible values: All = -1, Yes = 1, No = 0No
hasParentOrderFilterintegerFilters orders based on whether they have parent order. Possible values: All = -1, Yes = 1, No = 0No
dateRangeListDate range. For supported values check swagger.No
shipDateRangeListRange of shipping date. For supported values check swagger.No
paymentDateRangeListRange for payment date. For supported values check swagger.No
dropshipStatusListDropship statuses.No
DropshipPoNumbersListList of dropship purchase order IDsNo
paymentStatusListALL, NoPayment, Charged, PartialRefund, PartiallyPaid etc.No
channelListList of Channel IDsNo
orderSubTypestringType of order: Sample, Charity, Prime etc.No
shippingStatusstringUnknown, Unshipped, PartiallyShipped, FullyShipped, ReadyForPickupNo
trackingNumberstringTracking numberNo
serialNumberstringSerial numberNo
lastUpdatedFromDateTimeDate of the last updateNo
lastUpdatedToDateTimeDate of the last updateNo
warehouseIDListList of warehouse IDNo
companyGroupIDListList of company group IDNo
keywordstringA search term for performing a global search. NoNo


  • If user is authenticated and provides a valid page number and page size, then response will be Status Code 200 => OK and orders metadata in JSON format

  • If user is not authenticated, then response will be Status Code 401 => Not Valid Token
  • On server response => Status Code 500 => Internal Server Error

Different status codes can be found in that section here:

Demo in c#

string username = “{your_username}”;
string password = “{your_password}”;

IAuthenticationClient authenticationClient = new AuthenticationClient();
string token = authenticationClient.Login(baseUri, new LoginRequest(username, password));

using (var client = new HttpClient())
client.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue(“Bearer”, token);
var responseMessage = client.GetAsync(url).Result;

var content = responseMessage.Content

return JsonConvert.DeserializeObject<GetAllResponse>(content);

var responseMessage = client.SendAsync(request).Result;

var content = responseMessage.Content

var response = JsonConvert.DeserializeObject(content);

return response.access_token;

public DateTime? validFrom { get; set; }
public DateTime? validTo { get; set; }

public interface IAuthenticationClient
string Login(string baseUri, LoginRequest request);

public class LoginRequest
public LoginRequest(string username, string password)
this.Username = username;
this.Password = password;

public string Username { get; }

public string Password { get; }

Was this article helpful?

Delete Order