Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

Orders /GetOpenOrders

Allows 250 calls per minute

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

Permissions

GlobalPermissions.OrderBook.OpenOrdersNode

Example Request

The following request format is required for this method.

Endpoint URL

GET | POST https://eu-ext.linnworks.net/api/Orders/GetOpenOrders

Headers

Connection: keep-alive
Accept: application/json
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Accept-Encoding: gzip, deflate
Authorization: INSERT_YOUR_TOKEN_HERE

Request Body

This is an example of the request structure. Results will vary depending on your data.

entriesPerPage=1&pageNumber=1&sorting=[
  {
    "FieldCode": 0,
    "Direction": 0,
    "Order": 1
  }
]&fulfilmentCenter=01332c49-cd26-46a8-872d-f11c28305e50&additionalFilter=sample string 1

Response

This is an example of the response JSON. Results will 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": "ee0e8a3f-d255-474e-974a-53dcdc56192e",
            "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": "2022-09-05T15:10:05.4870632+03:00",
        "Source": "sample string 14",
        "SubSource": "sample string 15",
        "SiteCode": "sample string 16",
        "HoldOrCancel": true,
        "DespatchByDate": "2022-09-05T15:10:05.4870632+03:00",
        "ScheduledDelivery": {
          "From": "2022-09-05T15:10:05.4870632+03:00",
          "To": "2022-09-05T15:10:05.4870632+03:00"
        },
        "HasScheduledDelivery": true,
        "Location": "b1abb3b0-e082-4fa8-bdcb-4c3bfb524ab2",
        "NumItems": 20,
        "PickwaveIds": [
          1
        ],
        "StockAllocationType": 0
      },
      "ShippingInfo": {
        "Vendor": "sample string 1",
        "PostalServiceId": "73acac30-6f4b-4185-9f9c-adaf663bfaba",
        "PostalServiceName": "sample string 3",
        "TotalWeight": 4.0,
        "ItemWeight": 5.0,
        "PackageCategoryId": "66644432-e961-4d0a-abce-bbda7c8e5c33",
        "PackageCategory": "sample string 7",
        "PackageTypeId": "c81b9304-cb6b-4b5a-9a31-9e86bb5d3925",
        "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": "89c15d65-af59-4c66-9ff1-0152ac597635"
        },
        "BillingAddress": {
        }
      },
      "TotalsInfo": {
        "Subtotal": 2.1,
        "PostageCost": 3.1,
        "PostageCostExTax": 4.1,
        "Tax": 5.1,
        "TotalCharge": 6.1,
        "PaymentMethod": "sample string 7",
        "PaymentMethodId": "a3fc2fa7-49cd-4f89-8e5a-b8cfabe8575a",
        "ProfitMargin": 9.1,
        "TotalDiscount": 10.1,
        "Currency": "sample string 11",
        "CountryTaxRate": 12.1,
        "ConversionRate": 13.1
      },
      "TaxInfo": {
        "TaxNumber": "sample string 1"
      },
      "FolderName": [
        "sample string 1"
      ],
      "IsPostFilteredOut": true,
      "CanFulfil": true,
      "Fulfillment": {
        "FulfillmentState": 0,
        "PurchaseOrderState": 1
      },
      "Items": [
        {
          "ItemId": "a3a57e29-4005-4b0a-83cd-8963e56aca2b",
          "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": "8060612e-2eca-4355-9b87-71dc19e3619e",
            "Rowid": "e85756d6-7d8c-42ad-bd08-7e372d316b14",
            "pkPurchaseId": "5d8bb3a4-e99f-4683-a230-6d1bfc51a79a",
            "ExternalInvoiceNumber": "sample string 4",
            "fkSupplierId": "53e05bcb-6c9d-4a71-9e0e-b247d44ecb26",
            "DateOfDelivery": "2022-09-05T15:10:05.488073+03:00",
            "QuotedDeliveryDate": "2022-09-05T15:10:05.488073+03:00",
            "SupplierName": "sample string 8",
            "fkLocationId": "23864336-2708-48eb-8609-835df8169365"
          },
          "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": "ff8732f0-3773-4a4b-92dc-2ca0bf0430e6",
          "AdditionalInfo": [
            {
              "pkOptionId": "85bf8e6b-cdcd-4868-82f1-f9581e010371",
              "Property": "sample string 2",
              "Value": "sample string 3"
            }
          ],
          "StockLevelIndicator": 29,
          "ShippingCost": 30.1,
          "PartShippedQty": 31,
          "ItemName": "sample string 32",
          "BatchNumberScanRequired": true,
          "SerialNumberScanRequired": true,
          "BinRack": "sample string 35",
          "BinRacks": [
            {
              "Quantity": 1,
              "BinRack": "sample string 2",
              "Location": "56c76253-651a-433b-b645-2244ee069d8f",
              "BatchId": 1,
              "OrderItemBatchId": 1
            }
          ],
          "InventoryTrackingType": 36,
          "isBatchedStockItem": false,
          "IsWarehouseManaged": true,
          "IsUnlinked": false,
          "StockItemIntId": 39,
          "Boxes": [
            {
              "BoxId": 1,
              "StockItemIntId": 2,
              "BoxName": "sample string 3",
              "Width": 4.0,
              "Height": 5.0,
              "Length": 6.0,
              "Weight": 7.0,
              "ValuePercentage": 8.0,
              "Barcode": "sample string 9",
              "PackagingTypeId": "4f056c76-faf3-400a-ab1d-cc17dea8238a",
              "LogicalDelete": true
            }
          ],
          "RowId": "8f073b9a-97e3-4cfe-8a4c-a71b72b897f8",
          "OrderId": "57963341-1c8a-46da-a2cf-f1c430e6e01c",
          "StockItemId": "19fa2a7d-ab65-44c2-bf9d-36e1b5c43b4a"
        }
      ],
      "HasItems": true,
      "TotalItemsSum": 0,
      "OrderId": "0081bfc9-0def-468a-8ce7-87b34b4d97ae"
    }
  ]
}