# List orders (v3) Returns a paged order list. Note that this method returns another entity that ListOrders2. This is a more light weight version. Either of companyId, customerId, divisionCode, fromDate or toDate must be specified. Endpoint: GET /OrderService.svc/rest/ListOrders3 Version: 1.1 ## Query parameters: - `companyId` (string, required) The internal company id for which orders are fetched. - `customerId` (string, required) The internal customer id for which orders are fetched. - `statusSeed` (string) A comma separated string of status ids to filter the orders. - `source` (string) The source of the order as set when created. Used to filter the orders. Usually hardcoded in the web application to WEB. - `fromDate` (string, required) A from date used to filter orders. Format: yyyy-mm-ddThh:mm:ss.nnn[z], example 2024-08-01T12:59:59.000Z - `toDate` (string, required) A to date used to filter orders. Format: yyyy-mm-ddThh:mm:ss.nnn[z], example 2024-08-01T12:59:59.000Z - `pageNo` (string) Page numbers start with 1. Default is 1. If you specify a pageNo outside the range of items, an empty list will be returned. PageSize is mandatory for pageNo to work. - `pageSize` (string) Number of orders to display per page. - `divisionCode` (string, required) The external division code for which orders are fetched. - `cultureCode` (string) Specifies in which language to display culture specific information. If none is supplied, value is resolved from Application. ## Response 200 fields (application/json): - `ItemCount` (integer) The total number of orders. Can be used to manage paging. Use PageSize to calculate number of pages. - `Items` (array) Current list of orders for the current page if paging is used. Otherwise all orders will be in the list. - `Items.Id` (string) The internal id of the Order in Storm. - `Items.QuotationId` (integer,null) The internal id of the quotation/basket used to create the Order. - `Items.OrderNo` (string) The order number of the Order, usually from an ERP. MaxLength: 50. - `Items.OrderDate` (string) The order date of the Order. - `Items.Status` (string) The status text of the Order. See ListOrderStatuses for information about available statuses. MaxLength: 50. - `Items.Source` (string) The source of the Order. 'WEB' is used for all orders created though Storm. MaxLength: 255. - `Items.Currency` (string) The currency code of the Order. MaxLength: 3. - `Items.SellTo` (object) - `Items.SellTo.Company` (object) - `Items.SellTo.Company.Id` (integer,null) The internal id of Company. - `Items.SellTo.Company.No` (string) The external code of Company. Usually from an ERP system. MaxLength: 50. - `Items.SellTo.Company.Name` (string) The name of Company. MaxLength: 100. - `Items.SellTo.Company.OrgNo` (string) The organizational number of Company. MaxLength: 50. - `Items.SellTo.Customer` (object) - `Items.SellTo.Customer.Id` (integer,null) The internal id of Customer. - `Items.SellTo.Customer.No` (string) The external code of Customer. Usually from an ERP system. MaxLength: 50. - `Items.SellTo.Customer.FirstName` (string) The first name of Customer. MaxLength: 50. - `Items.SellTo.Customer.LastName` (string) The last name of Customer. MaxLength: 50. - `Items.SellTo.Customer.SSN` (string) The social security number of Customer. MaxLength: 50. - `Items.SellTo.Customer.Email` (string) The e-mail of Customer. MaxLength: 255. - `Items.SellTo.Customer.Phone` (string) The phone number of Customer. MaxLength: 50. - `Items.SellTo.Customer.CellPhone` (string) The cell phone number of Customer. MaxLength: 50. - `Items.SellTo.Address` (object) - `Items.SellTo.Address.Line1` (string) The first address line of the Address. MaxLength: 255. - `Items.SellTo.Address.Line2` (string) The second address line of the Address. MaxLength: 255. - `Items.SellTo.Address.CareOf` (string) The care of part of the Address. MaxLength: 100. - `Items.SellTo.Address.City` (string) The city of the Address. MaxLength: 50. - `Items.SellTo.Address.ZipCode` (string) The zipcode of the Address. MaxLength: 50. - `Items.SellTo.Address.Country` (string) The name of the country of the Address. MaxLength: 50. - `Items.SellTo.Address.CountryCode` (string) The code of the country of the Address. MaxLength: 3. - `Items.SellTo.Address.Region` (string) The region of the Address. MaxLength: 50. - `Items.SellTo.Address.ShippingPhoneNumber` (string) Phone number for shipping address. Only applicable in shipping addresses. MaxLength: 50. - `Items.SellTo.Address.GlobalLocationNo` (string) The Global Location Number (GLN) is part of the GS1 systems of standards. It is a simple tool used to identify a location and can identify locations uniquely where required. This is only used for invoice addresses. MaxLength: 50. - `Items.SellTo.DropPointCode` (string) The external drop point code, if any. Only set for drop points. MaxLength: 50. - `Items.BillTo` (object) - `Items.ShipTo` (object) - `Items.OrderTotalIncVat` (number) The total amount on the Order including VAT. - `Items.OrderTotalExVat` (number) The total amount on the Order excluding VAT. - `Items.PaymentMethod` (string) The payment method of the Order. MaxLength: 50. - `Items.DeliveryMethod` (string) The delivery method of the Order. MaxLength: 50. - `Items.TypeId` (integer) The type of the order. 1 for normal sales order and 3 for orders from subscriptions. 2 is reserved for purchase orders. - `Items.DeliveryMark` (string) The delivery mark of the Order. Gets its value from the OrderReference field of the basket. MaxLength: 255. - `Items.DropPoint` (object) - `Items.Items` (array) The items on the Order. - `Items.Items.RowNumber` (number) The row number of the OrderItem. - `Items.Items.PartNo` (string) The PartNo of the OrderItem. MaxLength: 50. - `Items.Items.Name` (string) The name of the OrderItem. MaxLength: 255. - `Items.Items.QtyOrdered` (number) The quantity ordered. This is the total quantity ordered. - `Items.Items.UnitPrice` (number) The unit price of the Item, excluding VAT. - `Items.Items.UnitDiscount` (number) The unit discount of the Item, excluding VAT. - `Items.Items.RowAmount` (number) The total amount of the Item, excluding VAT. - `Items.Items.VatRate` (number) A rate to multiply with price to get price inc VAT. 25% VAT equals a VatRate of 1.25. - `Items.Items.ImageKey` (string,null) A unique id for the image at our image server. Url for images are formed like http://[client specific CDN]/{ImageKey}. Preset, height and width can be sent as parameters. - `Items.Items.Type` (integer) Sku type internal id for this order item. - `Items.Items.Status` (string) The status text of the OrderItem. See ListOrderStatuses for information about available statuses. MaxLength: 50. - `Items.Items.Info` (array) A list of infos used to keep application specific data on the order item. - `Items.Items.Info.Code` (string) The external code of the Info. MaxLength: 50. - `Items.Items.Info.Name` (string) The name of the Info. MaxLength: 50. - `Items.Items.Info.Description` (string) The description of the Info. MaxLength: 500. - `Items.Items.Info.Value` (string) The value of the Info. MaxLength: max. - `Items.Items.ParentRowNumber` (number,null) The parent row number of the OrderItem, if any. - `Items.Items.PriceRecommended` (number,null) This is the recommended price of the item when the order was created. - `Items.Items.PriceCatalog` (number,null) This is the catalog price of the item when the order was created. - `Items.Items.PriceStandard` (number,null) This is the standard price of the item when the order was created. - `Items.Items.UnitPriceIncVat` (number) The unit price of the item, including VAT. - `Items.Info` (array) A list of infos used to keep application specific data on the order.