Back

Search

Search

Methods

Inventory

Orders

Orders /GetOpenOrders

Response: GenericPagedResult<OpenOrder>



Get a paged list of open orders

Parameters

NameTypeDescription
entriesPerPageInt32Entries per page
pageNumberInt32Page number
filtersFieldsFilterFilters to apply
sortingList<FieldSorting>Sorting to apply
fulfilmentCenterNullable<Guid>Location to get the orders for
additionalFilterStringAdditional filter

HTTP Endpoint

Server /Orders / GetOpenOrders

Permissions

GlobalPermissions.OrderBook.OpenOrdersNode

Example Code

Example Request

The following request format is required for this method.

POST https://eu-ext.linnworks.net//api/Orders/GetOpenOrders HTTP/1.1
Host: eu-ext.linnworks.net
Connection: keep-alive
Accept: application/json, text/javascript, */*; q=0.01
Origin: https://www.linnworks.net
Accept-Language: en
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.90 Safari/537.36
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Referer: https://www.linnworks.net/
Accept-Encoding: gzip, deflate
Authorization: INSERT_YOUR_TOKEN_HERE

entriesPerPage=1&pageNumber=1&sorting=[
  {
    "FieldCode": 0,
    "Direction": 0,
    "Order": 1
  },
  {
    "FieldCode": 0,
    "Direction": 0,
    "Order": 1
  }
]&fulfilmentCenter=7bdd2a8d-8601-481a-a739-e88712b53dc8&additionalFilter=sample string 1

Response

This is an example response. Results may vary depending on your data.

{
  "PageNumber": 1,
  "EntriesPerPage": 2,
  "TotalEntries": 3,
  "TotalPages": 2,
  "Data": [
    {
      "NumOrderId": 1,
      "GeneralInfo": {
        "Status": 1,
        "LabelPrinted": true,
        "LabelError": "sample string 3",
        "InvoicePrinted": true,
        "PickListPrinted": true,
        "IsRuleRun": true,
        "Notes": 7,
        "PartShipped": true,
        "Marker": 64,
        "IsParked": true,
        "Identifiers": [
          {
            "IdentifierId": 1,
            "IsCustom": true,
            "ImageId": "11934f5a-b24a-4538-977e-f6e3ec7d33ee",
            "ImageUrl": "sample string 4",
            "Tag": "sample string 5",
            "Name": "sample string 6"
          },
          {
          }
        ],
        "ReferenceNum": "sample string 10",
        "SecondaryReference": "sample string 11",
        "ExternalReferenceNum": "sample string 12",
        "ReceivedDate": "2019-10-09T15:11:45.3481672+01:00",
        "Source": "sample string 14",
        "SubSource": "sample string 15",
        "SiteCode": "sample string 16",
        "HoldOrCancel": true,
        "DespatchByDate": "2019-10-09T15:11:45.3481672+01:00",
        "ScheduledDelivery": {
          "From": "2019-10-09T15:11:45.3481672+01:00",
          "To": "2019-10-09T15:11:45.3481672+01:00"
        },
        "HasScheduledDelivery": true,
        "Location": "64bf50b2-7a68-4a22-b9b3-70b9b0a975ab",
        "NumItems": 20,
        "StockAllocationType": 0
      },
      "ShippingInfo": {
        "Vendor": "sample string 1",
        "PostalServiceId": "55b4a187-51d0-4d2f-b00a-22a7ec8ad657",
        "PostalServiceName": "sample string 3",
        "TotalWeight": 4.1,
        "ItemWeight": 5.1,
        "PackageCategoryId": "f4f6058d-d71e-4c5d-a69c-e5a39165d3a0",
        "PackageCategory": "sample string 7",
        "PackageTypeId": "fe6432a7-066b-4b9f-9ce6-3baa3a3fe3fe",
        "PackageType": "sample string 8",
        "PostageCost": 9.1,
        "PostageCostExTax": 10.1,
        "TrackingNumber": "sample string 11",
        "ManualAdjust": true
      },
      "CustomerInfo": {
        "ChannelBuyerName": "sample string 1",
        "Address": {
          "EmailAddress": "sample string 1",
          "Address1": "sample string 2",
          "Address2": "sample string 3",
          "Address3": "sample string 4",
          "Town": "sample string 5",
          "Region": "sample string 6",
          "PostCode": "sample string 7",
          "Country": "sample string 8",
          "Continent": "sample string 9",
          "FullName": "sample string 10",
          "Company": "sample string 11",
          "PhoneNumber": "sample string 12",
          "CountryId": "bad6d4f2-03fd-4f43-afaa-9973d61cb141"
        },
        "BillingAddress": {
        }
      },
      "TotalsInfo": {
        "Subtotal": 1.1,
        "PostageCost": 2.1,
        "Tax": 3.1,
        "TotalCharge": 4.1,
        "PaymentMethod": "sample string 5",
        "PaymentMethodId": "2d2e37bb-26a0-404e-bfe3-afa59ffb5ce2",
        "ProfitMargin": 7.1,
        "TotalDiscount": 8.1,
        "Currency": "sample string 9",
        "CountryTaxRate": 10.1,
        "ConversionRate": 11.1
      },
      "FolderName": [
        "sample string 1",
        "sample string 2"
      ],
      "IsPostFilteredOut": true,
      "CanFulfil": true,
      "Items": [
        {
          "ItemId": "86242496-41f6-4dce-8e3b-5d3986e063d5",
          "ItemNumber": "sample string 2",
          "SKU": "sample string 3",
          "ItemSource": "sample string 4",
          "Title": "sample string 5",
          "Quantity": 6,
          "CategoryName": "sample string 8",
          "CompositeAvailablity": 1,
          "StockLevelsSpecified": true,
          "OnOrder": 10,
          "OnPurchaseOrder": {
            "pkPurchaseItemId": "4d320530-4d69-4c54-b7d2-0573dd01e69d",
            "Rowid": "566519a0-1e6d-42ba-807c-67bb80fb7aad",
            "pkPurchaseId": "6cfdb45f-00c5-4433-90e9-171b8c060c9d",
            "ExternalInvoiceNumber": "sample string 4",
            "fkSupplierId": "d6fcfe78-efb3-47b5-a7f6-ae5f18a9d5ef",
            "DateOfDelivery": "2019-10-09T15:11:45.3481672+01:00",
            "QuotedDeliveryDate": "2019-10-09T15:11:45.3481672+01:00",
            "SupplierName": "sample string 8",
            "fkLocationId": "5c2bb180-03de-44a0-b807-803941104f0d"
          },
          "InOrderBook": 1,
          "Level": 11,
          "MinimumLevel": 1,
          "AvailableStock": 12,
          "PricePerUnit": 13.1,
          "UnitCost": 14.1,
          "DespatchStockUnitCost": 15.1,
          "Discount": 16.1,
          "Tax": 21.1,
          "TaxRate": 17.1,
          "Cost": 18.1,
          "CostIncTax": 19.1,
          "CompositeSubItems": [
            {
            },
            {
            }
          ],
          "IsService": true,
          "SalesTax": 21.1,
          "TaxCostInclusive": true,
          "PartShipped": true,
          "Weight": 24.1,
          "BarcodeNumber": "sample string 25",
          "Market": 26,
          "ChannelSKU": "sample string 27",
          "ChannelTitle": "sample string 28",
          "DiscountValue": 10.806660973526899,
          "HasImage": true,
          "ImageId": "99cf1011-a74e-4e9f-8de3-4ccdc9f42950",
          "AdditionalInfo": [
            {
              "pkOptionId": "569cc09c-8f51-4509-a268-266f57010452",
              "Property": "sample string 2",
              "Value": "sample string 3"
            },
            {
            }
          ],
          "StockLevelIndicator": 29,
          "BatchNumberScanRequired": true,
          "SerialNumberScanRequired": true,
          "BinRack": "sample string 32",
          "BinRacks": [
            {
              "Quantity": 1,
              "BinRack": "sample string 2",
              "Location": "70acf1ae-beb0-4f21-a2f0-a68f975f0d2f",
              "BatchId": 1,
              "OrderItemBatchId": 1
            },
            {
            }
          ],
          "InventoryTrackingType": 33,
          "isBatchedStockItem": false,
          "IsWarehouseManaged": true,
          "HasPurchaseOrders": true,
          "CanPurchaseOrderFulfil": true,
          "IsUnlinked": false,
          "RowId": "b2abd583-0aff-4db1-9671-85956a1113d9",
          "OrderId": "0b51dde8-cf15-4bfe-87aa-843c56fbff25",
          "StockItemId": "f8427714-ad16-4cfc-aa9c-e3e8a70e2c7b"
        },
        {
        }
      ],
      "HasItems": true,
      "OrderId": "9bf6aa3d-215a-4c02-8d01-198cf49d6ca1"
    },
    {
    }
  ]
}