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=8e5d5960-9e3a-4c30-9c4e-9b45fb64b12a&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": "61a82b02-b902-475d-8571-28d5c8741873",
            "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": "2023-01-10T13:49:54.541253+00:00",
        "Source": "sample string 14",
        "SubSource": "sample string 15",
        "SiteCode": "sample string 16",
        "HoldOrCancel": true,
        "DespatchByDate": "2023-01-10T13:49:54.541253+00:00",
        "ScheduledDelivery": {
          "From": "2023-01-10T13:49:54.541253+00:00",
          "To": "2023-01-10T13:49:54.541253+00:00"
        },
        "HasScheduledDelivery": true,
        "Location": "af07003d-33c0-4e5a-ad0f-8052e093133e",
        "NumItems": 20,
        "PickwaveIds": [
          1
        ],
        "StockAllocationType": 0
      },
      "ShippingInfo": {
        "Vendor": "sample string 1",
        "PostalServiceId": "7d49438a-a253-419c-a6e5-c49816dabc96",
        "PostalServiceName": "sample string 3",
        "TotalWeight": 4.0,
        "ItemWeight": 5.0,
        "PackageCategoryId": "103a8e00-919e-414f-b2fd-74cec6feeb2c",
        "PackageCategory": "sample string 7",
        "PackageTypeId": "5ccd4bc7-cfaf-4af9-8c83-07f32ffae8d8",
        "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": "6ea7ab52-b1b8-4cea-bc0e-d0f67c1f6fa5"
        },
        "BillingAddress": {
        }
      },
      "TotalsInfo": {
        "Subtotal": 2.1,
        "PostageCost": 3.1,
        "PostageCostExTax": 4.1,
        "Tax": 5.1,
        "TotalCharge": 6.1,
        "PaymentMethod": "sample string 7",
        "PaymentMethodId": "c8f788b3-a179-4e56-bc63-107a7e5625e9",
        "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": "6dd2c35b-0a1a-4d45-9cfa-e98be33bdc23",
          "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": "a15067af-b25f-4b08-864f-904c4c2ed54e",
            "Rowid": "8b1fc1bf-70a0-48dd-874b-d2b984908692",
            "pkPurchaseId": "2c07d964-284f-4f34-88bc-9655ad6dfcd1",
            "ExternalInvoiceNumber": "sample string 4",
            "fkSupplierId": "c67a875e-a672-4d6e-8f1c-f843f1533b65",
            "DateOfDelivery": "2023-01-10T13:49:54.541253+00:00",
            "QuotedDeliveryDate": "2023-01-10T13:49:54.541253+00:00",
            "SupplierName": "sample string 8",
            "fkLocationId": "9181cedc-660b-4085-8e7e-4ac835eb7eb7"
          },
          "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": "c94531c3-5d55-4129-9024-c81107aa16fd",
          "AdditionalInfo": [
            {
              "pkOptionId": "ba6b7d8e-0840-4b6a-9f7c-25ac98d9ef8f",
              "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": "66d6e845-4e41-45bc-8dcb-9d7099e9f8d9",
              "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": "bd8f4fff-52ea-4c79-8a7b-53b81be80473",
              "LogicalDelete": true
            }
          ],
          "RowId": "f5f536ca-1916-4bc5-828c-26e7b4a2e72a",
          "OrderId": "4d3c4ae6-f3b0-4981-9c73-6d7546305b3a",
          "StockItemId": "1e785fcb-ed5b-475d-89c4-73909684e396"
        }
      ],
      "HasItems": true,
      "TotalItemsSum": 0,
      "OrderId": "fc65d7ef-662a-471e-8dbd-d53c2835d2d5"
    }
  ]
}